...
To repush webhooks for 1 event use this:
copy the following code in texteditor and edit <access_token>
, <EventID>
and <webhook_id>
when finished, open terminal and copy the edited code in terminl, press enter
Below there is the guide on how to get the placeholder for <access_token>
, <EventID>
and <webhook_id>
Code Block |
---|
curl -X POST 'https://rest.doo.net/v1/webhooks/init/orders' \ -H 'Content-Type: application/json' \ -H 'x-api-key: doo-test-key-3306c337-4e00-43de-a63d-44c4fb122ea8' \ -H 'Authorization: Bearer <access_token>' \ -d '{ "event_id": <EventID>, "webhook_configuration_id":"<webhook_id>" }' |
...
Code Block |
---|
curl -X POST 'https://rest.doo.net/v1/webhooks/init/orders' \ -H 'Content-Type: application/json' \ -H 'x-api-key: doo-test-key-3306c337-4e00-43de-a63d-44c4fb122ea8' \ -H 'Authorization: Bearer acd9d531db1e30a8ba66555ed7830e066af1dde3' \ -d '{ "event_id": 8203241231, "webhook_configuration_id":"eaf6e0e9-e116-0bbd-e121-b30716188331" }' |
...