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