getShipmentResponse.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. "data": {
  3. "type": "shipment",
  4. "id": "00000000-5000-0005-0000-000000000000",
  5. "attributes": {
  6. "pickupAt": "2017-06-01T11:11:11+02:00",
  7. "fulfill": {
  8. "carrierBooking": {
  9. "shippingTaxInclusiveCharge": {
  10. "amount": 2.75,
  11. "currency": "GBP"
  12. },
  13. "trackingReference": "6666666666666666",
  14. "bookingReference": "6666666666666666",
  15. "carrierName": "carrier-integration-huxloe-hermes",
  16. "integrationId": "carrier-integration-huxloe-hermes",
  17. "configurationId": "00000000-5005-5005-0000-000000000000",
  18. "integrationServiceId": "H24",
  19. "serviceName": "H24"
  20. }
  21. },
  22. "selectedService": {
  23. "service": "H24",
  24. "configurationId": "00000000-5005-5005-0000-000000000000"
  25. },
  26. "orderId": "00000000-3000-0003-0000-000000000000",
  27. "origin": {
  28. "address": {
  29. "countryCode": "GB",
  30. "postalCode": "XY1Z 2AB",
  31. "locality": "London",
  32. "dependentLocality": "Holborn",
  33. "administrativeArea": "Greater London",
  34. "lines": [
  35. "1 Foo Square"
  36. ],
  37. "type": "business"
  38. },
  39. "contact": {
  40. "organisationName": "Temando UK",
  41. "phoneNumber": "0800",
  42. "personLastName": "Aßmann",
  43. "personFirstName": "Christoph",
  44. "email": "christoph.assmann@netresearch.de"
  45. },
  46. "name": "Temando UK",
  47. "type": "Store"
  48. },
  49. "destination": {
  50. "address": {
  51. "countryCode": "GB",
  52. "postalCode": "AB99 1CD",
  53. "locality": "London",
  54. "administrativeArea": "London",
  55. "lines": [
  56. "4/5 Foo Road"
  57. ],
  58. "type": "business"
  59. },
  60. "contact": {
  61. "organisationName": "Foo Studios",
  62. "phoneNumber": "0800",
  63. "personLastName": "Ertner",
  64. "personFirstName": "Sebastian",
  65. "email": "sebastian.ertner@netresearch.de"
  66. }
  67. },
  68. "documentation": [
  69. {
  70. "size": "A4",
  71. "mimeType": "application/pdf",
  72. "type": "packageLabel",
  73. "url": "https://example.com/documents/packageLabels-1234"
  74. }
  75. ],
  76. "packages": [
  77. {
  78. "trackingReference": "6666666666666666",
  79. "grossWeight": {
  80. "unit": "kg",
  81. "value": 0.8
  82. },
  83. "documentation": [
  84. {
  85. "description": "Package Label",
  86. "size": "A6",
  87. "id": "shipments/00000000-5000-0005-0000-000000000000/documents/packageLabels-4321",
  88. "mimeType": "application/pdf",
  89. "encoding": "base64",
  90. "type": "packageLabels",
  91. "url": "https://example.com/documents/packageLabels-4321"
  92. }
  93. ],
  94. "id": "1",
  95. "dimensions": {
  96. "unit": "cm",
  97. "length": 20,
  98. "width": 15,
  99. "height": 10
  100. }
  101. }
  102. ],
  103. "capabilities": {
  104. "authorityToLeave": false,
  105. "signature": {
  106. "required": true
  107. }
  108. },
  109. "status":"fulfilled"
  110. },
  111. "meta":{"isCancelable":true}
  112. }
  113. }