Return all the VAT changes in a company

GET /company/companies/@id/vat-changes

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 Return the VAT changes of the given company

Query string (URL)

Append the querystring with following properties to the URL.

A dictionary with fields

Field Type Description
product_id Int Optional. Only return VAT changes for the given product
product_price_id Int Optional. Only return VAT changes for the given product price
product_option_id Int Optional. Only return VAT changes for the given product option
before_id Int Optional. Only return VAT changes created before (not including) the change with the given id. Used for pagination.
after_id Int Optional. Only return VAT changes created after (not including) the change with the given id. Used for pagination.
sort String Optional. Sort the results in ascending (default) or descending ordered by id. Default is ascending.
limit Int Optional. Limit the amount of VAT changes returned per page. Defaults to 50. Maximum value is 1000.

Example request 1 Retrieve all

GET /company/companies/3040/vat-changes HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer b73563a41900bc28f00785b8c740753300a42be99385dfcb831af93fd08cb91d03a44b5c0cddd6a4b566fa62ab20cfb8080284f2c7882b166835c3ca065976b25fe24f9a999b43f5977f39ce1f759e0a826d985d8d5f24e89aff8f308cb72c8046c19f52
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 2 Retrieve next page

GET /company/companies/3040/vat-changes?after_id=1600 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer b73563a41900bc28f00785b8c740753300a42be99385dfcb831af93fd08cb91d03a44b5c0cddd6a4b566fa62ab20cfb8080284f2c7882b166835c3ca065976b25fe24f9a999b43f5977f39ce1f759e0a826d985d8d5f24e89aff8f308cb72c8046c19f52
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 3 Retrieve next page with limit

GET /company/companies/3040/vat-changes?after_id=1600&limit=3 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer b73563a41900bc28f00785b8c740753300a42be99385dfcb831af93fd08cb91d03a44b5c0cddd6a4b566fa62ab20cfb8080284f2c7882b166835c3ca065976b25fe24f9a999b43f5977f39ce1f759e0a826d985d8d5f24e89aff8f308cb72c8046c19f52
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 4 Retrieve all descending

GET /company/companies/3040/vat-changes?sort=descending HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer b73563a41900bc28f00785b8c740753300a42be99385dfcb831af93fd08cb91d03a44b5c0cddd6a4b566fa62ab20cfb8080284f2c7882b166835c3ca065976b25fe24f9a999b43f5977f39ce1f759e0a826d985d8d5f24e89aff8f308cb72c8046c19f52
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 5 Retrieve next descending

GET /company/companies/3040/vat-changes?sort=descending&before_id=1571 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer b73563a41900bc28f00785b8c740753300a42be99385dfcb831af93fd08cb91d03a44b5c0cddd6a4b566fa62ab20cfb8080284f2c7882b166835c3ca065976b25fe24f9a999b43f5977f39ce1f759e0a826d985d8d5f24e89aff8f308cb72c8046c19f52
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 6 Retrieve next descending with limit

GET /company/companies/3040/vat-changes?sort=descending&before_id=1571&limit=3 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer b73563a41900bc28f00785b8c740753300a42be99385dfcb831af93fd08cb91d03a44b5c0cddd6a4b566fa62ab20cfb8080284f2c7882b166835c3ca065976b25fe24f9a999b43f5977f39ce1f759e0a826d985d8d5f24e89aff8f308cb72c8046c19f52
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 7 Return all for one product price

GET /company/companies/3040/vat-changes?product_price_id=5067 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer b73563a41900bc28f00785b8c740753300a42be99385dfcb831af93fd08cb91d03a44b5c0cddd6a4b566fa62ab20cfb8080284f2c7882b166835c3ca065976b25fe24f9a999b43f5977f39ce1f759e0a826d985d8d5f24e89aff8f308cb72c8046c19f52
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 8 Return all for one product option

GET /company/companies/3040/vat-changes?product_option_id=30159 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer b73563a41900bc28f00785b8c740753300a42be99385dfcb831af93fd08cb91d03a44b5c0cddd6a4b566fa62ab20cfb8080284f2c7882b166835c3ca065976b25fe24f9a999b43f5977f39ce1f759e0a826d985d8d5f24e89aff8f308cb72c8046c19f52
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 9 Return all for one product

GET /company/companies/3040/vat-changes?product_id=7296 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer b73563a41900bc28f00785b8c740753300a42be99385dfcb831af93fd08cb91d03a44b5c0cddd6a4b566fa62ab20cfb8080284f2c7882b166835c3ca065976b25fe24f9a999b43f5977f39ce1f759e0a826d985d8d5f24e89aff8f308cb72c8046c19f52
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 10 Return all for one product, descending

GET /company/companies/3040/vat-changes?product_id=7296&sort=descending HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer b73563a41900bc28f00785b8c740753300a42be99385dfcb831af93fd08cb91d03a44b5c0cddd6a4b566fa62ab20cfb8080284f2c7882b166835c3ca065976b25fe24f9a999b43f5977f39ce1f759e0a826d985d8d5f24e89aff8f308cb72c8046c19f52
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Response

Field Type Description
results [company.VATChange] Array of company.VATChange
next Dictionary? Nullable. The query parameters you need to request the following results. Is null when there are no results left

Example response 1 Retrieve all

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

