How to create a custom property on gift-item type with max length of 1000 char?
Summary:
I am trying to create a new custom property on purchase list (Wishlist) item-type (gift-item) using rest point. I want this custom field to have length 1000 or 2000.
Content (required):
I am trying to create a new custom property on purchase list (Wishlist) item-type (gift-item) using rest point. I want this custom field to have length 1000 or 2000. I am using following REST endpoint:
Method: Put
{{host}}/ccadmin/v1/itemTypes/gift-item?allowNonUnderscoreNames=true
Payload:
{
"id": "gift-item",
"specifications": [
{
"id": "msiConfigurations",
"label": "MSI test field length",
"type": "richText",
"uiEditorType": "richText",
"internalOnly": false,
"required": false,
"default": null,
"length": 1000
}
]
}
However, the above endpoint creates a field with length of 4000000.