@sp-api-sdk/orders-api-v0 2.3.2 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/README.md +3 -1
  2. package/dist/cjs/src/api-model/api/orders-v0-api.js +26 -6
  3. package/dist/cjs/src/api-model/api.js +1 -1
  4. package/dist/cjs/src/api-model/base.js +1 -1
  5. package/dist/cjs/src/api-model/common.js +1 -1
  6. package/dist/cjs/src/api-model/configuration.js +1 -1
  7. package/dist/cjs/src/api-model/index.js +1 -1
  8. package/dist/cjs/src/api-model/models/address.js +1 -1
  9. package/dist/cjs/src/api-model/models/automated-shipping-settings.js +1 -1
  10. package/dist/cjs/src/api-model/models/business-hours.js +1 -1
  11. package/dist/cjs/src/api-model/models/buyer-customized-info-detail.js +1 -1
  12. package/dist/cjs/src/api-model/models/buyer-info.js +1 -1
  13. package/dist/cjs/src/api-model/models/buyer-requested-cancel.js +1 -1
  14. package/dist/cjs/src/api-model/models/buyer-tax-info.js +1 -1
  15. package/dist/cjs/src/api-model/models/buyer-tax-information.js +1 -1
  16. package/dist/cjs/src/api-model/models/confirm-shipment-error-response.js +1 -1
  17. package/dist/cjs/src/api-model/models/confirm-shipment-order-item.js +1 -1
  18. package/dist/cjs/src/api-model/models/confirm-shipment-request.js +1 -1
  19. package/dist/cjs/src/api-model/models/delivery-preferences.js +1 -1
  20. package/dist/cjs/src/api-model/models/easy-ship-shipment-status.js +1 -1
  21. package/dist/cjs/src/api-model/models/electronic-invoice-status.js +1 -1
  22. package/dist/cjs/src/api-model/models/exception-dates.js +1 -1
  23. package/dist/cjs/src/api-model/models/fulfillment-instruction.js +1 -1
  24. package/dist/cjs/src/api-model/models/get-order-address-response.js +1 -1
  25. package/dist/cjs/src/api-model/models/get-order-buyer-info-response.js +1 -1
  26. package/dist/cjs/src/api-model/models/get-order-items-buyer-info-response.js +1 -1
  27. package/dist/cjs/src/api-model/models/get-order-items-response.js +1 -1
  28. package/dist/cjs/src/api-model/models/get-order-regulated-info-response.js +1 -1
  29. package/dist/cjs/src/api-model/models/get-order-response.js +1 -1
  30. package/dist/cjs/src/api-model/models/get-orders-response.js +1 -1
  31. package/dist/cjs/src/api-model/models/index.js +3 -0
  32. package/dist/cjs/src/api-model/models/item-buyer-info.js +1 -1
  33. package/dist/cjs/src/api-model/models/marketplace-tax-info.js +1 -1
  34. package/dist/cjs/src/api-model/models/measurement.js +42 -0
  35. package/dist/cjs/src/api-model/models/model-error.js +1 -1
  36. package/dist/cjs/src/api-model/models/money.js +1 -1
  37. package/dist/cjs/src/api-model/models/open-interval.js +1 -1
  38. package/dist/cjs/src/api-model/models/open-time-interval.js +1 -1
  39. package/dist/cjs/src/api-model/models/order-address.js +1 -1
  40. package/dist/cjs/src/api-model/models/order-buyer-info.js +1 -1
  41. package/dist/cjs/src/api-model/models/order-item-buyer-info.js +1 -1
  42. package/dist/cjs/src/api-model/models/order-item.js +1 -1
  43. package/dist/cjs/src/api-model/models/order-items-buyer-info-list.js +1 -1
  44. package/dist/cjs/src/api-model/models/order-items-inner.js +1 -1
  45. package/dist/cjs/src/api-model/models/order-items-list.js +1 -1
  46. package/dist/cjs/src/api-model/models/order-regulated-info.js +1 -1
  47. package/dist/cjs/src/api-model/models/order.js +1 -1
  48. package/dist/cjs/src/api-model/models/orders-list.js +1 -1
  49. package/dist/cjs/src/api-model/models/other-delivery-attributes.js +1 -1
  50. package/dist/cjs/src/api-model/models/package-detail.js +1 -1
  51. package/dist/cjs/src/api-model/models/payment-execution-detail-item.js +1 -1
  52. package/dist/cjs/src/api-model/models/points-granted-detail.js +1 -1
  53. package/dist/cjs/src/api-model/models/preferred-delivery-time.js +1 -1
  54. package/dist/cjs/src/api-model/models/product-info-detail.js +1 -1
  55. package/dist/cjs/src/api-model/models/regulated-information-field.js +1 -1
  56. package/dist/cjs/src/api-model/models/regulated-information.js +1 -1
  57. package/dist/cjs/src/api-model/models/regulated-order-verification-status.js +1 -1
  58. package/dist/cjs/src/api-model/models/rejection-reason.js +1 -1
  59. package/dist/cjs/src/api-model/models/shipment-status.js +1 -1
  60. package/dist/cjs/src/api-model/models/substitution-option.js +15 -0
  61. package/dist/cjs/src/api-model/models/substitution-preferences.js +21 -0
  62. package/dist/cjs/src/api-model/models/tax-classification.js +1 -1
  63. package/dist/cjs/src/api-model/models/tax-collection.js +1 -1
  64. package/dist/cjs/src/api-model/models/update-shipment-status-error-response.js +1 -1
  65. package/dist/cjs/src/api-model/models/update-shipment-status-request.js +1 -1
  66. package/dist/cjs/src/api-model/models/update-verification-status-error-response.js +1 -1
  67. package/dist/cjs/src/api-model/models/update-verification-status-request-body.js +1 -1
  68. package/dist/cjs/src/api-model/models/update-verification-status-request.js +1 -1
  69. package/dist/cjs/src/api-model/models/verification-status.js +1 -1
  70. package/dist/es/src/api-model/api/orders-v0-api.js +26 -6
  71. package/dist/es/src/api-model/api.js +1 -1
  72. package/dist/es/src/api-model/base.js +1 -1
  73. package/dist/es/src/api-model/common.js +1 -1
  74. package/dist/es/src/api-model/configuration.js +1 -1
  75. package/dist/es/src/api-model/index.js +1 -1
  76. package/dist/es/src/api-model/models/address.js +1 -1
  77. package/dist/es/src/api-model/models/automated-shipping-settings.js +1 -1
  78. package/dist/es/src/api-model/models/business-hours.js +1 -1
  79. package/dist/es/src/api-model/models/buyer-customized-info-detail.js +1 -1
  80. package/dist/es/src/api-model/models/buyer-info.js +1 -1
  81. package/dist/es/src/api-model/models/buyer-requested-cancel.js +1 -1
  82. package/dist/es/src/api-model/models/buyer-tax-info.js +1 -1
  83. package/dist/es/src/api-model/models/buyer-tax-information.js +1 -1
  84. package/dist/es/src/api-model/models/confirm-shipment-error-response.js +1 -1
  85. package/dist/es/src/api-model/models/confirm-shipment-order-item.js +1 -1
  86. package/dist/es/src/api-model/models/confirm-shipment-request.js +1 -1
  87. package/dist/es/src/api-model/models/delivery-preferences.js +1 -1
  88. package/dist/es/src/api-model/models/easy-ship-shipment-status.js +1 -1
  89. package/dist/es/src/api-model/models/electronic-invoice-status.js +1 -1
  90. package/dist/es/src/api-model/models/exception-dates.js +1 -1
  91. package/dist/es/src/api-model/models/fulfillment-instruction.js +1 -1
  92. package/dist/es/src/api-model/models/get-order-address-response.js +1 -1
  93. package/dist/es/src/api-model/models/get-order-buyer-info-response.js +1 -1
  94. package/dist/es/src/api-model/models/get-order-items-buyer-info-response.js +1 -1
  95. package/dist/es/src/api-model/models/get-order-items-response.js +1 -1
  96. package/dist/es/src/api-model/models/get-order-regulated-info-response.js +1 -1
  97. package/dist/es/src/api-model/models/get-order-response.js +1 -1
  98. package/dist/es/src/api-model/models/get-orders-response.js +1 -1
  99. package/dist/es/src/api-model/models/index.js +3 -0
  100. package/dist/es/src/api-model/models/item-buyer-info.js +1 -1
  101. package/dist/es/src/api-model/models/marketplace-tax-info.js +1 -1
  102. package/dist/es/src/api-model/models/measurement.js +39 -0
  103. package/dist/es/src/api-model/models/model-error.js +1 -1
  104. package/dist/es/src/api-model/models/money.js +1 -1
  105. package/dist/es/src/api-model/models/open-interval.js +1 -1
  106. package/dist/es/src/api-model/models/open-time-interval.js +1 -1
  107. package/dist/es/src/api-model/models/order-address.js +1 -1
  108. package/dist/es/src/api-model/models/order-buyer-info.js +1 -1
  109. package/dist/es/src/api-model/models/order-item-buyer-info.js +1 -1
  110. package/dist/es/src/api-model/models/order-item.js +1 -1
  111. package/dist/es/src/api-model/models/order-items-buyer-info-list.js +1 -1
  112. package/dist/es/src/api-model/models/order-items-inner.js +1 -1
  113. package/dist/es/src/api-model/models/order-items-list.js +1 -1
  114. package/dist/es/src/api-model/models/order-regulated-info.js +1 -1
  115. package/dist/es/src/api-model/models/order.js +1 -1
  116. package/dist/es/src/api-model/models/orders-list.js +1 -1
  117. package/dist/es/src/api-model/models/other-delivery-attributes.js +1 -1
  118. package/dist/es/src/api-model/models/package-detail.js +1 -1
  119. package/dist/es/src/api-model/models/payment-execution-detail-item.js +1 -1
  120. package/dist/es/src/api-model/models/points-granted-detail.js +1 -1
  121. package/dist/es/src/api-model/models/preferred-delivery-time.js +1 -1
  122. package/dist/es/src/api-model/models/product-info-detail.js +1 -1
  123. package/dist/es/src/api-model/models/regulated-information-field.js +1 -1
  124. package/dist/es/src/api-model/models/regulated-information.js +1 -1
  125. package/dist/es/src/api-model/models/regulated-order-verification-status.js +1 -1
  126. package/dist/es/src/api-model/models/rejection-reason.js +1 -1
  127. package/dist/es/src/api-model/models/shipment-status.js +1 -1
  128. package/dist/es/src/api-model/models/substitution-option.js +14 -0
  129. package/dist/es/src/api-model/models/substitution-preferences.js +18 -0
  130. package/dist/es/src/api-model/models/tax-classification.js +1 -1
  131. package/dist/es/src/api-model/models/tax-collection.js +1 -1
  132. package/dist/es/src/api-model/models/update-shipment-status-error-response.js +1 -1
  133. package/dist/es/src/api-model/models/update-shipment-status-request.js +1 -1
  134. package/dist/es/src/api-model/models/update-verification-status-error-response.js +1 -1
  135. package/dist/es/src/api-model/models/update-verification-status-request-body.js +1 -1
  136. package/dist/es/src/api-model/models/update-verification-status-request.js +1 -1
  137. package/dist/es/src/api-model/models/verification-status.js +1 -1
  138. package/dist/types/src/api-model/api/orders-v0-api.d.ts +35 -3
  139. package/dist/types/src/api-model/api.d.ts +1 -1
  140. package/dist/types/src/api-model/base.d.ts +1 -1
  141. package/dist/types/src/api-model/common.d.ts +1 -1
  142. package/dist/types/src/api-model/configuration.d.ts +1 -1
  143. package/dist/types/src/api-model/index.d.ts +1 -1
  144. package/dist/types/src/api-model/models/address.d.ts +1 -1
  145. package/dist/types/src/api-model/models/automated-shipping-settings.d.ts +1 -1
  146. package/dist/types/src/api-model/models/business-hours.d.ts +1 -1
  147. package/dist/types/src/api-model/models/buyer-customized-info-detail.d.ts +1 -1
  148. package/dist/types/src/api-model/models/buyer-info.d.ts +1 -1
  149. package/dist/types/src/api-model/models/buyer-requested-cancel.d.ts +1 -1
  150. package/dist/types/src/api-model/models/buyer-tax-info.d.ts +1 -1
  151. package/dist/types/src/api-model/models/buyer-tax-information.d.ts +1 -1
  152. package/dist/types/src/api-model/models/confirm-shipment-error-response.d.ts +1 -1
  153. package/dist/types/src/api-model/models/confirm-shipment-order-item.d.ts +1 -1
  154. package/dist/types/src/api-model/models/confirm-shipment-request.d.ts +1 -1
  155. package/dist/types/src/api-model/models/delivery-preferences.d.ts +1 -1
  156. package/dist/types/src/api-model/models/easy-ship-shipment-status.d.ts +1 -1
  157. package/dist/types/src/api-model/models/electronic-invoice-status.d.ts +1 -1
  158. package/dist/types/src/api-model/models/exception-dates.d.ts +1 -1
  159. package/dist/types/src/api-model/models/fulfillment-instruction.d.ts +1 -1
  160. package/dist/types/src/api-model/models/get-order-address-response.d.ts +1 -1
  161. package/dist/types/src/api-model/models/get-order-buyer-info-response.d.ts +1 -1
  162. package/dist/types/src/api-model/models/get-order-items-buyer-info-response.d.ts +1 -1
  163. package/dist/types/src/api-model/models/get-order-items-response.d.ts +1 -1
  164. package/dist/types/src/api-model/models/get-order-regulated-info-response.d.ts +1 -1
  165. package/dist/types/src/api-model/models/get-order-response.d.ts +1 -1
  166. package/dist/types/src/api-model/models/get-orders-response.d.ts +1 -1
  167. package/dist/types/src/api-model/models/index.d.ts +3 -0
  168. package/dist/types/src/api-model/models/item-buyer-info.d.ts +1 -1
  169. package/dist/types/src/api-model/models/marketplace-tax-info.d.ts +1 -1
  170. package/dist/types/src/api-model/models/measurement.d.ts +57 -0
  171. package/dist/types/src/api-model/models/model-error.d.ts +1 -1
  172. package/dist/types/src/api-model/models/money.d.ts +1 -1
  173. package/dist/types/src/api-model/models/open-interval.d.ts +1 -1
  174. package/dist/types/src/api-model/models/open-time-interval.d.ts +1 -1
  175. package/dist/types/src/api-model/models/order-address.d.ts +2 -2
  176. package/dist/types/src/api-model/models/order-buyer-info.d.ts +1 -1
  177. package/dist/types/src/api-model/models/order-item-buyer-info.d.ts +1 -1
  178. package/dist/types/src/api-model/models/order-item.d.ts +16 -2
  179. package/dist/types/src/api-model/models/order-items-buyer-info-list.d.ts +1 -1
  180. package/dist/types/src/api-model/models/order-items-inner.d.ts +1 -1
  181. package/dist/types/src/api-model/models/order-items-list.d.ts +1 -1
  182. package/dist/types/src/api-model/models/order-regulated-info.d.ts +1 -1
  183. package/dist/types/src/api-model/models/order.d.ts +2 -2
  184. package/dist/types/src/api-model/models/orders-list.d.ts +1 -1
  185. package/dist/types/src/api-model/models/other-delivery-attributes.d.ts +1 -1
  186. package/dist/types/src/api-model/models/package-detail.d.ts +1 -1
  187. package/dist/types/src/api-model/models/payment-execution-detail-item.d.ts +2 -2
  188. package/dist/types/src/api-model/models/points-granted-detail.d.ts +1 -1
  189. package/dist/types/src/api-model/models/preferred-delivery-time.d.ts +1 -1
  190. package/dist/types/src/api-model/models/product-info-detail.d.ts +1 -1
  191. package/dist/types/src/api-model/models/regulated-information-field.d.ts +1 -1
  192. package/dist/types/src/api-model/models/regulated-information.d.ts +1 -1
  193. package/dist/types/src/api-model/models/regulated-order-verification-status.d.ts +1 -1
  194. package/dist/types/src/api-model/models/rejection-reason.d.ts +1 -1
  195. package/dist/types/src/api-model/models/shipment-status.d.ts +1 -1
  196. package/dist/types/src/api-model/models/substitution-option.d.ts +49 -0
  197. package/dist/types/src/api-model/models/substitution-preferences.d.ts +37 -0
  198. package/dist/types/src/api-model/models/tax-classification.d.ts +1 -1
  199. package/dist/types/src/api-model/models/tax-collection.d.ts +1 -1
  200. package/dist/types/src/api-model/models/update-shipment-status-error-response.d.ts +1 -1
  201. package/dist/types/src/api-model/models/update-shipment-status-request.d.ts +1 -1
  202. package/dist/types/src/api-model/models/update-verification-status-error-response.d.ts +1 -1
  203. package/dist/types/src/api-model/models/update-verification-status-request-body.d.ts +1 -1
  204. package/dist/types/src/api-model/models/update-verification-status-request.d.ts +1 -1
  205. package/dist/types/src/api-model/models/verification-status.d.ts +1 -1
  206. package/package.json +5 -5
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -122,7 +122,7 @@ export interface Order {
122
122
  */
123
123
  'MarketplaceId'?: string;
124
124
  /**
125
- * The shipment service level category of the order. Possible values: Expedited, FreeEconomy, NextDay, SameDay, SecondDay, Scheduled, Standard.
125
+ * The shipment service level category of the order. Possible values: Expedited, FreeEconomy, NextDay, Priority, SameDay, SecondDay, Scheduled, Standard.
126
126
  * @type {string}
127
127
  * @memberof Order
128
128
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -23,7 +23,7 @@ export interface PaymentExecutionDetailItem {
23
23
  */
24
24
  'Payment': Money;
25
25
  /**
26
- * A sub-payment method for a COD order. Possible values: * COD - Cash On Delivery. * GC - Gift Card. * PointsAccount - Amazon Points.
26
+ * A sub-payment method for a COD order. Possible values: * `COD`: Cash On Delivery. * `GC`: Gift Card. * `PointsAccount`: Amazon Points. * `Invoice`: Invoice.
27
27
  * @type {string}
28
28
  * @memberof PaymentExecutionDetailItem
29
29
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Selling Partner API for Orders
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Measurement } from './measurement';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SubstitutionOption
17
+ */
18
+ export interface SubstitutionOption {
19
+ /**
20
+ * The Amazon Standard Identification Number (ASIN) of the item.
21
+ * @type {string}
22
+ * @memberof SubstitutionOption
23
+ */
24
+ 'ASIN'?: string;
25
+ /**
26
+ * The number of items to be picked for this substitution option.
27
+ * @type {number}
28
+ * @memberof SubstitutionOption
29
+ */
30
+ 'QuantityOrdered'?: number;
31
+ /**
32
+ * The seller stock keeping unit (SKU) of the item.
33
+ * @type {string}
34
+ * @memberof SubstitutionOption
35
+ */
36
+ 'SellerSKU'?: string;
37
+ /**
38
+ * The title of the item.
39
+ * @type {string}
40
+ * @memberof SubstitutionOption
41
+ */
42
+ 'Title'?: string;
43
+ /**
44
+ *
45
+ * @type {Measurement}
46
+ * @memberof SubstitutionOption
47
+ */
48
+ 'Measurement'?: Measurement;
49
+ }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Selling Partner API for Orders
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { SubstitutionOption } from './substitution-option';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SubstitutionPreferences
17
+ */
18
+ export interface SubstitutionPreferences {
19
+ /**
20
+ * The type of substitution that these preferences represent.
21
+ * @type {string}
22
+ * @memberof SubstitutionPreferences
23
+ */
24
+ 'SubstitutionType': SubstitutionPreferencesSubstitutionTypeEnum;
25
+ /**
26
+ * A collection of substitution options.
27
+ * @type {Array<SubstitutionOption>}
28
+ * @memberof SubstitutionPreferences
29
+ */
30
+ 'SubstitutionOptions'?: Array<SubstitutionOption>;
31
+ }
32
+ export declare const SubstitutionPreferencesSubstitutionTypeEnum: {
33
+ readonly CustomerPreference: "CUSTOMER_PREFERENCE";
34
+ readonly AmazonRecommended: "AMAZON_RECOMMENDED";
35
+ readonly DoNotSubstitute: "DO_NOT_SUBSTITUTE";
36
+ };
37
+ export type SubstitutionPreferencesSubstitutionTypeEnum = typeof SubstitutionPreferencesSubstitutionTypeEnum[keyof typeof SubstitutionPreferencesSubstitutionTypeEnum];
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Selling Partner API for Orders
3
- * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.
3
+ * The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@sp-api-sdk/orders-api-v0",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
4
- "description": "The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API only supports orders that are less than two years old. Orders more than two years old will not show in the API response.",
5
- "version": "2.3.2",
4
+ "description": "The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. Note: The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.",
5
+ "version": "2.4.0",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "dependencies": {
21
- "@sp-api-sdk/common": "1.11.4",
22
- "axios": "^1.4.0"
21
+ "@sp-api-sdk/common": "1.11.6",
22
+ "axios": "^1.5.1"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
@@ -40,5 +40,5 @@
40
40
  "sp sdk",
41
41
  "orders api"
42
42
  ],
43
- "gitHead": "4f5be6b7d4c8d5892d6567b00c6a7f2180a97758"
43
+ "gitHead": "504bc3889d8c5dba1870b3c1a3b3f4ab1cf8b7cc"
44
44
  }