Voucher order created Webhook
This webhook is triggered when an order is created. The following data will be sent:
{
"id": "96bc02ca-76b3-46f1-9c84-741d9cff362f",
"created_at": "2022-11-28T10:29:30",
"updated_at": "2022-11-28T10:29:30",
"order_number": "G10964",
"status": "completed",
"currency": "CHF",
"language": "de",
"location": "web",
"discount_in_cents": 0,
"grand_total_in_cents": 17900,
"customer": {
"id": "6e791b3b-b452-4561-8225-cae9ea3cb69e",
"title": "Mr",
"first_name": "Test",
"last_name": "User",
"company": "Idea Creation GmbH",
"street": "Walchestrasse 15",
"zip": "8006",
"city": "Zürich",
"country": "CH",
"email": "[email protected]",
"accepts_marketing": true,
"double_opt_in_confirmed_at": "2022-02-25T12:27:41",
"phone": "044 500 54 00"
},
"order_lines": [
{
"product_id": "fc9643a1-c14f-4c18-b540-4348cea9ae75",
"name": "Family Box",
"unit_price_in_cents": 17900,
"quantity": 1,
"total_price_in_cents": 17900
}
],
"payments": [
{
"payment_id": "1",
"name": "Postkarte / Kreditkarte",
"amount_in_cents": 17900,
"is_complimentary": false
}
]
}
Updated about 2 years ago