Environments
The SpediFux API can be used in two environments: staging and production. The staging environment is for testing purposes and orders will not be executed, while orders in the production environment will be executed and billed.
Authentication
Like most modern APIs, the SpediFux API requires you to provide an API key in your request header.
You can retrieve an API key for the production environment on your SpediFux "Account" page. To get access to the staging environment please contact SpediFux customer support.
The API key must be passed as value for the X-API-KEY
field in the request header:
curl --request POST \
--url https://api.spedifux.ch/v1/quotes \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: YourKeyHere'
If you have any questions regarding the SpediFux API, feel free to contact SpediFux customer support.
Units & formatting
Unit | Formatting |
---|---|
Dates & Times | ISO 8601 string |
Monetary Values | Rappen (1 CHF = 100 Rappen) |
Heights, Lengths & Widths | cm |
Weights | kg |