Skip to main content
POST
/
admin
/
webhooks
/
{id}
/
test
Webhook 테스트 전송
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
}

Authorizations

Authorization
string
header
required

API Key. 예: sk_live_xxxxx 또는 pk_live_xxxxx

Path Parameters

id
string
required

리소스 ID

Body

application/json
event_type
string
required

테스트할 이벤트 타입. 예: order.created

Response

200 - application/json

Success

success
boolean
status_code
integer

대상 서버 응답 코드

response_time_ms
integer