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/203/vat-changes HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer 1e09e2dc957fb8e353d0051b80c11da8cad3646738c0458b50f761cd15bcf3db6a384c9d3f9fd64f895ccc32c0fb14c6c53088175f7c8e081c136ece4fa5d3455cf0b9a382891ef5d765ff7cad14032865717a854c792753b7a093da6afb2f5d2acc88be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 2 Retrieve next page

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

Example request 3 Retrieve next page with limit

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

Example request 4 Retrieve all descending

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

Example request 5 Retrieve next descending

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

Example request 6 Retrieve next descending with limit

GET /company/companies/203/vat-changes?sort=descending&before_id=102&limit=3 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer 1e09e2dc957fb8e353d0051b80c11da8cad3646738c0458b50f761cd15bcf3db6a384c9d3f9fd64f895ccc32c0fb14c6c53088175f7c8e081c136ece4fa5d3455cf0b9a382891ef5d765ff7cad14032865717a854c792753b7a093da6afb2f5d2acc88be
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/203/vat-changes?product_price_id=344 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer 1e09e2dc957fb8e353d0051b80c11da8cad3646738c0458b50f761cd15bcf3db6a384c9d3f9fd64f895ccc32c0fb14c6c53088175f7c8e081c136ece4fa5d3455cf0b9a382891ef5d765ff7cad14032865717a854c792753b7a093da6afb2f5d2acc88be
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/203/vat-changes?product_option_id=1943 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer 1e09e2dc957fb8e353d0051b80c11da8cad3646738c0458b50f761cd15bcf3db6a384c9d3f9fd64f895ccc32c0fb14c6c53088175f7c8e081c136ece4fa5d3455cf0b9a382891ef5d765ff7cad14032865717a854c792753b7a093da6afb2f5d2acc88be
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5

Example request 9 Return all for one product

GET /company/companies/203/vat-changes?product_id=565 HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer 1e09e2dc957fb8e353d0051b80c11da8cad3646738c0458b50f761cd15bcf3db6a384c9d3f9fd64f895ccc32c0fb14c6c53088175f7c8e081c136ece4fa5d3455cf0b9a382891ef5d765ff7cad14032865717a854c792753b7a093da6afb2f5d2acc88be
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/203/vat-changes?product_id=565&sort=descending HTTP/1.1
Host: api.bakeronline.be
Authorization: Bearer 1e09e2dc957fb8e353d0051b80c11da8cad3646738c0458b50f761cd15bcf3db6a384c9d3f9fd64f895ccc32c0fb14c6c53088175f7c8e081c136ece4fa5d3455cf0b9a382891ef5d765ff7cad14032865717a854c792753b7a093da6afb2f5d2acc88be
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: 12344

{
    "results": [
        {
            "id": 82,
            "product_id": 565,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": "2019-08-01"
        },
        {
            "id": 83,
            "product_id": 565,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 84,
            "product_id": 566,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 85,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 86,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 87,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 88,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 89,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 90,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 91,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 92,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 93,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 94,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 95,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 96,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 97,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 98,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 99,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 100,
            "product_id": null,
            "product_price_id": 344,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 101,
            "product_id": null,
            "product_price_id": 344,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 102,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 1943,
            "percentage": 3,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 103,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 1943,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 104,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 105,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 106,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 107,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 108,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 109,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 110,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 111,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 112,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 113,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 114,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 115,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 116,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 117,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 118,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 119,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 120,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 121,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 122,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 123,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 124,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 1947,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 125,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 1947,
            "percentage": 33,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 126,
            "product_id": null,
            "product_price_id": 345,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 127,
            "product_id": null,
            "product_price_id": 345,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 128,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 1952,
            "percentage": 5.5,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 129,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 1952,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 130,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 131,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        }
    ],
    "next": {
        "after_id": 131
    }
}

Example response 2 Retrieve next page

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

{
    "results": [
        {
            "id": 132,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 133,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 134,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 135,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 136,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 137,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 138,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 139,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 140,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 141,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 142,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 143,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 144,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 145,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 146,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 147,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 148,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 149,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 150,
            "product_id": null,
            "product_price_id": 346,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 151,
            "product_id": null,
            "product_price_id": 346,
            "product_option_id": null,
            "percentage": 5.5,
            "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: 827

{
    "results": [
        {
            "id": 132,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 133,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 134,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "takeout",
            "start_date": null
        }
    ],
    "next": {
        "after_id": 134,
        "limit": 3
    }
}

Example response 4 Retrieve all descending

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

{
    "results": [
        {
            "id": 151,
            "product_id": null,
            "product_price_id": 346,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 150,
            "product_id": null,
            "product_price_id": 346,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 149,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 148,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 147,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 146,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 145,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 144,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 143,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 142,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 141,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 140,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 139,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 138,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 137,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 136,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 135,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 134,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 133,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 132,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 131,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 130,
            "product_id": 569,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 129,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 1952,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 128,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 1952,
            "percentage": 5.5,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 127,
            "product_id": null,
            "product_price_id": 345,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 126,
            "product_id": null,
            "product_price_id": 345,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 125,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 1947,
            "percentage": 33,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 124,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 1947,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 123,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 122,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 121,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 120,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 119,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 118,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 117,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 116,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 115,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 114,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 113,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 112,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 111,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 110,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 109,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 108,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 107,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 106,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 105,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 104,
            "product_id": 568,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 103,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 1943,
            "percentage": 5.5,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 102,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 1943,
            "percentage": 3,
            "method": "delivery",
            "start_date": null
        }
    ],
    "next": {
        "before_id": 102,
        "sort": "descending"
    }
}

Example response 5 Retrieve next descending

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

{
    "results": [
        {
            "id": 101,
            "product_id": null,
            "product_price_id": 344,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 100,
            "product_id": null,
            "product_price_id": 344,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 99,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 98,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 97,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 96,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 95,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 94,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 93,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 92,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 33,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 91,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 90,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 89,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 88,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "takeout",
            "start_date": null
        },
        {
            "id": 87,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 86,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 8.55,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 85,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 6,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 84,
            "product_id": 566,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 83,
            "product_id": 565,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 82,
            "product_id": 565,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "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: 850

{
    "results": [
        {
            "id": 101,
            "product_id": null,
            "product_price_id": 344,
            "product_option_id": null,
            "percentage": 33,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 100,
            "product_id": null,
            "product_price_id": 344,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 99,
            "product_id": 567,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 21,
            "method": "eatin",
            "start_date": null
        }
    ],
    "next": {
        "before_id": 99,
        "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: 530

{
    "results": [
        {
            "id": 100,
            "product_id": null,
            "product_price_id": 344,
            "product_option_id": null,
            "percentage": 3,
            "method": "eatin",
            "start_date": null
        },
        {
            "id": 101,
            "product_id": null,
            "product_price_id": 344,
            "product_option_id": null,
            "percentage": 33,
            "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: 536

{
    "results": [
        {
            "id": 102,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 1943,
            "percentage": 3,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 103,
            "product_id": null,
            "product_price_id": null,
            "product_option_id": 1943,
            "percentage": 5.5,
            "method": "eatin",
            "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": 82,
            "product_id": 565,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": "2019-08-01"
        },
        {
            "id": 83,
            "product_id": 565,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "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": 83,
            "product_id": 565,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": null
        },
        {
            "id": 82,
            "product_id": 565,
            "product_price_id": null,
            "product_option_id": null,
            "percentage": 5.5,
            "method": "delivery",
            "start_date": "2019-08-01"
        }
    ],
    "next": null
}
1.5.0 stable