@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.
- package/README.md +3 -1
- package/dist/cjs/src/api-model/api/orders-v0-api.js +26 -6
- 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/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 +3 -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 +26 -6
- 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/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 +3 -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 +35 -3
- 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/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 +3 -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 +16 -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 +2 -2
- 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 +2 -2
- 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
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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:
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
5
|
-
"version": "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.
|
|
22
|
-
"axios": "^1.
|
|
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": "
|
|
43
|
+
"gitHead": "504bc3889d8c5dba1870b3c1a3b3f4ab1cf8b7cc"
|
|
44
44
|
}
|