company.OptionSet.simple

Request

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
code String? Optional. Nullable. Your own ID or key that you can associate with an option set

Response

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
id Int Id of the option set
code String? Nullable. Your own ID or key that you can associate with an option set

Examples

Request

When used inside a request.

Example 1

{
    "id": 134542,
    "name": {
        "nl": "Extra baked?"
    },
    "allow_attachment": false,
    "code": null
}

Example 2

{
    "id": 134543,
    "name": {
        "nl": "Do you want a bag?"
    },
    "allow_attachment": false,
    "code": null
}

Response

When returned in a response.

Example 1

{
    "id": 134544,
    "name": {
        "nl": "Do you want your bread sliced?"
    },
    "allow_attachment": false,
    "code": null
}

Example 2

{
    "id": 134545,
    "name": {
        "nl": "Extra baked?"
    },
    "allow_attachment": false,
    "code": null
}
1.5.0 stable