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