Access
Base URL and key
- Base URL:
https://cockpit.wananluxury.com/partner/v1, HTTPS only. - Send the header
X-Api-Key: <key>on every call. - Two kinds of key: test (sandbox, see Sandbox) and live. Keys are delivered through a separate channel, never by plain email. On rotation the old key keeps working for 24 hours.
Limits
- Rate limits per key: 120 read requests and 30 write requests (order creation, AWB uploads, sandbox advance) per minute. Above them the API answers
429with aRetry-Afterheader. - Request body: 256 KB (
413 payload_too_largeabove it). The AWB upload accepts a request of up to 4 MB, with the PDF itself up to 2 MB decoded. GET /v1/account/profilereturns the limits that apply to your key (reads_per_minute,orders_per_minute,lines_per_order);orders_per_minuteis the write limit above (orders, AWB uploads, sandbox advance).
Your configuration: GET /v1/account/profile
Returns how your account is set up:
| Field | Meaning |
|---|---|
environment |
live or sandbox, decided by the key. |
currency |
Currency in which you see prices and amounts. |
extra_fields |
Optional feed fields enabled for you, on top of the base fields (see Catalogue). |
shipping |
{ mode, flat_fee, currency } (see Shipping). |
allowed_countries |
Destination countries we ship to for you. |
limits |
reads_per_minute, orders_per_minute, lines_per_order. |
The test key returns the same configuration as the live key.
Conventions
- All timestamps are ISO 8601 UTC.
- All amounts are JSON numbers with at most two decimals, in the currency returned by the profile.
- Errors are JSON, see Errors.