Tariff

Tariff codes for customs and import/export classification.

Path Parameter::AUTOKEY (integer) — internal ID, not a code

Endpoints

GET
/tariff

List tariffs with pagination and filters

GET
/tariff/:AUTOKEY

Get a single tariff by autokey

POST
/tariff

Create a new tariff

PUT
/tariff/:AUTOKEY

Update a tariff by autokey

DELETE
/tariff/:AUTOKEY

Delete a tariff by autokey

Fields

FieldTypeRequiredNotes
autokeyintegerNoInternal auto-numbered ID used in the URL path.
codestring
Yes
Tariff code. Proven: "TRF-01".
descriptionstring
Yes
Description. Proven: "Standard Tariff".
isdefaultbooleanNoDefault flag.
isactivebooleanNoActive flag.
rowverintegerNoConcurrency counter, read-only.

Examples

POST — Create Tariff

POST /tariff
{
  "code": "TRF-01",
  "description": "Standard Tariff"
}

GET — List Tariffs

GET /tariff?offset=0