company.ProductPrice

Request

Fields when send to the api inside a request.

Field Type Description
name [Language: String] Name of the product price (translated)
price UInt Price of this product price (cents)
order Int The product prices of a product are sorted on the order property (descending). If you specify the same order for multiple product prices, the id of the product price is used. Setting the same order for all product prices is discouraged.
price_look_up_code String? Optional. Nullable. A String value
code String? Optional. Nullable. A custom code. You can set this to your own code and use this field to map your prices to Bakeronline prices

Response

Fields when returned by the api in a response.

Field Type Description
name [Language: String] Name of the product price (translated)
price UInt Price of this product price (cents)
id Int Id of the product price
order Int The product prices of a product are sorted on the order property (descending). If you specify the same order for multiple product prices, the id of the product price is used. Setting the same order for all product prices is discouraged.
price_look_up_code String? Optional. Nullable. A String value
code String? Optional. Nullable. A custom code. You can set this to your own code and use this field to map your prices to Bakeronline prices

Examples

Request

When used inside a request.

Example 1

{
    "id": 477,
    "name": {
        "nl": "Extra small"
    },
    "price": 7633,
    "order": 3,
    "price_look_up_code": 1630,
    "code": 6884
}

Example 2

{
    "id": 478,
    "name": {
        "nl": "Large"
    },
    "price": 2227,
    "order": 4,
    "price_look_up_code": 3079,
    "code": 1385
}

Response

When returned in a response.

Example 1

{
    "id": 482,
    "name": {
        "nl": "6 persons"
    },
    "price": 307,
    "order": 4,
    "price_look_up_code": 4046,
    "code": 7492
}

Example 2

{
    "id": 483,
    "name": {
        "nl": "6 persons"
    },
    "price": 4678,
    "order": 5,
    "price_look_up_code": 1069,
    "code": 6068
}
1.5.0 stable