Fields when send to the api inside a request.
Field | Type | Description |
---|---|---|
name | [Language: String] | Name of the option |
price_change | Int | Price change in cents. Positive for price increase, negative for discounts. |
order | Int | The options of a option set are sorted on the order property (descending). If you specify the same order for multiple option sets, the id of the option set is used. Setting the same order for all option sets is discouraged. |
Fields when returned by the api in a response.
Field | Type | Description |
---|---|---|
name | [Language: String] | Name of the option |
price_change | Int | Price change in cents. Positive for price increase, negative for discounts. |
id | Int | ID of this option |
order | Int | The options of a option set are sorted on the order property (descending). If you specify the same order for multiple option sets, the id of the option set is used. Setting the same order for all option sets is discouraged. |
When used inside a request.
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"price_change": 11,
"order": 18
}
When returned in a response.
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"price_change": 19,
"id": 11,
"order": 14
}