Enable Webhook Subscription
POST/api/temu/:integration_instance/webhooks/configurations/:event_code/enable
Subscribe the shop to a single TMC event code via bg.tmc.message.update and persist the local mirror row in temu_webhooks.
Path Parameters:
integration_instance- Integration instance IDevent_code- TMC event code. Either the raw form (e.g.bg.order.created) or the URL-safe triple-dash form (bg---order---created).
Response:
data.successdata.created- true if a new subscription was created, false if it already existed.data.webhook- The localTemuWebhookrow.
Request
Responses
- 200
Successful response