Delivery setup
Update delivery prices
Sets the prices of the regions listed; the others keep theirs. "0.00" is free delivery.
Body
- pricesarray of objectsRequired
up to 100 items · at least 1 item
3 child fields
- regionstringRequired
up to 10 characters
- homestring
An amount as a decimal string in the store's currency, with no more decimals than the currency has ("3500.00" in DZD, "12.500" in TND).
- pickup_pointstring
An amount as a decimal string in the store's currency, with no more decimals than the currency has ("3500.00" in DZD, "12.500" in TND).
Returns
200 OK · Every region, after the change. DeliveryPriceList
- objectstringRequired
always "list"
- has_morebooleanRequired
- next_cursorstring or nullRequired
Pass as
cursorto get the next page.nullon the last page. - countrystring
- dataarray of objectsRequired
4 child fields
- objectstring
always "delivery_price"
- regionobject
2 child fields
- codestring
- namestring or null
- homeMoney
An amount of money.
amountis a decimal STRING with exactly the currency's number of decimals ("1250.00" in DZD, "12.500" in TND) — never parse it into a float.2 child fields
- amountstringRequired
- currencystringRequired
- pickup_pointMoney
An amount of money.
amountis a decimal STRING with exactly the currency's number of decimals ("1250.00" in DZD, "12.500" in TND) — never parse it into a float.2 child fields
- amountstringRequired
- currencystringRequired
Errors
Every error has the same shape. This endpoint can answer with:
