Fields when send to the api inside a request.
Field | Type | Description |
---|---|---|
name | [Language: String] | Name of the option set |
allow_attachment | Bool | Allow the attachment of a picture to this option set |
options | [company.Option] | Array of company.Option |
code | String? | Optional. Nullable. Your own ID or key that you can associate with an option set |
Fields when returned by the api in a response.
Field | Type | Description |
---|---|---|
name | [Language: String] | Name of the option set |
allow_attachment | Bool | Allow the attachment of a picture to this option set |
options | [company.Option] | Array of company.Option |
id | Int | Id of the option set |
code | String? | Nullable. Your own ID or key that you can associate with an option set |
When used inside a request.
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"allow_attachment": true,
"options": [
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"price_change": 16,
"order": 10,
"price_calculation": "PER_PIECE",
"code": "..."
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"price_change": 17,
"order": 10,
"price_calculation": "PER_PIECE",
"code": "..."
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"price_change": 17,
"order": 10,
"price_calculation": "PER_PIECE",
"code": "..."
}
],
"code": "..."
}
When returned in a response.
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"allow_attachment": false,
"options": [
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"price_change": 17,
"id": 17,
"code": "...",
"order": 19,
"price_calculation": "PER_PIECE"
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"price_change": 15,
"id": 17,
"code": "...",
"order": 12,
"price_calculation": "PER_PIECE"
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"price_change": 19,
"id": 10,
"code": "...",
"order": 13,
"price_calculation": "PER_PIECE"
}
],
"id": 13,
"code": "..."
}