This is an array that describes more details about the items that will be sent in the shipment and that you want to get rates for.
Each item in this array is an object in the following format (all the dimensions are in cmand the weight in grams)
For domestic and EU shipments the value parameter is optional.
{"weight":1000,
"height":20,
"width":20,
"length":20,
"value":20,
"notes":"nike air max"}
address_from
object
This object describes where the pickup of the item will happen. This is the starting point (point A) of the shipment.
This object requires the following details:
{"country": "GR","zip": "14451"}
OR
{"country": "AE","city": "Dubai"}
In cases where zip is available, zip is required. If country doesn't support zip code or postal code, then the city parameter is required.
Here's a list that we adhere to for zip rules per country:
https://cfg.weship.gr/countries-postal-rules.json
In the country parameter we accept the ALPHA-2 code format. You can find more here:
https://www.iban.com/country-codes)
address_to
object
The same format as the address_from in order to define the destination of the shipment (point B)