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 |
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 |
When used inside a request.
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"allow_attachment": true,
"options": [
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"price_change": 18,
"order": 17
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"price_change": 14,
"order": 10
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"price_change": 14,
"order": 13
}
]
}
When returned in a response.
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"allow_attachment": false,
"options": [
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"price_change": 13,
"id": 11,
"order": 10
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"price_change": 13,
"id": 13,
"order": 12
},
{
"name": {
"nl": "...",
"en": "...",
"fr": "..."
},
"price_change": 17,
"id": 10,
"order": 18
}
],
"id": 16
}