updateOrderResponse.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "data": {
  3. "type": "order",
  4. "id": "00000000-0000-0000-0000-000000000000",
  5. "attributes": {
  6. "createdAt": "2017-06-02T13:28:07+00:00",
  7. "lastModifiedAt": "2017-06-02T13:28:07+00:00",
  8. "orderedAt": "2017-06-02T13:28:07+00:00",
  9. "source": {
  10. "name": "Magento",
  11. "reference": "000000026"
  12. },
  13. "customer": {
  14. "address": {
  15. "countryCode": "GB",
  16. "postalCode": "GA99 1CD",
  17. "locality": "Glasgow",
  18. "lines": [
  19. "303 Foo Road"
  20. ]
  21. },
  22. "contact": {
  23. "organisationName": "Foo Studios",
  24. "phoneNumber": "0800",
  25. "personLastName": "Ertner",
  26. "personFirstName": "Sebastian",
  27. "email": "sebastian.ertner@netresearch.de",
  28. "taxIdentificationNumber": "t4x1D"
  29. }
  30. },
  31. "deliverTo": {
  32. "address": {
  33. "countryCode": "GB",
  34. "postalCode": "AB99 1EF",
  35. "locality": "London",
  36. "lines": [
  37. "4/5 Bar Road"
  38. ]
  39. },
  40. "contact": {
  41. "phoneNumber": "0800",
  42. "personLastName": "Ertner",
  43. "personFirstName": "Sebastian",
  44. "email": "sebastian.ertner@netresearch.de"
  45. }
  46. },
  47. "items": [
  48. {
  49. "product": {
  50. "sku": "MSH02-33-Black",
  51. "weight": {
  52. "value": 1,
  53. "unit": "kg"
  54. },
  55. "monetaryValue": {
  56. "amount": 32.5,
  57. "currency": "GBP"
  58. }
  59. },
  60. "quantity": 1
  61. }
  62. ],
  63. "total": {
  64. "amount": 32.5,
  65. "currency": "GBP"
  66. },
  67. "selectedExperience": {
  68. "code": "standard",
  69. "cost": {
  70. "amount": 2.95,
  71. "currency": "GBP"
  72. },
  73. "description": {
  74. "language": "en",
  75. "text": "Magento Shipping - Standard Shipping"
  76. }
  77. }
  78. }
  79. },
  80. "meta": {
  81. "aliases": {
  82. "magento": "26"
  83. }
  84. }
  85. }