Imports API
Landed cost per unit and shipments through customs.
The same operations are in the interactive API reference, and the whole contract is in the OpenAPI document.
POST/v1/landed-cost
Landed cost
What each line costs per unit with freight, insurance, duty and clearing. A line with no duty rate has an unknown total. Needs miniself:write.
Scope landed-cost:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
GET/v1/shipments
Read shipments
The shipments of the workspace. Needs miniself:read.
Scope shipments:read. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
POST/v1/shipments
Add shipment
Opens a shipment with the documents customs needs. Needs miniself:write.
Scope shipments:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
GET/v1/shipments/{id}
Read shipment
One shipment. Needs miniself:read.
Scope shipments:read. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | The id. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
POST/v1/shipments/{id}/steps
Take a step on a shipment
Marks documents in and moves the shipment through shipping, arrival, customs, a hold, clearance and delivery. Needs miniself:write.
Scope shipments:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | The id. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |