@sp-api-sdk/orders-api-v0 2.3.3 → 3.0.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.
- package/README.md +3 -7
- package/dist/cjs/src/api-model/api/orders-v0-api.js +28 -8
- package/dist/cjs/src/api-model/api.js +1 -1
- package/dist/cjs/src/api-model/base.js +1 -1
- package/dist/cjs/src/api-model/common.js +1 -1
- package/dist/cjs/src/api-model/configuration.js +1 -1
- package/dist/cjs/src/api-model/index.js +1 -1
- package/dist/cjs/src/api-model/models/address.js +1 -1
- package/dist/cjs/src/api-model/models/associated-item.js +15 -0
- package/dist/cjs/src/api-model/models/association-type.js +24 -0
- package/dist/cjs/src/api-model/models/automated-shipping-settings.js +1 -1
- package/dist/cjs/src/api-model/models/business-hours.js +1 -1
- package/dist/cjs/src/api-model/models/buyer-customized-info-detail.js +1 -1
- package/dist/cjs/src/api-model/models/buyer-info.js +1 -1
- package/dist/cjs/src/api-model/models/buyer-requested-cancel.js +1 -1
- package/dist/cjs/src/api-model/models/buyer-tax-info.js +1 -1
- package/dist/cjs/src/api-model/models/buyer-tax-information.js +1 -1
- package/dist/cjs/src/api-model/models/confirm-shipment-error-response.js +1 -1
- package/dist/cjs/src/api-model/models/confirm-shipment-order-item.js +1 -1
- package/dist/cjs/src/api-model/models/confirm-shipment-request.js +1 -1
- package/dist/cjs/src/api-model/models/delivery-preferences.js +1 -1
- package/dist/cjs/src/api-model/models/easy-ship-shipment-status.js +1 -1
- package/dist/cjs/src/api-model/models/electronic-invoice-status.js +1 -1
- package/dist/cjs/src/api-model/models/exception-dates.js +1 -1
- package/dist/cjs/src/api-model/models/fulfillment-instruction.js +1 -1
- package/dist/cjs/src/api-model/models/get-order-address-response.js +1 -1
- package/dist/cjs/src/api-model/models/get-order-buyer-info-response.js +1 -1
- package/dist/cjs/src/api-model/models/get-order-items-buyer-info-response.js +1 -1
- package/dist/cjs/src/api-model/models/get-order-items-response.js +1 -1
- package/dist/cjs/src/api-model/models/get-order-regulated-info-response.js +1 -1
- package/dist/cjs/src/api-model/models/get-order-response.js +1 -1
- package/dist/cjs/src/api-model/models/get-orders-response.js +1 -1
- package/dist/cjs/src/api-model/models/index.js +5 -0
- package/dist/cjs/src/api-model/models/item-buyer-info.js +1 -1
- package/dist/cjs/src/api-model/models/marketplace-tax-info.js +1 -1
- package/dist/cjs/src/api-model/models/measurement.js +42 -0
- package/dist/cjs/src/api-model/models/model-error.js +1 -1
- package/dist/cjs/src/api-model/models/money.js +1 -1
- package/dist/cjs/src/api-model/models/open-interval.js +1 -1
- package/dist/cjs/src/api-model/models/open-time-interval.js +1 -1
- package/dist/cjs/src/api-model/models/order-address.js +1 -1
- package/dist/cjs/src/api-model/models/order-buyer-info.js +1 -1
- package/dist/cjs/src/api-model/models/order-item-buyer-info.js +1 -1
- package/dist/cjs/src/api-model/models/order-item.js +1 -1
- package/dist/cjs/src/api-model/models/order-items-buyer-info-list.js +1 -1
- package/dist/cjs/src/api-model/models/order-items-inner.js +1 -1
- package/dist/cjs/src/api-model/models/order-items-list.js +1 -1
- package/dist/cjs/src/api-model/models/order-regulated-info.js +1 -1
- package/dist/cjs/src/api-model/models/order.js +1 -1
- package/dist/cjs/src/api-model/models/orders-list.js +1 -1
- package/dist/cjs/src/api-model/models/other-delivery-attributes.js +1 -1
- package/dist/cjs/src/api-model/models/package-detail.js +1 -1
- package/dist/cjs/src/api-model/models/payment-execution-detail-item.js +1 -1
- package/dist/cjs/src/api-model/models/points-granted-detail.js +1 -1
- package/dist/cjs/src/api-model/models/preferred-delivery-time.js +1 -1
- package/dist/cjs/src/api-model/models/product-info-detail.js +1 -1
- package/dist/cjs/src/api-model/models/regulated-information-field.js +1 -1
- package/dist/cjs/src/api-model/models/regulated-information.js +1 -1
- package/dist/cjs/src/api-model/models/regulated-order-verification-status.js +1 -1
- package/dist/cjs/src/api-model/models/rejection-reason.js +1 -1
- package/dist/cjs/src/api-model/models/shipment-status.js +1 -1
- package/dist/cjs/src/api-model/models/substitution-option.js +15 -0
- package/dist/cjs/src/api-model/models/substitution-preferences.js +21 -0
- package/dist/cjs/src/api-model/models/tax-classification.js +1 -1
- package/dist/cjs/src/api-model/models/tax-collection.js +1 -1
- package/dist/cjs/src/api-model/models/update-shipment-status-error-response.js +1 -1
- package/dist/cjs/src/api-model/models/update-shipment-status-request.js +1 -1
- package/dist/cjs/src/api-model/models/update-verification-status-error-response.js +1 -1
- package/dist/cjs/src/api-model/models/update-verification-status-request-body.js +1 -1
- package/dist/cjs/src/api-model/models/update-verification-status-request.js +1 -1
- package/dist/cjs/src/api-model/models/verification-status.js +1 -1
- package/dist/es/src/api-model/api/orders-v0-api.js +28 -8
- package/dist/es/src/api-model/api.js +1 -1
- package/dist/es/src/api-model/base.js +1 -1
- package/dist/es/src/api-model/common.js +1 -1
- package/dist/es/src/api-model/configuration.js +1 -1
- package/dist/es/src/api-model/index.js +1 -1
- package/dist/es/src/api-model/models/address.js +1 -1
- package/dist/es/src/api-model/models/associated-item.js +14 -0
- package/dist/es/src/api-model/models/association-type.js +21 -0
- package/dist/es/src/api-model/models/automated-shipping-settings.js +1 -1
- package/dist/es/src/api-model/models/business-hours.js +1 -1
- package/dist/es/src/api-model/models/buyer-customized-info-detail.js +1 -1
- package/dist/es/src/api-model/models/buyer-info.js +1 -1
- package/dist/es/src/api-model/models/buyer-requested-cancel.js +1 -1
- package/dist/es/src/api-model/models/buyer-tax-info.js +1 -1
- package/dist/es/src/api-model/models/buyer-tax-information.js +1 -1
- package/dist/es/src/api-model/models/confirm-shipment-error-response.js +1 -1
- package/dist/es/src/api-model/models/confirm-shipment-order-item.js +1 -1
- package/dist/es/src/api-model/models/confirm-shipment-request.js +1 -1
- package/dist/es/src/api-model/models/delivery-preferences.js +1 -1
- package/dist/es/src/api-model/models/easy-ship-shipment-status.js +1 -1
- package/dist/es/src/api-model/models/electronic-invoice-status.js +1 -1
- package/dist/es/src/api-model/models/exception-dates.js +1 -1
- package/dist/es/src/api-model/models/fulfillment-instruction.js +1 -1
- package/dist/es/src/api-model/models/get-order-address-response.js +1 -1
- package/dist/es/src/api-model/models/get-order-buyer-info-response.js +1 -1
- package/dist/es/src/api-model/models/get-order-items-buyer-info-response.js +1 -1
- package/dist/es/src/api-model/models/get-order-items-response.js +1 -1
- package/dist/es/src/api-model/models/get-order-regulated-info-response.js +1 -1
- package/dist/es/src/api-model/models/get-order-response.js +1 -1
- package/dist/es/src/api-model/models/get-orders-response.js +1 -1
- package/dist/es/src/api-model/models/index.js +5 -0
- package/dist/es/src/api-model/models/item-buyer-info.js +1 -1
- package/dist/es/src/api-model/models/marketplace-tax-info.js +1 -1
- package/dist/es/src/api-model/models/measurement.js +39 -0
- package/dist/es/src/api-model/models/model-error.js +1 -1
- package/dist/es/src/api-model/models/money.js +1 -1
- package/dist/es/src/api-model/models/open-interval.js +1 -1
- package/dist/es/src/api-model/models/open-time-interval.js +1 -1
- package/dist/es/src/api-model/models/order-address.js +1 -1
- package/dist/es/src/api-model/models/order-buyer-info.js +1 -1
- package/dist/es/src/api-model/models/order-item-buyer-info.js +1 -1
- package/dist/es/src/api-model/models/order-item.js +1 -1
- package/dist/es/src/api-model/models/order-items-buyer-info-list.js +1 -1
- package/dist/es/src/api-model/models/order-items-inner.js +1 -1
- package/dist/es/src/api-model/models/order-items-list.js +1 -1
- package/dist/es/src/api-model/models/order-regulated-info.js +1 -1
- package/dist/es/src/api-model/models/order.js +1 -1
- package/dist/es/src/api-model/models/orders-list.js +1 -1
- package/dist/es/src/api-model/models/other-delivery-attributes.js +1 -1
- package/dist/es/src/api-model/models/package-detail.js +1 -1
- package/dist/es/src/api-model/models/payment-execution-detail-item.js +1 -1
- package/dist/es/src/api-model/models/points-granted-detail.js +1 -1
- package/dist/es/src/api-model/models/preferred-delivery-time.js +1 -1
- package/dist/es/src/api-model/models/product-info-detail.js +1 -1
- package/dist/es/src/api-model/models/regulated-information-field.js +1 -1
- package/dist/es/src/api-model/models/regulated-information.js +1 -1
- package/dist/es/src/api-model/models/regulated-order-verification-status.js +1 -1
- package/dist/es/src/api-model/models/rejection-reason.js +1 -1
- package/dist/es/src/api-model/models/shipment-status.js +1 -1
- package/dist/es/src/api-model/models/substitution-option.js +14 -0
- package/dist/es/src/api-model/models/substitution-preferences.js +18 -0
- package/dist/es/src/api-model/models/tax-classification.js +1 -1
- package/dist/es/src/api-model/models/tax-collection.js +1 -1
- package/dist/es/src/api-model/models/update-shipment-status-error-response.js +1 -1
- package/dist/es/src/api-model/models/update-shipment-status-request.js +1 -1
- package/dist/es/src/api-model/models/update-verification-status-error-response.js +1 -1
- package/dist/es/src/api-model/models/update-verification-status-request-body.js +1 -1
- package/dist/es/src/api-model/models/update-verification-status-request.js +1 -1
- package/dist/es/src/api-model/models/verification-status.js +1 -1
- package/dist/types/src/api-model/api/orders-v0-api.d.ts +38 -6
- package/dist/types/src/api-model/api.d.ts +1 -1
- package/dist/types/src/api-model/base.d.ts +1 -1
- package/dist/types/src/api-model/common.d.ts +1 -1
- package/dist/types/src/api-model/configuration.d.ts +1 -1
- package/dist/types/src/api-model/index.d.ts +1 -1
- package/dist/types/src/api-model/models/address.d.ts +1 -1
- package/dist/types/src/api-model/models/associated-item.d.ts +37 -0
- package/dist/types/src/api-model/models/association-type.d.ts +20 -0
- package/dist/types/src/api-model/models/automated-shipping-settings.d.ts +1 -1
- package/dist/types/src/api-model/models/business-hours.d.ts +1 -1
- package/dist/types/src/api-model/models/buyer-customized-info-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/buyer-info.d.ts +1 -1
- package/dist/types/src/api-model/models/buyer-requested-cancel.d.ts +1 -1
- package/dist/types/src/api-model/models/buyer-tax-info.d.ts +1 -1
- package/dist/types/src/api-model/models/buyer-tax-information.d.ts +1 -1
- package/dist/types/src/api-model/models/confirm-shipment-error-response.d.ts +1 -1
- package/dist/types/src/api-model/models/confirm-shipment-order-item.d.ts +1 -1
- package/dist/types/src/api-model/models/confirm-shipment-request.d.ts +1 -1
- package/dist/types/src/api-model/models/delivery-preferences.d.ts +1 -1
- package/dist/types/src/api-model/models/easy-ship-shipment-status.d.ts +1 -1
- package/dist/types/src/api-model/models/electronic-invoice-status.d.ts +1 -1
- package/dist/types/src/api-model/models/exception-dates.d.ts +1 -1
- package/dist/types/src/api-model/models/fulfillment-instruction.d.ts +1 -1
- package/dist/types/src/api-model/models/get-order-address-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-order-buyer-info-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-order-items-buyer-info-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-order-items-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-order-regulated-info-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-order-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-orders-response.d.ts +1 -1
- package/dist/types/src/api-model/models/index.d.ts +5 -0
- package/dist/types/src/api-model/models/item-buyer-info.d.ts +1 -1
- package/dist/types/src/api-model/models/marketplace-tax-info.d.ts +1 -1
- package/dist/types/src/api-model/models/measurement.d.ts +57 -0
- package/dist/types/src/api-model/models/model-error.d.ts +1 -1
- package/dist/types/src/api-model/models/money.d.ts +1 -1
- package/dist/types/src/api-model/models/open-interval.d.ts +1 -1
- package/dist/types/src/api-model/models/open-time-interval.d.ts +1 -1
- package/dist/types/src/api-model/models/order-address.d.ts +2 -2
- package/dist/types/src/api-model/models/order-buyer-info.d.ts +1 -1
- package/dist/types/src/api-model/models/order-item-buyer-info.d.ts +1 -1
- package/dist/types/src/api-model/models/order-item.d.ts +23 -2
- package/dist/types/src/api-model/models/order-items-buyer-info-list.d.ts +1 -1
- package/dist/types/src/api-model/models/order-items-inner.d.ts +1 -1
- package/dist/types/src/api-model/models/order-items-list.d.ts +1 -1
- package/dist/types/src/api-model/models/order-regulated-info.d.ts +1 -1
- package/dist/types/src/api-model/models/order.d.ts +1 -1
- package/dist/types/src/api-model/models/orders-list.d.ts +1 -1
- package/dist/types/src/api-model/models/other-delivery-attributes.d.ts +1 -1
- package/dist/types/src/api-model/models/package-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/payment-execution-detail-item.d.ts +1 -1
- package/dist/types/src/api-model/models/points-granted-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/preferred-delivery-time.d.ts +1 -1
- package/dist/types/src/api-model/models/product-info-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/regulated-information-field.d.ts +1 -1
- package/dist/types/src/api-model/models/regulated-information.d.ts +1 -1
- package/dist/types/src/api-model/models/regulated-order-verification-status.d.ts +1 -1
- package/dist/types/src/api-model/models/rejection-reason.d.ts +1 -1
- package/dist/types/src/api-model/models/shipment-status.d.ts +1 -1
- package/dist/types/src/api-model/models/substitution-option.d.ts +49 -0
- package/dist/types/src/api-model/models/substitution-preferences.d.ts +37 -0
- package/dist/types/src/api-model/models/tax-classification.d.ts +1 -1
- package/dist/types/src/api-model/models/tax-collection.d.ts +1 -1
- package/dist/types/src/api-model/models/update-shipment-status-error-response.d.ts +1 -1
- package/dist/types/src/api-model/models/update-shipment-status-request.d.ts +1 -1
- package/dist/types/src/api-model/models/update-verification-status-error-response.d.ts +1 -1
- package/dist/types/src/api-model/models/update-verification-status-request-body.d.ts +1 -1
- package/dist/types/src/api-model/models/update-verification-status-request.d.ts +1 -1
- package/dist/types/src/api-model/models/verification-status.d.ts +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# `orders-api-v0`
|
|
2
2
|
|
|
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
|
|
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.
|
|
4
|
+
|
|
5
|
+
_Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
|
|
4
6
|
|
|
5
7
|
[](https://www.npmjs.com/package/@sp-api-sdk/orders-api-v0)
|
|
6
8
|
[](https://github.com/xojs/xo)
|
|
@@ -27,12 +29,6 @@ const auth = new SellingPartnerApiAuth({
|
|
|
27
29
|
clientId: process.env.LWA_CLIENT_ID,
|
|
28
30
|
clientSecret: process.env.LWA_CLIENT_SECRET,
|
|
29
31
|
refreshToken: 'Atzr|…',
|
|
30
|
-
accessKeyId: '',
|
|
31
|
-
secretAccessKey: '',
|
|
32
|
-
region: 'eu-west-1',
|
|
33
|
-
role: {
|
|
34
|
-
arn: 'arn:aws:iam::…',
|
|
35
|
-
},
|
|
36
32
|
})
|
|
37
33
|
|
|
38
34
|
const client = new OrdersApiClient({
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -240,7 +240,7 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
240
240
|
},
|
|
241
241
|
/**
|
|
242
242
|
* Returns orders created or updated during the time frame indicated by the specified parameters. You can also apply a range of filtering criteria to narrow the list of orders returned. If NextToken is present, that will be used to retrieve the orders instead of other criteria. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
243
|
-
* @param {Array<string>} marketplaceIds A list of MarketplaceId values. Used to select orders that were placed in the specified marketplaces.
|
|
243
|
+
* @param {Array<string>} marketplaceIds A list of MarketplaceId values. Used to select orders that were placed in the specified marketplaces. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a complete list of marketplaceId values.
|
|
244
244
|
* @param {string} [createdAfter] A date used for selecting orders created after (or at) a specified time. Only orders placed after the specified time are returned. Either the CreatedAfter parameter or the LastUpdatedAfter parameter is required. Both cannot be empty. The date must be in ISO 8601 format.
|
|
245
245
|
* @param {string} [createdBefore] A date used for selecting orders created before (or at) a specified time. Only orders placed before the specified time are returned. The date must be in ISO 8601 format.
|
|
246
246
|
* @param {string} [lastUpdatedAfter] A date used for selecting orders that were last updated after (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. The date must be in ISO 8601 format.
|
|
@@ -258,10 +258,14 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
258
258
|
* @param {string} [actualFulfillmentSupplySourceId] Denotes the recommended sourceId where the order should be fulfilled from.
|
|
259
259
|
* @param {boolean} [isISPU] When true, this order is marked to be picked up from a store rather than delivered.
|
|
260
260
|
* @param {string} [storeChainStoreId] The store chain store identifier. Linked to a specific store in a store chain.
|
|
261
|
+
* @param {string} [earliestDeliveryDateBefore] A date used for selecting orders with a earliest delivery date before (or at) a specified time. The date must be in ISO 8601 format.
|
|
262
|
+
* @param {string} [earliestDeliveryDateAfter] A date used for selecting orders with a earliest delivery date after (or at) a specified time. The date must be in ISO 8601 format.
|
|
263
|
+
* @param {string} [latestDeliveryDateBefore] A date used for selecting orders with a latest delivery date before (or at) a specified time. The date must be in ISO 8601 format.
|
|
264
|
+
* @param {string} [latestDeliveryDateAfter] A date used for selecting orders with a latest delivery date after (or at) a specified time. The date must be in ISO 8601 format.
|
|
261
265
|
* @param {*} [options] Override http request option.
|
|
262
266
|
* @throws {RequiredError}
|
|
263
267
|
*/
|
|
264
|
-
getOrders: async (marketplaceIds, createdAfter, createdBefore, lastUpdatedAfter, lastUpdatedBefore, orderStatuses, fulfillmentChannels, paymentMethods, buyerEmail, sellerOrderId, maxResultsPerPage, easyShipShipmentStatuses, electronicInvoiceStatuses, nextToken, amazonOrderIds, actualFulfillmentSupplySourceId, isISPU, storeChainStoreId, options = {}) => {
|
|
268
|
+
getOrders: async (marketplaceIds, createdAfter, createdBefore, lastUpdatedAfter, lastUpdatedBefore, orderStatuses, fulfillmentChannels, paymentMethods, buyerEmail, sellerOrderId, maxResultsPerPage, easyShipShipmentStatuses, electronicInvoiceStatuses, nextToken, amazonOrderIds, actualFulfillmentSupplySourceId, isISPU, storeChainStoreId, earliestDeliveryDateBefore, earliestDeliveryDateAfter, latestDeliveryDateBefore, latestDeliveryDateAfter, options = {}) => {
|
|
265
269
|
// verify required parameter 'marketplaceIds' is not null or undefined
|
|
266
270
|
(0, common_1.assertParamExists)('getOrders', 'marketplaceIds', marketplaceIds);
|
|
267
271
|
const localVarPath = `/orders/v0/orders`;
|
|
@@ -328,6 +332,18 @@ const OrdersV0ApiAxiosParamCreator = function (configuration) {
|
|
|
328
332
|
if (storeChainStoreId !== undefined) {
|
|
329
333
|
localVarQueryParameter['StoreChainStoreId'] = storeChainStoreId;
|
|
330
334
|
}
|
|
335
|
+
if (earliestDeliveryDateBefore !== undefined) {
|
|
336
|
+
localVarQueryParameter['EarliestDeliveryDateBefore'] = earliestDeliveryDateBefore;
|
|
337
|
+
}
|
|
338
|
+
if (earliestDeliveryDateAfter !== undefined) {
|
|
339
|
+
localVarQueryParameter['EarliestDeliveryDateAfter'] = earliestDeliveryDateAfter;
|
|
340
|
+
}
|
|
341
|
+
if (latestDeliveryDateBefore !== undefined) {
|
|
342
|
+
localVarQueryParameter['LatestDeliveryDateBefore'] = latestDeliveryDateBefore;
|
|
343
|
+
}
|
|
344
|
+
if (latestDeliveryDateAfter !== undefined) {
|
|
345
|
+
localVarQueryParameter['LatestDeliveryDateAfter'] = latestDeliveryDateAfter;
|
|
346
|
+
}
|
|
331
347
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
332
348
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
333
349
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -487,7 +503,7 @@ const OrdersV0ApiFp = function (configuration) {
|
|
|
487
503
|
},
|
|
488
504
|
/**
|
|
489
505
|
* Returns orders created or updated during the time frame indicated by the specified parameters. You can also apply a range of filtering criteria to narrow the list of orders returned. If NextToken is present, that will be used to retrieve the orders instead of other criteria. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
490
|
-
* @param {Array<string>} marketplaceIds A list of MarketplaceId values. Used to select orders that were placed in the specified marketplaces.
|
|
506
|
+
* @param {Array<string>} marketplaceIds A list of MarketplaceId values. Used to select orders that were placed in the specified marketplaces. Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) for a complete list of marketplaceId values.
|
|
491
507
|
* @param {string} [createdAfter] A date used for selecting orders created after (or at) a specified time. Only orders placed after the specified time are returned. Either the CreatedAfter parameter or the LastUpdatedAfter parameter is required. Both cannot be empty. The date must be in ISO 8601 format.
|
|
492
508
|
* @param {string} [createdBefore] A date used for selecting orders created before (or at) a specified time. Only orders placed before the specified time are returned. The date must be in ISO 8601 format.
|
|
493
509
|
* @param {string} [lastUpdatedAfter] A date used for selecting orders that were last updated after (or at) a specified time. An update is defined as any change in order status, including the creation of a new order. Includes updates made by Amazon and by the seller. The date must be in ISO 8601 format.
|
|
@@ -505,11 +521,15 @@ const OrdersV0ApiFp = function (configuration) {
|
|
|
505
521
|
* @param {string} [actualFulfillmentSupplySourceId] Denotes the recommended sourceId where the order should be fulfilled from.
|
|
506
522
|
* @param {boolean} [isISPU] When true, this order is marked to be picked up from a store rather than delivered.
|
|
507
523
|
* @param {string} [storeChainStoreId] The store chain store identifier. Linked to a specific store in a store chain.
|
|
524
|
+
* @param {string} [earliestDeliveryDateBefore] A date used for selecting orders with a earliest delivery date before (or at) a specified time. The date must be in ISO 8601 format.
|
|
525
|
+
* @param {string} [earliestDeliveryDateAfter] A date used for selecting orders with a earliest delivery date after (or at) a specified time. The date must be in ISO 8601 format.
|
|
526
|
+
* @param {string} [latestDeliveryDateBefore] A date used for selecting orders with a latest delivery date before (or at) a specified time. The date must be in ISO 8601 format.
|
|
527
|
+
* @param {string} [latestDeliveryDateAfter] A date used for selecting orders with a latest delivery date after (or at) a specified time. The date must be in ISO 8601 format.
|
|
508
528
|
* @param {*} [options] Override http request option.
|
|
509
529
|
* @throws {RequiredError}
|
|
510
530
|
*/
|
|
511
|
-
async getOrders(marketplaceIds, createdAfter, createdBefore, lastUpdatedAfter, lastUpdatedBefore, orderStatuses, fulfillmentChannels, paymentMethods, buyerEmail, sellerOrderId, maxResultsPerPage, easyShipShipmentStatuses, electronicInvoiceStatuses, nextToken, amazonOrderIds, actualFulfillmentSupplySourceId, isISPU, storeChainStoreId, options) {
|
|
512
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrders(marketplaceIds, createdAfter, createdBefore, lastUpdatedAfter, lastUpdatedBefore, orderStatuses, fulfillmentChannels, paymentMethods, buyerEmail, sellerOrderId, maxResultsPerPage, easyShipShipmentStatuses, electronicInvoiceStatuses, nextToken, amazonOrderIds, actualFulfillmentSupplySourceId, isISPU, storeChainStoreId, options);
|
|
531
|
+
async getOrders(marketplaceIds, createdAfter, createdBefore, lastUpdatedAfter, lastUpdatedBefore, orderStatuses, fulfillmentChannels, paymentMethods, buyerEmail, sellerOrderId, maxResultsPerPage, easyShipShipmentStatuses, electronicInvoiceStatuses, nextToken, amazonOrderIds, actualFulfillmentSupplySourceId, isISPU, storeChainStoreId, earliestDeliveryDateBefore, earliestDeliveryDateAfter, latestDeliveryDateBefore, latestDeliveryDateAfter, options) {
|
|
532
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getOrders(marketplaceIds, createdAfter, createdBefore, lastUpdatedAfter, lastUpdatedBefore, orderStatuses, fulfillmentChannels, paymentMethods, buyerEmail, sellerOrderId, maxResultsPerPage, easyShipShipmentStatuses, electronicInvoiceStatuses, nextToken, amazonOrderIds, actualFulfillmentSupplySourceId, isISPU, storeChainStoreId, earliestDeliveryDateBefore, earliestDeliveryDateAfter, latestDeliveryDateBefore, latestDeliveryDateAfter, options);
|
|
513
533
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
514
534
|
},
|
|
515
535
|
/**
|
|
@@ -614,7 +634,7 @@ const OrdersV0ApiFactory = function (configuration, basePath, axios) {
|
|
|
614
634
|
* @throws {RequiredError}
|
|
615
635
|
*/
|
|
616
636
|
getOrders(requestParameters, options) {
|
|
617
|
-
return localVarFp.getOrders(requestParameters.marketplaceIds, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.orderStatuses, requestParameters.fulfillmentChannels, requestParameters.paymentMethods, requestParameters.buyerEmail, requestParameters.sellerOrderId, requestParameters.maxResultsPerPage, requestParameters.easyShipShipmentStatuses, requestParameters.electronicInvoiceStatuses, requestParameters.nextToken, requestParameters.amazonOrderIds, requestParameters.actualFulfillmentSupplySourceId, requestParameters.isISPU, requestParameters.storeChainStoreId, options).then((request) => request(axios, basePath));
|
|
637
|
+
return localVarFp.getOrders(requestParameters.marketplaceIds, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.orderStatuses, requestParameters.fulfillmentChannels, requestParameters.paymentMethods, requestParameters.buyerEmail, requestParameters.sellerOrderId, requestParameters.maxResultsPerPage, requestParameters.easyShipShipmentStatuses, requestParameters.electronicInvoiceStatuses, requestParameters.nextToken, requestParameters.amazonOrderIds, requestParameters.actualFulfillmentSupplySourceId, requestParameters.isISPU, requestParameters.storeChainStoreId, requestParameters.earliestDeliveryDateBefore, requestParameters.earliestDeliveryDateAfter, requestParameters.latestDeliveryDateBefore, requestParameters.latestDeliveryDateAfter, options).then((request) => request(axios, basePath));
|
|
618
638
|
},
|
|
619
639
|
/**
|
|
620
640
|
* Update the shipment status for an order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
@@ -722,7 +742,7 @@ class OrdersV0Api extends base_1.BaseAPI {
|
|
|
722
742
|
* @memberof OrdersV0Api
|
|
723
743
|
*/
|
|
724
744
|
getOrders(requestParameters, options) {
|
|
725
|
-
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrders(requestParameters.marketplaceIds, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.orderStatuses, requestParameters.fulfillmentChannels, requestParameters.paymentMethods, requestParameters.buyerEmail, requestParameters.sellerOrderId, requestParameters.maxResultsPerPage, requestParameters.easyShipShipmentStatuses, requestParameters.electronicInvoiceStatuses, requestParameters.nextToken, requestParameters.amazonOrderIds, requestParameters.actualFulfillmentSupplySourceId, requestParameters.isISPU, requestParameters.storeChainStoreId, options).then((request) => request(this.axios, this.basePath));
|
|
745
|
+
return (0, exports.OrdersV0ApiFp)(this.configuration).getOrders(requestParameters.marketplaceIds, requestParameters.createdAfter, requestParameters.createdBefore, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.orderStatuses, requestParameters.fulfillmentChannels, requestParameters.paymentMethods, requestParameters.buyerEmail, requestParameters.sellerOrderId, requestParameters.maxResultsPerPage, requestParameters.easyShipShipmentStatuses, requestParameters.electronicInvoiceStatuses, requestParameters.nextToken, requestParameters.amazonOrderIds, requestParameters.actualFulfillmentSupplySourceId, requestParameters.isISPU, requestParameters.storeChainStoreId, requestParameters.earliestDeliveryDateBefore, requestParameters.earliestDeliveryDateAfter, requestParameters.latestDeliveryDateBefore, requestParameters.latestDeliveryDateAfter, options).then((request) => request(this.axios, this.basePath));
|
|
726
746
|
}
|
|
727
747
|
/**
|
|
728
748
|
* Update the shipment status for an order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values then those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.AssociationType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* The type of association an item has with an order item.
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.AssociationType = {
|
|
23
|
+
ValueAddService: 'VALUE_ADD_SERVICE'
|
|
24
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -15,6 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./address"), exports);
|
|
18
|
+
__exportStar(require("./associated-item"), exports);
|
|
19
|
+
__exportStar(require("./association-type"), exports);
|
|
18
20
|
__exportStar(require("./automated-shipping-settings"), exports);
|
|
19
21
|
__exportStar(require("./business-hours"), exports);
|
|
20
22
|
__exportStar(require("./buyer-customized-info-detail"), exports);
|
|
@@ -39,6 +41,7 @@ __exportStar(require("./get-order-response"), exports);
|
|
|
39
41
|
__exportStar(require("./get-orders-response"), exports);
|
|
40
42
|
__exportStar(require("./item-buyer-info"), exports);
|
|
41
43
|
__exportStar(require("./marketplace-tax-info"), exports);
|
|
44
|
+
__exportStar(require("./measurement"), exports);
|
|
42
45
|
__exportStar(require("./model-error"), exports);
|
|
43
46
|
__exportStar(require("./money"), exports);
|
|
44
47
|
__exportStar(require("./open-interval"), exports);
|
|
@@ -64,6 +67,8 @@ __exportStar(require("./regulated-information-field"), exports);
|
|
|
64
67
|
__exportStar(require("./regulated-order-verification-status"), exports);
|
|
65
68
|
__exportStar(require("./rejection-reason"), exports);
|
|
66
69
|
__exportStar(require("./shipment-status"), exports);
|
|
70
|
+
__exportStar(require("./substitution-option"), exports);
|
|
71
|
+
__exportStar(require("./substitution-preferences"), exports);
|
|
67
72
|
__exportStar(require("./tax-classification"), exports);
|
|
68
73
|
__exportStar(require("./tax-collection"), exports);
|
|
69
74
|
__exportStar(require("./update-shipment-status-error-response"), exports);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Selling Partner API for Orders
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MeasurementUnitEnum = void 0;
|
|
17
|
+
exports.MeasurementUnitEnum = {
|
|
18
|
+
Ounces: 'OUNCES',
|
|
19
|
+
Pounds: 'POUNDS',
|
|
20
|
+
Kilograms: 'KILOGRAMS',
|
|
21
|
+
Grams: 'GRAMS',
|
|
22
|
+
Milligrams: 'MILLIGRAMS',
|
|
23
|
+
Inches: 'INCHES',
|
|
24
|
+
Feet: 'FEET',
|
|
25
|
+
Meters: 'METERS',
|
|
26
|
+
Centimeters: 'CENTIMETERS',
|
|
27
|
+
Millimeters: 'MILLIMETERS',
|
|
28
|
+
SquareMeters: 'SQUARE_METERS',
|
|
29
|
+
SquareCentimeters: 'SQUARE_CENTIMETERS',
|
|
30
|
+
SquareFeet: 'SQUARE_FEET',
|
|
31
|
+
SquareInches: 'SQUARE_INCHES',
|
|
32
|
+
Gallons: 'GALLONS',
|
|
33
|
+
Pints: 'PINTS',
|
|
34
|
+
Quarts: 'QUARTS',
|
|
35
|
+
FluidOunces: 'FLUID_OUNCES',
|
|
36
|
+
Liters: 'LITERS',
|
|
37
|
+
CubicMeters: 'CUBIC_METERS',
|
|
38
|
+
CubicFeet: 'CUBIC_FEET',
|
|
39
|
+
CubicInches: 'CUBIC_INCHES',
|
|
40
|
+
CubicCentimeters: 'CUBIC_CENTIMETERS',
|
|
41
|
+
Count: 'COUNT'
|
|
42
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Selling Partner API for Orders
|
|
6
|
-
* 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
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v0
|
|
9
9
|
*
|