{
    "results": [
        {
            "id": 1551,
            "product_id": 7296,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": "2019-08-01"
        },
        {
            "id": 1552,
            "product_id": 7296,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1553,
            "product_id": 7298,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1554,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1555,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1556,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1557,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1558,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1559,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1560,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1561,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1562,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1563,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1564,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1565,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1566,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1567,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1568,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1569,
            "product_id": null,
            "product_price_id": 5067,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1570,
            "product_id": null,
            "product_price_id": 5067,
            "product_option_id": null,
            "percentage": 6,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1571,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 30159,
            "percentage": 6,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1572,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 30159,
            "percentage": 6,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1573,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1574,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1575,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1576,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1577,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1578,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1579,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1580,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1581,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1582,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1583,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1584,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1585,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1586,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1587,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1588,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1589,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1590,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1591,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1592,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1593,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 30162,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1594,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 30162,
            "percentage": 21,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1595,
            "product_id": null,
            "product_price_id": 5069,
            "product_option_id": null,
            "percentage": 6,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1596,
            "product_id": null,
            "product_price_id": 5069,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1597,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 30172,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1598,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 30172,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1599,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1600,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        }
    ],
    "next": {
        "after_id": 1600
    }
}

Example response 2 Retrieve next page

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

{
    "results": [
        {
            "id": 1601,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1602,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1603,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1604,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1605,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1606,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1607,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1608,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1609,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1610,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1611,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1612,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1613,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1614,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1615,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1616,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1617,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1618,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1619,
            "product_id": null,
            "product_price_id": 5070,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1620,
            "product_id": null,
            "product_price_id": 5070,
            "product_option_id": null,
            "percentage": 21,
            "method": "eatin",
            "start_date": null
        }
    ],
    "next": null
}

Example response 3 Retrieve next page with limit

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

{
    "results": [
        {
            "id": 1601,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1602,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1603,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "takeout",
            "start_date": null
        }
    ],
    "next": {
        "after_id": 1603,
        "limit": 3
    }
}

Example response 4 Retrieve all descending

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

{
    "results": [
        {
            "id": 1620,
            "product_id": null,
            "product_price_id": 5070,
            "product_option_id": null,
            "percentage": 21,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1619,
            "product_id": null,
            "product_price_id": 5070,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1618,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1617,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1616,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1615,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1614,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1613,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1612,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1611,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1610,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1609,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1608,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1607,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1606,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1605,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1604,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1603,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1602,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1601,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1600,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1599,
            "product_id": 7303,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1598,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 30172,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1597,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 30172,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1596,
            "product_id": null,
            "product_price_id": 5069,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1595,
            "product_id": null,
            "product_price_id": 5069,
            "product_option_id": null,
            "percentage": 6,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1594,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 30162,
            "percentage": 21,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1593,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 30162,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1592,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1591,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1590,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1589,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1588,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1587,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1586,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1585,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1584,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1583,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1582,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1581,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1580,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1579,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1578,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1577,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1576,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1575,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1574,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1573,
            "product_id": 7301,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1572,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 30159,
            "percentage": 6,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1571,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 30159,
            "percentage": 6,
            "method": "eatin",
            "start_date": null
        }
    ],
    "next": {
        "before_id": 1571,
        "sort": "descending"
    }
}

Example response 5 Retrieve next descending

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

{
    "results": [
        {
            "id": 1570,
            "product_id": null,
            "product_price_id": 5067,
            "product_option_id": null,
            "percentage": 6,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1569,
            "product_id": null,
            "product_price_id": 5067,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1568,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1567,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1566,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1565,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1564,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1563,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1562,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1561,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1560,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1559,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1558,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1557,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1556,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1555,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1554,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1553,
            "product_id": 7298,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 1552,
            "product_id": 7296,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1551,
            "product_id": 7296,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": "2019-08-01"
        }
    ],
    "next": null
}

Example response 6 Retrieve next descending with limit

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

{
    "results": [
        {
            "id": 1570,
            "product_id": null,
            "product_price_id": 5067,
            "product_option_id": null,
            "percentage": 6,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1569,
            "product_id": null,
            "product_price_id": 5067,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1568,
            "product_id": 7299,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        }
    ],
    "next": {
        "before_id": 1568,
        "sort": "descending",
        "limit": 3
    }
}

Example response 7 Return all for one product price

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

{
    "results": [
        {
            "id": 1569,
            "product_id": null,
            "product_price_id": 5067,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1570,
            "product_id": null,
            "product_price_id": 5067,
            "product_option_id": null,
            "percentage": 6,
            "method": "eatin",
            "start_date": null
        }
    ],
    "next": null
}

Example response 8 Return all for one product option

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

{
    "results": [
        {
            "id": 1571,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 30159,
            "percentage": 6,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 1572,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 30159,
            "percentage": 6,
            "method": "takeout",
            "start_date": null
        }
    ],
    "next": null
}

Example response 9 Return all for one product

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

{
    "results": [
        {
            "id": 1551,
            "product_id": 7296,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": "2019-08-01"
        },
        {
            "id": 1552,
            "product_id": 7296,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "takeout",
            "start_date": null
        }
    ],
    "next": null
}

Example response 10 Return all for one product, descending

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

{
    "results": [
        {
            "id": 1552,
            "product_id": 7296,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 1551,
            "product_id": 7296,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": "2019-08-01"
        }
    ],
    "next": null
}
Version update available Please adjust your integration to the latest stable version (1.5.2)
1.5.0 stable