Skip to content

Generating of signature key

Request

The endpoint call does not require any body. The endpoint always generates a new signature key

for calculating the digest mentioned in the HTTP header of the notification – Shoptet-Webhook-Signature. The same key

is to be used during check after the receipt of notification. For more information see https://developers.shoptet.com/webhooks/#signature

Security
shoptetAccessToken or shoptetPrivateApiToken
Headers
Content-Typestringrequired
Default:"application/json"
curl -i -X POST \
  https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/webhooks/renew-signature-key \
  -H 'Content-Type: application/json' \
  -H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
dataobjectrequired
errorsArray of objects or null(Errors)required
metadataobject(Metadata)required
Response
{ "data": { "signatureKey": "8a5e881b19ad6cc0bc986587b22e30be" }, "errors": [ {} ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }