Modification of the existing webhook. The id of the webhook serves as the identifier. Using just one call, only one webhook can be modified.
Please note that url cannot be longer than 2000 characters.
Security
shoptetAccessToken or shoptetPrivateApiToken
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/webhooks/{id}
- https://api.myshoptet.comhttps://api.myshoptet.com/api/webhooks/{id}
- shoptetAccessToken
- shoptetPrivateApiToken
curl -i -X PATCH \
https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/webhooks/3 \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE' \
-d '{
"data": {
"url": "https://myapplication.tld/orders-new.php",
"sendPayload": "full"
}
}'Response
{ "data": {}, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }