List customs tariffs

Get list of customs tariffs

Query Parameters
  • filter[code]
    Type: string
  • fields_customsTariff
    Type: array string[] enum
    values
    • code
    • description
  • page[limit]
    Type: integer
    min:  
    1
    max:  
    250

    Integer numbers.

  • page[token]
    Type: string
  • page[offset]
    Type: integer

    Integer numbers.

Responses
  • application/vnd.api+json
  • application/vnd.api+json
  • application/vnd.api+json
Request Example for get/pdm/customs-tariffs
curl https://demo.spysystem.dk/api/v2/pdm/customs-tariffs \
  --header 'X-Spy-Authorization: YOUR_SECRET_TOKEN'
{
  "meta": {
    "pageToken": "abc"
  },
  "links": {
    "first": "https://demo.spysystem.dk/api/v2/pdm/customs-tariffs?page[token]=abc&page[offset]=0",
    "last": "https://demo.spysystem.dk/api/v2/pdm/customs-tariffs?page[token]=abc&page[offset]=10",
    "prev": null,
    "next": "https://demo.spysystem.dk/api/v2/pdm/customs-tariffs?page[token]=abc&page[offset]=1"
  },
  "data": [
    {
      "type": "customsTariff",
      "id": "1",
      "attributes": {
        "code": "12345678",
        "description": "Some customs tariff description"
      }
    }
  ]
}