New: Stripe & TossPayments integration guides now available →
curl --request POST \
--url https://api.headlesscommerce.io/v1/admin/webhooks/{id}/test \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"event_type": "<string>"
}
'{
"success": true,
"status_code": 123,
"response_time_ms": 123
}Tests webhook integration in a development environment. Sends a sample payload with the specified event type.
curl --request POST \
--url https://api.headlesscommerce.io/v1/admin/webhooks/{id}/test \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"event_type": "<string>"
}
'{
"success": true,
"status_code": 123,
"response_time_ms": 123
}API Key. Example: sk_live_xxxxx or pk_live_xxxxx
Resource ID
Event type to test. Example: order.created