Subscribe to Webhook
POST
/v1/webhooks/subscribeRequest
Header Params
Accept
string
required
Example:
application/json
Body Params application/json
url
string
required
The address will be requested when you successfully register the events
event
enum<string>
required
Events can be one of the following values
Allowed values:
order_notifystock_notifyshipment_notify
name
string
required
Friendly name makes it easy to manage
Example
{
"url": "https://eoppa0n672s2noz.m.pipedream.net",
"event": "order_notify",
"name": "My Webhook"
}
Request samples
Responses
Webhook subcribe(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
status
boolean
required
message
string
required
ExampleWebhook subcribe
{
"status": true,
"message": "Updated webhook url successfully!"
}
Last modified: 4 months ago