Get information about one product price

GET /company/prices/@id

Request

Authentication

This endpoint requires authentication.

Header Value
Authorization Set the value to Bearer + + access_token

URL parameters

Replace the @ keywords in the URL with their corresponding value.

A dictionary with fields

Field Type Description
id Int The ID of the product price you want to return

Example request 1 Retrieve prices

GET /company/prices/250 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer f8b4bded10947b6ab7bd4178235e9408e1b7663cdfd11730e44db3ec44e43bb2d2874109694e224053b69e319cef13c8d233465a5a66c0ae31a37f028649a67adc2dafa4daa03b83f10d65d6446e787d354fd95f51ddf0d78e97864883f064e8a73a4d73
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

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

Example response 1 Retrieve prices

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 149

{
    "id": 250,
    "name": {
        "nl": "Medium"
    },
    "price": 3068,
    "order": 2,
    "price_look_up_code": "928",
    "code": "1371"
}
1.5.0 stable