Tariff
Tariff codes for customs and import/export classification.
Path Parameter:
:AUTOKEY (integer) — internal ID, not a codeEndpoints
GET
/tariffList tariffs with pagination and filters
GET
/tariff/:AUTOKEYGet a single tariff by autokey
POST
/tariffCreate a new tariff
PUT
/tariff/:AUTOKEYUpdate a tariff by autokey
DELETE
/tariff/:AUTOKEYDelete a tariff by autokey
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
| autokey | integer | No | Internal auto-numbered ID used in the URL path. |
| code | string | Yes | Tariff code. Proven: "TRF-01". |
| description | string | Yes | Description. Proven: "Standard Tariff". |
| isdefault | boolean | No | Default flag. |
| isactive | boolean | No | Active flag. |
| rowver | integer | No | Concurrency counter, read-only. |
Examples
POST — Create Tariff
POST /tariff
{
"code": "TRF-01",
"description": "Standard Tariff"
}GET — List Tariffs
GET /tariff?offset=0