Sylius/tests/Responses/Expected/checkout/completed_order_response.json

46 lines
1.2 KiB
JSON

{
"id": @integer@,
"checkout_completed_at": "@string@.isDateTime()",
"number": @string@,
"items": @array@,
"items_total": @integer@,
"adjustments": @array@,
"adjustments_total": @integer@,
"total": @integer@,
"state": "new",
"customer": {
"id": @integer@,
"email": "john@doe.com",
"email_canonical": "john@doe.com",
"gender": "u",
"_links": {
"self": {
"href": "@string@"
}
}
},
"channel": {
"id": @integer@,
"code": "CHANNEL",
"name": "Channel",
"description": "Lorem ipsum",
"hostname": "localhost",
"color": "black",
"created_at": "@string@.isDateTime()",
"updated_at": "@string@.isDateTime()",
"enabled": true,
"tax_calculation_strategy": "order_items_based",
"_links": {
"self": {
"href": @string@
}
}
},
"shipping_address": @...@,
"billing_address": @...@,
"payments": @array@,
"shipments": @array@,
"currency_code": "EUR",
"locale_code": "en_US",
"checkout_state": "completed"
}