You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to create a custom property on gift-item type with max length of 1000 char?

Received Response
33
Views
1
Comments

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!