curl --request PATCH \
--url https://api.headlesscommerce.io/v1/admin/webhooks/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"events": [
"<string>"
],
"is_active": true
}
'{
"id": "<string>",
"url": "<string>",
"events": [
"<string>"
],
"is_active": true,
"secret": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}curl --request PATCH \
--url https://api.headlesscommerce.io/v1/admin/webhooks/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "<string>",
"events": [
"<string>"
],
"is_active": true
}
'{
"id": "<string>",
"url": "<string>",
"events": [
"<string>"
],
"is_active": true,
"secret": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}API Key. 예: sk_live_xxxxx 또는 pk_live_xxxxx
리소스 ID