Skip to main content

Update Store Availability

Set a store's availability — including a closedUntil timestamp to temporarily mark the store closed.

When to Use

Use this endpoint when:

  • Closing the store for a holiday, break, or maintenance window
  • Reopening the store ahead of schedule

How to Use

Endpoint
POST/v3/service

POST function: "updates.store.availability" with storeId and closedUntil (ISO 8601).


Request Parameters

serviceSTRING

alacarte service

Example: "alacarte"

versionSTRING

Currently only support 'v1"

Example: "v1"

functionSTRING

Function that provide by alacarte

Example: "updates.store.availability"

requestOBJECT

Request body

storeIdSTRING

ID of the Store that Create from RM

Example: "2808912573238362402"

closedUntilDATETIME

Set when your store will close

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

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"