EVENTS.CUSTOMER.ORDER.CREATED
event indicates that a customer-related order has been created.
When the event is used in an “Order creation” distribution webhook, the data
object always contains the following required objects:
customer
,referrer
,order
,redemption
.
- “Notify customers about promotion” sends also the following objects:
campaign
,promotion_tier
,
- “Send and publish unique codes from campaign” sends also the following objects:
campaign
,voucher
,publication
,
- “Send plain message to customers” sends only the basic objects listed above.
This page documents only the event. If you need more details about the webhook payload data that includes this event, go to Introduction to webhooks page.
Body
application/json
Event data object schema for customer.order.created
.
Simplified customer data.
Simplified customer data.
Order information.
Redemption data used for internal communication
Details about the campaign related to the distribution with a promotion or send voucher purpose.
Details about the voucher related to the distribution with a send voucher purpose.
Details about the publication related to the distribution with a send voucher purpose.
Details about the promotion tier related to the distribution with a promotion purpose.
Response
Webhook accepted