Slide 25
Slide 25 text
Order
{
"id": 123,
"customer": {
"id": 45,
"name": "Andreas Braun",
"shippingAddress": {
"address": "",
"postCode": "",
"city": "",
"country": "Germany"
},
"billingAddress": {
"address": "",
"postCode": "",
"city": "",
"country": "Germany"
}
},
"state": "new",
"items": [
{
"variant": 1381,
"price": 1499,
"quantity": 2,
"units": [
{ "id": "1381-1", "shipped": true },
{ "id": "1381-2", "shipped": true }
]
}
],
"items_total": 2998,
"payments": [
{
"amount": 2998,
"state": "completed",
"payment_method": {
"type": "credit_card",
"details": {
"cardHolder": "Andreas Braun",
"creditCard": "xxxxxxxxxxxx1234",
"expiration": "09/24",
"gateway": "easy-payment-service",
"identifier": "afae87a0"
}
},
"billingAddress": {
"address": "",
"postCode": "",
"city": "",
"country": "Germany"
}
}
],
"shipments": [
{
"units": ["1381-1", "1381-2"],
"state": "registered",
"shipment_method": {
"type": "dhl",
"trackingNumber": "12345678a"
},
"shippingAddress": {
"address": "",
"postCode": "",
"city": "",
"country": "Germany"
},
"history": [
{
"date": "2019-11-21T14:23:04+01:00",
"state": "registered"
}
]
}
]
}