cURL
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 }
개발 환경에서 Webhook 연동을 테스트합니다. 지정한 이벤트 타입으로 샘플 페이로드를 전송합니다.
API Key. 예: sk_live_xxxxx 또는 pk_live_xxxxx
리소스 ID
테스트할 이벤트 타입. 예: order.created
Success
대상 서버 응답 코드