Simulate Order
Info
|
Similar with an Order request.
Returns the best carrier, according to your allocation settings, price and calculated delivery date.
Response example:
{ "courier": 2, "price": { "amount": 11.34, "vat": 2.15, "totalAmount": 13.49, "currency": "RON" }, "calculatedDeliveryDate": "2022-12-22T22:00:00Z", "extra": {} }
Simulate Multiple Orders
Info
|
Multiple Order requests can be send as bulk, separated by comma. [{},{},{}]
Returns the best carrier, according to your allocation settings, price and calculated delivery date, for each request.
Response example:
{ "1": { "response": { "courier": 2, "price": { "amount": 11.34, "vat": 2.15, "totalAmount": 13.49, "currency": "RON" }, "calculatedDeliveryDate": "2022-12-22T22:00:00Z", "extra": {} } }, "2": { "response": { "courier": 2, "price": { "amount": 11.34, "vat": 2.15, "totalAmount": 13.49, "currency": "RON" }, "calculatedDeliveryDate": "2022-12-22T22:00:00Z", "extra": {} } }, "3": { "response": { "courier": 2, "price": { "amount": 11.34, "vat": 2.15, "totalAmount": 13.49, "currency": "RON" }, "calculatedDeliveryDate": "2022-12-22T22:00:00Z", "extra": {} } } }