π¨βπ¬Test AfterSell Webhook
To check if your url is working and recieve a test event you may call following endpoint
Authorization: Bearer β’β’β’
POST https://api.mel.store/api/mel-store/store-settings/test-sell-webhook
Example of CURL
curl --location --request POST 'https://api.mel.store/api/mel-store/store-settings/test-sell-webhook' \
--header 'Authorization: Bearer β’β’β’β’β’β’' \
--data ''If you webhook returns 200 code then you recieve 1 and status code 200
On your webhook url you can recieve a test event with following structure and Webhook-key header
{
"headers": {
"Content-Type": [
"application/json"
],
"Webhook-Key": [
"ua1TnsjqKADeDX2zxvp1aaDTOooXAulL9MK2sLZCT1jLRjB3YazlXFf6VajEQWtE"
],
},
"content_length": 465,
"body": "see below",
"method": "POST",
}Body
To get full explanation of fileds please reffer to After Sell Webhook section
Last updated