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