Set Notification
Method : POST
URL: https://open.revenuemonster.my/v3/service
Sandbox URL: https://sb-open.revenuemonster.my/v3/service
note
- Using WebHook URL to send a notification to your server
#
Request ParametersParameter | Type | Description | Example |
---|---|---|---|
service | String | alacarte service | "alacarte" |
version | String | Currently only support 'v1" | "v1" |
function | String | Function that provide by alacarte | "set.notification.webhook" |
request | Object | Refer to explanation below | (Refer to explanation below) |
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
notificationUrls | Array | Yes | Maximum webhook url is 3 | ["https://webhook.site/2688336e-7b61-4cd2-b2bb-40592a3e353a"] |
storeIds | Array | Optional | Merchant can set multi storeIds | ["5eabf31ee0e9cd7b01a3a35e"] |
Example Request
#
Response ParametersParameter | Type | Description | Example |
---|---|---|---|
clientId | String | Client ID | "3416044707690227346" |
createdAt | DateTime | Creation date time | "2020-09-22T04:44:57.950398414Z" |
merchantId | String | Merchant ID | "Describe" |
notificationUrls | Array | Maximum webhook url is 3 | ["https://webhook.site/2688336e-7b61-4cd2-b2bb-40592a3e353a"] |
storeIds | Array | When store ID's is null mean will apply to all store | null |
updatedAt | DateTime | Last update date time | "2020-09-22T04:44:57.950398414Z" |
Example Response