List customs tariffs
Get list of customs tariffs
Query Parameters
- Type: stringfilter[code]
- Type: array string[] enumfields
_customs Tariff values- code
- description
- Type: integerpage[limit]min:1max:250
Integer numbers.
- Type: stringpage[token]
- Type: integerpage[offset]
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"
}
}
]
}
