order.created
Anytime a new e-commerce order record is created and added to an end user's record, the order.created
event is triggered confirming that the new order has been created/added to their account.
{
"type": "order.created",
"id": "evt_mVBRIZpQu13CGCa52ODoP5ep",
"created": 1678351490,
"triggered_from": "open_api",
"data": {
"object": {
"object": "order",
"id": 309,
"address": {
"object": "address",
"id": 200,
"city": "Magna laboriosam ap",
"company": "Jennings and Patel Inc",
"country": "CA",
"country_name": "Canada",
"created_at": "2023-03-02T17:19:52.000000Z",
"department": "Placeat deserunt ac",
"first_name": "Ima",
"is_default": true,
"last_name": "Wilkerson",
"line1": "551 Fabien Court",
"line2": "Est id ut accusantiu",
"postal_code": "Incididunt quis cons",
"salutation": null,
"site_ids": [
1
],
"state": "QC",
"state_name": "Quebec",
"title": "Eos nostrud ut do e",
"type": "shipping",
"updated_at": "2023-03-02T17:19:52.000000Z"
},
"amount": 1000,
"charge": null,
"coupon": null,
"created_at": "2023-03-09T08:44:39.000000Z",
"currency": "cad",
"customer": {
"object": "customer",
"id": 1420,
"balance": 0,
"created": "2023-03-02T17:14:57.000000Z",
"currency": "cad",
"default_source": {
"object": "source",
"id": 132,
"object_id": "card_1MhFmWEBkl6mIQi7toX3uY9z",
"object_gateway": "stripe",
"address_line1_check": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"cvc_check": null,
"dynamic_last4": null,
"exp_month": 3,
"exp_year": 2024,
"funding": "credit",
"last4": "4242",
"name": null,
"tokenization_method": null,
"site_ids": [
1
]
},
"delinquent": false,
"display_name": null,
"email": "ahmed+4455566@pelcro.com",
"email_confirm": null,
"email_hardbounce": false,
"first_name": "A",
"has_password": 1,
"language": "en",
"last_login_method": null,
"last_name": "W",
"metadata": null,
"object_id": "cus_NSA2OllT0ZOXds",
"organization": null,
"password_last_updated_at": null,
"phone": null,
"phone_confirm": null,
"salutation": null,
"site_ids": [
1
],
"title": null,
"username": null
},
"items": [
{
"id": 294,
"index": 0,
"order_id": 309,
"product_sku_id": 1,
"amount": 1000,
"quantity": 1,
"type": "sku",
"created_at": "2023-03-09T08:44:39.000000Z",
"updated_at": "2023-03-09T08:44:39.000000Z",
"deleted_at": null,
"product_sku": {
"id": 1,
"name": "SKU - cad",
"product_id": 8,
"entitlements": null,
"metadata": null
}
}
],
"metadata": null,
"site_id": 1,
"status": "paid"
}
}
}
Updated almost 2 years ago
Did this page help you?