Skip to main content

Set Notification

POST/v3/service
  • Using WebHook URL to send a notification to your server

Request Parameters

serviceString

alacarte service

Example: "alacarte"

versionString

Currently only support 'v1"

Example: "v1"

functionString

Function that provide by alacarte

Example: "set.notification.webhook"

requestObject

Refer to explanation below

Example: (Refer to explanation below)

notificationUrlsArrayrequired

Maximum webhook url is 3

Example: ["https://webhook.site/2688336e-7b61-4cd2-b2bb-40592a3e353a"]

storeIdsArray

Merchant can set multi storeIds

Example: ["5eabf31ee0e9cd7b01a3a35e"]

Response Parameters

clientIdString

Client ID

Example: "3416044707690227346"

createdAtDateTime

Creation date time

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

merchantIdString

Merchant ID

Example: "Describe"

notificationUrlsArray

Maximum webhook url is 3

Example: ["https://webhook.site/2688336e-7b61-4cd2-b2bb-40592a3e353a"]

storeIdsArray

When store ID's is null mean will apply to all store

Example: null

updatedAtDateTime

Last update date time

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