Skip to main content

Update Store Delivery

Configure a store's delivery method (OWN, LALAMOVE, etc.) and distance-based delivery cost tiers.

When to Use

Use this endpoint when:

  • Setting up or changing the delivery courier
  • Adjusting delivery price tiers based on distance

How to Use

Endpoint
POST/v3/service

POST function: "update.store.delivery" with storeId, method, and the cost tiers.


Request Parameters

serviceSTRING

alacarte service

Example: "alacarte"

versionSTRING

Currently only support 'v1"

Example: "v1"

functionSTRING

Function that provide by alacarte

Example: "update.store.delivery"

requestOBJECT

Request body

storeIdSTRING

ID of the Store that Create from RM

Example: "2808912573238362402"

methodSTRING

Current delivery service for merchant to select "OWN" , "MRSPEEDY" , "GRABEXPRESS"

Example: "OWN"

costARRAY

Delivery cost tiers

typeSTRING

we have "DYNAMIC" , "FIXED"

Example: "FIXED"

startDistanceInMeterINTEGER

Set a Start Distance (In Meter)

Example: 0

endDistanceInMeterINTEGER

Set a End Distance (In Meter)

Example: 5000

amountINTEGER

Set Distance amount

Example: 0

Response Parameters

closedUntilDATETIME

Set when your store will close

Example: "2020-09-22T05:00:06.741Z"

supportedTypesARRAY

We have 4 type for user to choose

Example: ["DELIVERY", "DINEIN", "DRIVE_THRU", "PICKUP"]

deliveryOBJECT

Delivery settings

methodSTRING

Current delivery service for merchant to select "OWN" , "MRSPEEDY" , "GRABEXPRESS"

Example: "OWN"

costARRAY

Delivery cost tiers

typeSTRING

we have "DYNAMIC" , "FIXED"

Example: "FIXED"

startDistanceInMeterINTEGER

Set a Start Distance (In Meter)

Example: 0

endDistanceInMeterINTEGER

Set a End Distance (In Meter)

Example: 5000

amountINTEGER

Set Distance amount

Example: 0

updatedAtDATETIME

Last update date time

Example: "2020-09-22T04:44:57.950398414Z"