{ "id": 123, "email": "test@example.com" "phone": "+38641123456", "shipping_address_id": 12, "shipping_address": { "id": 123, "name": "Janez Novak", "company": "Firma d.o.o.", "street_addr_1": "Ulica bratov Novak 12", "street_addr_2": "4. nadstropje", "postal_code": "1215", "city": "Medvode", "state_code": "CA", "country_code": "SI", "tax_code": "SI21341515", "phone": "+386 41 123 456", "deleted": true / false }, "date_created": "2023-05-04T12:34:56.789Z", "items": [ { "item_id": 213, "container_item_id": 15, "quantity": 10, "customization": { "values": { "key1": { "type": "text" / "choices", "value": [ "abc" ] }, ... }, "configuration": { // see item } }, "price_unconfigured": { complex_price }, "price_single": { complex_price }, "price_total": { complex_price }, "tax_class_id": 12 }, ... ], "payment": { "type": "unhandled" / "megapos" / "paypal_wp_standard" / "banka_koper", "name": { "__": ... }, "payment_id": 123, "cost": { complex_price } }, "items_total": { complex_price }, "grand_total": { complex_price } } complex price: { "value": 108.45, "currency": "EUR", "base": 100.5, "base_with_discounts": 90.45, "base_with_taxes": 120.6, "discounts_applied": [ { "discount_id": 12, "discount_name": "Promo: Get 10%", "coupon_code": "PROMO10", "base": 100.5, "rate": 0.1, "amount": 10.05 }, ... ], "taxes_applied": [ { "tax_rate_id": 1, "base": 90.45, "rate": 0.2, "amount": 18.09 }, ... ] }