createOrderResponse.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "data": {
  3. "type": "order",
  4. "id": "00000000-0000-0000-0000-000000000000",
  5. "attributes": {
  6. "createdAt": "2017-06-02T11:07:56+00:00",
  7. "lastModifiedAt": "2017-06-02T11:07:56+00:00",
  8. "orderedAt": "2017-06-02T11:07:56+00:00",
  9. "source": {
  10. "name": "Magento",
  11. "reference": "26"
  12. },
  13. "customer": {
  14. "address": {
  15. "countryCode": "GB"
  16. }
  17. },
  18. "deliverTo": {
  19. "address": {
  20. "countryCode": "GB"
  21. }
  22. },
  23. "items": [
  24. {
  25. "product": {
  26. "sku": "MSH02-33-Black",
  27. "weight": {
  28. "value": 1,
  29. "unit": "kg"
  30. },
  31. "monetaryValue": {
  32. "amount": 32.5,
  33. "currency": "GBP"
  34. }
  35. },
  36. "quantity": 1
  37. }
  38. ],
  39. "total": {
  40. "amount": 32.5,
  41. "currency": "GBP"
  42. }
  43. }
  44. },
  45. "included": [
  46. {
  47. "type": "orderQualification",
  48. "attributes": {
  49. "experiences": [
  50. {
  51. "code": "standard",
  52. "cost": [
  53. {
  54. "amount": 2.95,
  55. "currency": "GBP"
  56. }
  57. ],
  58. "description": [
  59. {
  60. "text": "معيار شيبينغ",
  61. "locale": "ar"
  62. },
  63. {
  64. "text": "стандартны Шипин",
  65. "locale": "be"
  66. },
  67. {
  68. "text": "Standard forsendelse",
  69. "locale": "da"
  70. },
  71. {
  72. "text": "Standardversand",
  73. "locale": "de"
  74. },
  75. {
  76. "text": "Κανονική αποστολή",
  77. "locale": "el"
  78. },
  79. {
  80. "text": "Standard Shipping",
  81. "locale": "en"
  82. },
  83. {
  84. "text": "સ્ટાન્ડર્ડ શિપિંગ",
  85. "locale": "gu"
  86. },
  87. {
  88. "text": "Expédition standard",
  89. "locale": "fr"
  90. },
  91. {
  92. "text": "मानक शिपिंग",
  93. "locale": "hi"
  94. },
  95. {
  96. "text": "通常輸送",
  97. "locale": "ja"
  98. },
  99. {
  100. "text": "Standaard verzending",
  101. "locale": "nl"
  102. },
  103. {
  104. "text": "Shiping padrão",
  105. "locale": "pt"
  106. },
  107. {
  108. "text": "標準運輸",
  109. "locale": "zh"
  110. }
  111. ]
  112. }
  113. ]
  114. }
  115. }
  116. ]
  117. }