shipment
section:productId
(we do not indicate a specific product)integrationName
appears - the code of the carrier we want to send the shipment with. The codes can be downloaded from the endpoint described here: Get carrier data (EN) e.g. DPD, DHLaddons
section we provide categories of additional services (add-ons) that we are interested in ordering along with the shipment (list: Addon categories (EN))Parameter | Action |
---|---|
onlyPricing = true | The system will return a response with calculated rates and information about assigned allowances (similarly to the endpoint Get order price) |
createFully = true | The system will automatically create the order both in the Globkurier system and forward it to the carrier. Similarly to the endpoint Create order |
Response | Explanation |
---|---|
"fields": {"addons[RETURN_SHIPMENT][id]": "This value is not available"} | No such add-on can be found for the specified parameters. The specified add-on should be deleted |
{"fields": {"collectionType": "No product was found for the specified collection type."}} | No product found for the given shipping type (you need to change either the courier or the shipping type) |
{"fields": {"shipment[integrationName]": "This offer is not available for given carrier."}} | There are no offers for the selected courier, shipping type and delivery type |