Webhooks
Create or Update Webhook
Create webhook for store. Or if webhook already exists with externalId, update it. Requires the webhooks_write scope.
post/stores/{storeId}/webhooks
Request
- Base URLhttps://api.getredo.com/v2.2
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"webhook": {
"callback": {
"auth": {
"bearer": {
"token": "abc123"
}
},
"url": "https://subscriber.example.org/events"
}
}
}Response
Updated
Example response
{
"webhook": {
"callback": {
"auth": {
"bearer": {
"token": "abc123"
}
},
"url": "https://subscriber.example.org/events"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.