Skip to main content
POST
Create Custom Attribute (Admin)
POST {BASE_URL}/admin/merchants/{merchantId}/custom-attributes

Body parameters

string
required
Display label shown to customers.
string
required
select or rating (text/number types are disabled).
array
Required for select type — array of option strings.
integer
For rating type: 3, 5, or 7.
boolean
Make field mandatory in the review form.
integer
Position in widget form.

Headers

Authorization
string

Path Parameters

merchantId
string
required

Body

application/json

The body is of type object.

Response

Successful response

success
boolean
required
Example:

true

data
object