@sp-api-sdk/orders-api-v0 5.5.0 → 5.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/cjs/api-model/api/orders-api.js +0 -59
  2. package/dist/cjs/api-model/models/index.js +0 -9
  3. package/dist/cjs/client.js +0 -7
  4. package/dist/es/api-model/api/orders-api.js +0 -59
  5. package/dist/es/api-model/models/index.js +0 -9
  6. package/dist/es/client.js +0 -7
  7. package/dist/types/api-model/api/orders-api.d.ts +0 -38
  8. package/dist/types/api-model/models/index.d.ts +0 -9
  9. package/dist/types/api-model/models/order-item.d.ts +0 -2
  10. package/package.json +4 -4
  11. package/dist/cjs/api-model/models/export-info.js +0 -15
  12. package/dist/cjs/api-model/models/fulfillment-instructions.js +0 -15
  13. package/dist/cjs/api-model/models/fulfillment-location.js +0 -15
  14. package/dist/cjs/api-model/models/fulfillment-plan-constraint-type.js +0 -23
  15. package/dist/cjs/api-model/models/fulfillment-plan-item.js +0 -15
  16. package/dist/cjs/api-model/models/fulfillment-plan-shipping-constraints.js +0 -15
  17. package/dist/cjs/api-model/models/fulfillment-plan.js +0 -27
  18. package/dist/cjs/api-model/models/get-order-fulfillment-instructions-response.js +0 -15
  19. package/dist/cjs/api-model/models/shipping-instructions.js +0 -15
  20. package/dist/es/api-model/models/export-info.js +0 -14
  21. package/dist/es/api-model/models/fulfillment-instructions.js +0 -14
  22. package/dist/es/api-model/models/fulfillment-location.js +0 -14
  23. package/dist/es/api-model/models/fulfillment-plan-constraint-type.js +0 -20
  24. package/dist/es/api-model/models/fulfillment-plan-item.js +0 -14
  25. package/dist/es/api-model/models/fulfillment-plan-shipping-constraints.js +0 -14
  26. package/dist/es/api-model/models/fulfillment-plan.js +0 -24
  27. package/dist/es/api-model/models/get-order-fulfillment-instructions-response.js +0 -14
  28. package/dist/es/api-model/models/shipping-instructions.js +0 -14
  29. package/dist/types/api-model/models/export-info.d.ts +0 -22
  30. package/dist/types/api-model/models/fulfillment-instructions.d.ts +0 -25
  31. package/dist/types/api-model/models/fulfillment-location.d.ts +0 -20
  32. package/dist/types/api-model/models/fulfillment-plan-constraint-type.d.ts +0 -19
  33. package/dist/types/api-model/models/fulfillment-plan-item.d.ts +0 -22
  34. package/dist/types/api-model/models/fulfillment-plan-shipping-constraints.d.ts +0 -19
  35. package/dist/types/api-model/models/fulfillment-plan.d.ts +0 -58
  36. package/dist/types/api-model/models/get-order-fulfillment-instructions-response.d.ts +0 -22
  37. package/dist/types/api-model/models/shipping-instructions.d.ts +0 -26
@@ -149,35 +149,6 @@ const OrdersApiAxiosParamCreator = function (configuration) {
149
149
  options: localVarRequestOptions,
150
150
  };
151
151
  },
152
- /**
153
- * Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
154
- * @param {string} orderId The Amazon order identifier in 3-7-7 format.
155
- * @param {*} [options] Override http request option.
156
- * @throws {RequiredError}
157
- */
158
- getOrderFulfillmentInstructions: async (orderId, options = {}) => {
159
- // verify required parameter 'orderId' is not null or undefined
160
- (0, common_1.assertParamExists)('getOrderFulfillmentInstructions', 'orderId', orderId);
161
- const localVarPath = `/orders/v0/orders/{orderId}/fulfillmentInstructions`
162
- .replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
163
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
164
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
165
- let baseOptions;
166
- if (configuration) {
167
- baseOptions = configuration.baseOptions;
168
- }
169
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
170
- const localVarHeaderParameter = {};
171
- const localVarQueryParameter = {};
172
- localVarHeaderParameter['Accept'] = 'application/json';
173
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
174
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
175
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
176
- return {
177
- url: (0, common_1.toPathString)(localVarUrlObj),
178
- options: localVarRequestOptions,
179
- };
180
- },
181
152
  /**
182
153
  * Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
183
154
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
@@ -510,18 +481,6 @@ const OrdersApiFp = function (configuration) {
510
481
  const localVarOperationServerBasePath = base_1.operationServerMap['OrdersApi.getOrderBuyerInfo']?.[localVarOperationServerIndex]?.url;
511
482
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
512
483
  },
513
- /**
514
- * Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
515
- * @param {string} orderId The Amazon order identifier in 3-7-7 format.
516
- * @param {*} [options] Override http request option.
517
- * @throws {RequiredError}
518
- */
519
- async getOrderFulfillmentInstructions(orderId, options) {
520
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderFulfillmentInstructions(orderId, options);
521
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
522
- const localVarOperationServerBasePath = base_1.operationServerMap['OrdersApi.getOrderFulfillmentInstructions']?.[localVarOperationServerIndex]?.url;
523
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
524
- },
525
484
  /**
526
485
  * Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
527
486
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
@@ -663,15 +622,6 @@ const OrdersApiFactory = function (configuration, basePath, axios) {
663
622
  getOrderBuyerInfo(requestParameters, options) {
664
623
  return localVarFp.getOrderBuyerInfo(requestParameters.orderId, options).then((request) => request(axios, basePath));
665
624
  },
666
- /**
667
- * Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
668
- * @param {OrdersApiGetOrderFulfillmentInstructionsRequest} requestParameters Request parameters.
669
- * @param {*} [options] Override http request option.
670
- * @throws {RequiredError}
671
- */
672
- getOrderFulfillmentInstructions(requestParameters, options) {
673
- return localVarFp.getOrderFulfillmentInstructions(requestParameters.orderId, options).then((request) => request(axios, basePath));
674
- },
675
625
  /**
676
626
  * Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
677
627
  * @param {OrdersApiGetOrderItemsRequest} requestParameters Request parameters.
@@ -769,15 +719,6 @@ class OrdersApi extends base_1.BaseAPI {
769
719
  getOrderBuyerInfo(requestParameters, options) {
770
720
  return (0, exports.OrdersApiFp)(this.configuration).getOrderBuyerInfo(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
771
721
  }
772
- /**
773
- * Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
774
- * @param {OrdersApiGetOrderFulfillmentInstructionsRequest} requestParameters Request parameters.
775
- * @param {*} [options] Override http request option.
776
- * @throws {RequiredError}
777
- */
778
- getOrderFulfillmentInstructions(requestParameters, options) {
779
- return (0, exports.OrdersApiFp)(this.configuration).getOrderFulfillmentInstructions(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
780
- }
781
722
  /**
782
723
  * Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
783
724
  * @param {OrdersApiGetOrderItemsRequest} requestParameters Request parameters.
@@ -34,17 +34,9 @@ __exportStar(require("./delivery-preferences"), exports);
34
34
  __exportStar(require("./easy-ship-shipment-status"), exports);
35
35
  __exportStar(require("./electronic-invoice-status"), exports);
36
36
  __exportStar(require("./exception-dates"), exports);
37
- __exportStar(require("./export-info"), exports);
38
37
  __exportStar(require("./fulfillment-instruction"), exports);
39
- __exportStar(require("./fulfillment-instructions"), exports);
40
- __exportStar(require("./fulfillment-location"), exports);
41
- __exportStar(require("./fulfillment-plan"), exports);
42
- __exportStar(require("./fulfillment-plan-constraint-type"), exports);
43
- __exportStar(require("./fulfillment-plan-item"), exports);
44
- __exportStar(require("./fulfillment-plan-shipping-constraints"), exports);
45
38
  __exportStar(require("./get-order-address-response"), exports);
46
39
  __exportStar(require("./get-order-buyer-info-response"), exports);
47
- __exportStar(require("./get-order-fulfillment-instructions-response"), exports);
48
40
  __exportStar(require("./get-order-items-buyer-info-response"), exports);
49
41
  __exportStar(require("./get-order-items-response"), exports);
50
42
  __exportStar(require("./get-order-regulated-info-response"), exports);
@@ -80,7 +72,6 @@ __exportStar(require("./regulated-order-verification-status"), exports);
80
72
  __exportStar(require("./rejection-reason"), exports);
81
73
  __exportStar(require("./shipment-status"), exports);
82
74
  __exportStar(require("./shipping-constraints"), exports);
83
- __exportStar(require("./shipping-instructions"), exports);
84
75
  __exportStar(require("./substitution-option"), exports);
85
76
  __exportStar(require("./substitution-preferences"), exports);
86
77
  __exportStar(require("./tax-classification"), exports);
@@ -32,13 +32,6 @@ exports.clientRateLimits = [
32
32
  rate: 0.5,
33
33
  burst: 30,
34
34
  },
35
- {
36
- method: 'get',
37
- // eslint-disable-next-line prefer-regex-literals
38
- urlRegex: new RegExp('^/orders/v0/orders/[^/]*/fulfillmentInstructions$'),
39
- rate: 0.5,
40
- burst: 30,
41
- },
42
35
  {
43
36
  method: 'get',
44
37
  // eslint-disable-next-line prefer-regex-literals
@@ -143,35 +143,6 @@ export const OrdersApiAxiosParamCreator = function (configuration) {
143
143
  options: localVarRequestOptions,
144
144
  };
145
145
  },
146
- /**
147
- * Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
148
- * @param {string} orderId The Amazon order identifier in 3-7-7 format.
149
- * @param {*} [options] Override http request option.
150
- * @throws {RequiredError}
151
- */
152
- getOrderFulfillmentInstructions: async (orderId, options = {}) => {
153
- // verify required parameter 'orderId' is not null or undefined
154
- assertParamExists('getOrderFulfillmentInstructions', 'orderId', orderId);
155
- const localVarPath = `/orders/v0/orders/{orderId}/fulfillmentInstructions`
156
- .replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
157
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
158
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
159
- let baseOptions;
160
- if (configuration) {
161
- baseOptions = configuration.baseOptions;
162
- }
163
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
164
- const localVarHeaderParameter = {};
165
- const localVarQueryParameter = {};
166
- localVarHeaderParameter['Accept'] = 'application/json';
167
- setSearchParams(localVarUrlObj, localVarQueryParameter);
168
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
169
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
170
- return {
171
- url: toPathString(localVarUrlObj),
172
- options: localVarRequestOptions,
173
- };
174
- },
175
146
  /**
176
147
  * Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
177
148
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
@@ -503,18 +474,6 @@ export const OrdersApiFp = function (configuration) {
503
474
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.getOrderBuyerInfo']?.[localVarOperationServerIndex]?.url;
504
475
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
505
476
  },
506
- /**
507
- * Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
508
- * @param {string} orderId The Amazon order identifier in 3-7-7 format.
509
- * @param {*} [options] Override http request option.
510
- * @throws {RequiredError}
511
- */
512
- async getOrderFulfillmentInstructions(orderId, options) {
513
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderFulfillmentInstructions(orderId, options);
514
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
515
- const localVarOperationServerBasePath = operationServerMap['OrdersApi.getOrderFulfillmentInstructions']?.[localVarOperationServerIndex]?.url;
516
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
517
- },
518
477
  /**
519
478
  * Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
520
479
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
@@ -655,15 +614,6 @@ export const OrdersApiFactory = function (configuration, basePath, axios) {
655
614
  getOrderBuyerInfo(requestParameters, options) {
656
615
  return localVarFp.getOrderBuyerInfo(requestParameters.orderId, options).then((request) => request(axios, basePath));
657
616
  },
658
- /**
659
- * Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
660
- * @param {OrdersApiGetOrderFulfillmentInstructionsRequest} requestParameters Request parameters.
661
- * @param {*} [options] Override http request option.
662
- * @throws {RequiredError}
663
- */
664
- getOrderFulfillmentInstructions(requestParameters, options) {
665
- return localVarFp.getOrderFulfillmentInstructions(requestParameters.orderId, options).then((request) => request(axios, basePath));
666
- },
667
617
  /**
668
618
  * Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
669
619
  * @param {OrdersApiGetOrderItemsRequest} requestParameters Request parameters.
@@ -760,15 +710,6 @@ export class OrdersApi extends BaseAPI {
760
710
  getOrderBuyerInfo(requestParameters, options) {
761
711
  return OrdersApiFp(this.configuration).getOrderBuyerInfo(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
762
712
  }
763
- /**
764
- * Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
765
- * @param {OrdersApiGetOrderFulfillmentInstructionsRequest} requestParameters Request parameters.
766
- * @param {*} [options] Override http request option.
767
- * @throws {RequiredError}
768
- */
769
- getOrderFulfillmentInstructions(requestParameters, options) {
770
- return OrdersApiFp(this.configuration).getOrderFulfillmentInstructions(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
771
- }
772
713
  /**
773
714
  * Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
774
715
  * @param {OrdersApiGetOrderItemsRequest} requestParameters Request parameters.
@@ -18,17 +18,9 @@ export * from './delivery-preferences';
18
18
  export * from './easy-ship-shipment-status';
19
19
  export * from './electronic-invoice-status';
20
20
  export * from './exception-dates';
21
- export * from './export-info';
22
21
  export * from './fulfillment-instruction';
23
- export * from './fulfillment-instructions';
24
- export * from './fulfillment-location';
25
- export * from './fulfillment-plan';
26
- export * from './fulfillment-plan-constraint-type';
27
- export * from './fulfillment-plan-item';
28
- export * from './fulfillment-plan-shipping-constraints';
29
22
  export * from './get-order-address-response';
30
23
  export * from './get-order-buyer-info-response';
31
- export * from './get-order-fulfillment-instructions-response';
32
24
  export * from './get-order-items-buyer-info-response';
33
25
  export * from './get-order-items-response';
34
26
  export * from './get-order-regulated-info-response';
@@ -64,7 +56,6 @@ export * from './regulated-order-verification-status';
64
56
  export * from './rejection-reason';
65
57
  export * from './shipment-status';
66
58
  export * from './shipping-constraints';
67
- export * from './shipping-instructions';
68
59
  export * from './substitution-option';
69
60
  export * from './substitution-preferences';
70
61
  export * from './tax-classification';
package/dist/es/client.js CHANGED
@@ -29,13 +29,6 @@ export const clientRateLimits = [
29
29
  rate: 0.5,
30
30
  burst: 30,
31
31
  },
32
- {
33
- method: 'get',
34
- // eslint-disable-next-line prefer-regex-literals
35
- urlRegex: new RegExp('^/orders/v0/orders/[^/]*/fulfillmentInstructions$'),
36
- rate: 0.5,
37
- burst: 30,
38
- },
39
32
  {
40
33
  method: 'get',
41
34
  // eslint-disable-next-line prefer-regex-literals
@@ -16,7 +16,6 @@ import { type RequestArgs, BaseAPI } from '../base';
16
16
  import type { ConfirmShipmentRequest } from '../models';
17
17
  import type { GetOrderAddressResponse } from '../models';
18
18
  import type { GetOrderBuyerInfoResponse } from '../models';
19
- import type { GetOrderFulfillmentInstructionsResponse } from '../models';
20
19
  import type { GetOrderItemsBuyerInfoResponse } from '../models';
21
20
  import type { GetOrderItemsResponse } from '../models';
22
21
  import type { GetOrderRegulatedInfoResponse } from '../models';
@@ -57,13 +56,6 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
57
56
  * @throws {RequiredError}
58
57
  */
59
58
  getOrderBuyerInfo: (orderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
60
- /**
61
- * Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
62
- * @param {string} orderId The Amazon order identifier in 3-7-7 format.
63
- * @param {*} [options] Override http request option.
64
- * @throws {RequiredError}
65
- */
66
- getOrderFulfillmentInstructions: (orderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
67
59
  /**
68
60
  * Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
69
61
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
@@ -164,13 +156,6 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
164
156
  * @throws {RequiredError}
165
157
  */
166
158
  getOrderBuyerInfo(orderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrderBuyerInfoResponse>>;
167
- /**
168
- * Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
169
- * @param {string} orderId The Amazon order identifier in 3-7-7 format.
170
- * @param {*} [options] Override http request option.
171
- * @throws {RequiredError}
172
- */
173
- getOrderFulfillmentInstructions(orderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrderFulfillmentInstructionsResponse>>;
174
159
  /**
175
160
  * Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
176
161
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
@@ -270,13 +255,6 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
270
255
  * @throws {RequiredError}
271
256
  */
272
257
  getOrderBuyerInfo(requestParameters: OrdersApiGetOrderBuyerInfoRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOrderBuyerInfoResponse>;
273
- /**
274
- * Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
275
- * @param {OrdersApiGetOrderFulfillmentInstructionsRequest} requestParameters Request parameters.
276
- * @param {*} [options] Override http request option.
277
- * @throws {RequiredError}
278
- */
279
- getOrderFulfillmentInstructions(requestParameters: OrdersApiGetOrderFulfillmentInstructionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOrderFulfillmentInstructionsResponse>;
280
258
  /**
281
259
  * Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
282
260
  * @param {OrdersApiGetOrderItemsRequest} requestParameters Request parameters.
@@ -360,15 +338,6 @@ export interface OrdersApiGetOrderBuyerInfoRequest {
360
338
  */
361
339
  readonly orderId: string;
362
340
  }
363
- /**
364
- * Request parameters for getOrderFulfillmentInstructions operation in OrdersApi.
365
- */
366
- export interface OrdersApiGetOrderFulfillmentInstructionsRequest {
367
- /**
368
- * The Amazon order identifier in 3-7-7 format.
369
- */
370
- readonly orderId: string;
371
- }
372
341
  /**
373
342
  * Request parameters for getOrderItems operation in OrdersApi.
374
343
  */
@@ -551,13 +520,6 @@ export declare class OrdersApi extends BaseAPI {
551
520
  * @throws {RequiredError}
552
521
  */
553
522
  getOrderBuyerInfo(requestParameters: OrdersApiGetOrderBuyerInfoRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetOrderBuyerInfoResponse, any, {}>>;
554
- /**
555
- * Returns the fulfillment instructions for the order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
556
- * @param {OrdersApiGetOrderFulfillmentInstructionsRequest} requestParameters Request parameters.
557
- * @param {*} [options] Override http request option.
558
- * @throws {RequiredError}
559
- */
560
- getOrderFulfillmentInstructions(requestParameters: OrdersApiGetOrderFulfillmentInstructionsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetOrderFulfillmentInstructionsResponse, any, {}>>;
561
523
  /**
562
524
  * Returns detailed order item information for the order that you specify. If `NextToken` is provided, it\'s used to retrieve the next page of order items. __Note__: When an order is in the Pending state (the order has been placed but payment has not been authorized), the getOrderItems operation does not return information about pricing, taxes, shipping charges, gift status or promotions for the order items in the order. After an order leaves the Pending state (this occurs when payment has been authorized) and enters the Unshipped, Partially Shipped, or Shipped state, the getOrderItems operation returns information about pricing, taxes, shipping charges, gift status and promotions for the order items in the order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.5 | 30 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
563
525
  * @param {OrdersApiGetOrderItemsRequest} requestParameters Request parameters.
@@ -18,17 +18,9 @@ export * from './delivery-preferences';
18
18
  export * from './easy-ship-shipment-status';
19
19
  export * from './electronic-invoice-status';
20
20
  export * from './exception-dates';
21
- export * from './export-info';
22
21
  export * from './fulfillment-instruction';
23
- export * from './fulfillment-instructions';
24
- export * from './fulfillment-location';
25
- export * from './fulfillment-plan';
26
- export * from './fulfillment-plan-constraint-type';
27
- export * from './fulfillment-plan-item';
28
- export * from './fulfillment-plan-shipping-constraints';
29
22
  export * from './get-order-address-response';
30
23
  export * from './get-order-buyer-info-response';
31
- export * from './get-order-fulfillment-instructions-response';
32
24
  export * from './get-order-items-buyer-info-response';
33
25
  export * from './get-order-items-response';
34
26
  export * from './get-order-regulated-info-response';
@@ -64,7 +56,6 @@ export * from './regulated-order-verification-status';
64
56
  export * from './rejection-reason';
65
57
  export * from './shipment-status';
66
58
  export * from './shipping-constraints';
67
- export * from './shipping-instructions';
68
59
  export * from './substitution-option';
69
60
  export * from './substitution-preferences';
70
61
  export * from './tax-classification';
@@ -12,7 +12,6 @@
12
12
  import type { AmazonPrograms } from './amazon-programs';
13
13
  import type { AssociatedItem } from './associated-item';
14
14
  import type { BuyerRequestedCancel } from './buyer-requested-cancel';
15
- import type { ExportInfo } from './export-info';
16
15
  import type { ItemBuyerInfo } from './item-buyer-info';
17
16
  import type { Measurement } from './measurement';
18
17
  import type { Money } from './money';
@@ -128,7 +127,6 @@ export interface OrderItem {
128
127
  'Measurement'?: Measurement;
129
128
  'ShippingConstraints'?: ShippingConstraints;
130
129
  'AmazonPrograms'?: AmazonPrograms;
131
- 'ExportInfo'?: ExportInfo;
132
130
  }
133
131
  export declare const OrderItemDeemedResellerCategoryEnum: {
134
132
  readonly Ioss: "IOSS";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/orders-api-v0",
3
3
  "author": "Bertrand Marron <bertrand@bizon.solutions>",
4
4
  "description": "Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. Note: For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don't show up in the response).",
5
- "version": "5.5.0",
5
+ "version": "5.6.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": "2.1.27",
22
- "axios": "^1.13.4"
21
+ "@sp-api-sdk/common": "2.1.28",
22
+ "axios": "^1.13.5"
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": "9719d5934bed9715406acc691a8334148345a588"
43
+ "gitHead": "111f635ee267c031683ba5cd53937a7f381574be"
44
44
  }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Selling Partner API for Orders
6
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
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 });
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Selling Partner API for Orders
6
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
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 });
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Selling Partner API for Orders
6
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
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 });
@@ -1,23 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Selling Partner API for Orders
6
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
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.FulfillmentPlanConstraintType = void 0;
17
- /**
18
- * Details the importance of the constraint present on the item.
19
- */
20
- exports.FulfillmentPlanConstraintType = {
21
- Mandatory: 'MANDATORY',
22
- Recommended: 'RECOMMENDED'
23
- };
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Selling Partner API for Orders
6
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
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 });
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Selling Partner API for Orders
6
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
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 });
@@ -1,27 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Selling Partner API for Orders
6
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
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.FulfillmentPlanFulfillmentPlanStatusEnum = exports.FulfillmentPlanFulfillmentTypeEnum = void 0;
17
- exports.FulfillmentPlanFulfillmentTypeEnum = {
18
- InstorePickup: 'INSTORE_PICKUP',
19
- Service: 'SERVICE',
20
- Ship: 'SHIP'
21
- };
22
- exports.FulfillmentPlanFulfillmentPlanStatusEnum = {
23
- Active: 'ACTIVE',
24
- Aborted: 'ABORTED',
25
- Completed: 'COMPLETED',
26
- PartiallyFulfilled: 'PARTIALLY_FULFILLED'
27
- };
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Selling Partner API for Orders
6
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
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 });
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Selling Partner API for Orders
6
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
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 });
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Orders
5
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Orders
5
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Orders
5
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,20 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Orders
5
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Details the importance of the constraint present on the item.
16
- */
17
- export const FulfillmentPlanConstraintType = {
18
- Mandatory: 'MANDATORY',
19
- Recommended: 'RECOMMENDED'
20
- };
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Orders
5
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Orders
5
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,24 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Orders
5
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export const FulfillmentPlanFulfillmentTypeEnum = {
15
- InstorePickup: 'INSTORE_PICKUP',
16
- Service: 'SERVICE',
17
- Ship: 'SHIP'
18
- };
19
- export const FulfillmentPlanFulfillmentPlanStatusEnum = {
20
- Active: 'ACTIVE',
21
- Aborted: 'ABORTED',
22
- Completed: 'COMPLETED',
23
- PartiallyFulfilled: 'PARTIALLY_FULFILLED'
24
- };
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Orders
5
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,14 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Selling Partner API for Orders
5
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
6
- *
7
- * The version of the OpenAPI document: v0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- export {};
@@ -1,22 +0,0 @@
1
- /**
2
- * Selling Partner API for Orders
3
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
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 type { Money } from './money';
13
- /**
14
- * Contains information that is related to the export of an order item.
15
- */
16
- export interface ExportInfo {
17
- 'ExportCharge'?: Money;
18
- /**
19
- * Holds the `ExportCharge` collection model that is associated with the specified order item. **Possible values**: `AMAZON_FACILITATED`: Import/export charge is withheld by Amazon and remitted to the customs authority by the carrier on behalf of the buyer/seller.
20
- */
21
- 'ExportChargeModel'?: string;
22
- }
@@ -1,25 +0,0 @@
1
- /**
2
- * Selling Partner API for Orders
3
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
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 type { FulfillmentPlan } from './fulfillment-plan';
13
- /**
14
- * Contains all fulfillment plans for the order
15
- */
16
- export interface FulfillmentInstructions {
17
- /**
18
- * List of all fulfillment plans for the given order id
19
- */
20
- 'FulfillmentPlans'?: Array<FulfillmentPlan>;
21
- /**
22
- * An Amazon-defined order identifier, in 3-7-7 format.
23
- */
24
- 'AmazonOrderId': string;
25
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * Selling Partner API for Orders
3
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
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
- /**
13
- * Represents a location from which the plan is to be fulfilled.
14
- */
15
- export interface FulfillmentLocation {
16
- /**
17
- * The fulfillment location identifier.
18
- */
19
- 'SupplySourceId'?: string;
20
- }
@@ -1,19 +0,0 @@
1
- /**
2
- * Selling Partner API for Orders
3
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
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
- /**
13
- * Details the importance of the constraint present on the item.
14
- */
15
- export declare const FulfillmentPlanConstraintType: {
16
- readonly Mandatory: "MANDATORY";
17
- readonly Recommended: "RECOMMENDED";
18
- };
19
- export type FulfillmentPlanConstraintType = typeof FulfillmentPlanConstraintType[keyof typeof FulfillmentPlanConstraintType];
@@ -1,22 +0,0 @@
1
- /**
2
- * Selling Partner API for Orders
3
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
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 type { Measurement } from './measurement';
13
- /**
14
- * The order items associated with this fulfillment plan.
15
- */
16
- export interface FulfillmentPlanItem {
17
- /**
18
- * An Amazon-defined associated order item\'s order item identifier.
19
- */
20
- 'OrderItemId': string;
21
- 'Measurement': Measurement;
22
- }
@@ -1,19 +0,0 @@
1
- /**
2
- * Selling Partner API for Orders
3
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
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 type { FulfillmentPlanConstraintType } from './fulfillment-plan-constraint-type';
13
- /**
14
- * Delivery constraints applicable to this order.
15
- */
16
- export interface FulfillmentPlanShippingConstraints {
17
- 'PalletDelivery'?: FulfillmentPlanConstraintType;
18
- 'SignatureConfirmation'?: FulfillmentPlanConstraintType;
19
- }
@@ -1,58 +0,0 @@
1
- /**
2
- * Selling Partner API for Orders
3
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
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 type { FulfillmentLocation } from './fulfillment-location';
13
- import type { FulfillmentPlanItem } from './fulfillment-plan-item';
14
- import type { ShippingInstructions } from './shipping-instructions';
15
- /**
16
- * A collection of order items that are to be fulfilled from the same location with the same shipping, pickup, and service instructions.
17
- */
18
- export interface FulfillmentPlan {
19
- /**
20
- * Unique identifier for a fulfillment plan.
21
- */
22
- 'FulfillmentPlanId': string;
23
- /**
24
- * Time when the fulfillment plan was created in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
25
- */
26
- 'CreationDate': string;
27
- /**
28
- * Type of fulfillment
29
- */
30
- 'FulfillmentType': FulfillmentPlanFulfillmentTypeEnum;
31
- /**
32
- * The fulfillment plan status.
33
- */
34
- 'FulfillmentPlanStatus': FulfillmentPlanFulfillmentPlanStatusEnum;
35
- /**
36
- * The time when the fulfillment plan\'s status was last updated in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
37
- */
38
- 'LastStatusUpdateDate': string;
39
- 'FulfillmentLocation'?: FulfillmentLocation;
40
- 'ShippingInstructions'?: ShippingInstructions;
41
- /**
42
- * The details of the order items that are included in the fulfillment plan.
43
- */
44
- 'FulfillmentPlanItems': Array<FulfillmentPlanItem>;
45
- }
46
- export declare const FulfillmentPlanFulfillmentTypeEnum: {
47
- readonly InstorePickup: "INSTORE_PICKUP";
48
- readonly Service: "SERVICE";
49
- readonly Ship: "SHIP";
50
- };
51
- export type FulfillmentPlanFulfillmentTypeEnum = typeof FulfillmentPlanFulfillmentTypeEnum[keyof typeof FulfillmentPlanFulfillmentTypeEnum];
52
- export declare const FulfillmentPlanFulfillmentPlanStatusEnum: {
53
- readonly Active: "ACTIVE";
54
- readonly Aborted: "ABORTED";
55
- readonly Completed: "COMPLETED";
56
- readonly PartiallyFulfilled: "PARTIALLY_FULFILLED";
57
- };
58
- export type FulfillmentPlanFulfillmentPlanStatusEnum = typeof FulfillmentPlanFulfillmentPlanStatusEnum[keyof typeof FulfillmentPlanFulfillmentPlanStatusEnum];
@@ -1,22 +0,0 @@
1
- /**
2
- * Selling Partner API for Orders
3
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
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 type { FulfillmentInstructions } from './fulfillment-instructions';
13
- /**
14
- * The response schema for the `getOrderFulfillmentInstructions` operation.
15
- */
16
- export interface GetOrderFulfillmentInstructionsResponse {
17
- 'payload'?: FulfillmentInstructions;
18
- /**
19
- * A list of error responses returned when a request is unsuccessful.
20
- */
21
- 'errors'?: Array<Error>;
22
- }
@@ -1,26 +0,0 @@
1
- /**
2
- * Selling Partner API for Orders
3
- * Use the Orders Selling Partner API to programmatically retrieve order information. With this API, you can develop fast, flexible, and custom applications to manage order synchronization, perform order research, and create demand-based decision support tools. _Note:_ For the JP, AU, and SG marketplaces, the Orders API supports orders from 2016 onward. For all other marketplaces, the Orders API supports orders for the last two years (orders older than this don\'t show up in the response).
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 type { FulfillmentPlanShippingConstraints } from './fulfillment-plan-shipping-constraints';
13
- /**
14
- * The shipping-related information of a delivery.
15
- */
16
- export interface ShippingInstructions {
17
- /**
18
- * The name of the carrier that delivers the package.
19
- */
20
- 'CarrierCode'?: string;
21
- /**
22
- * The ship method that is used for the order.
23
- */
24
- 'ShippingMethod'?: string;
25
- 'ShippingConstraints'?: FulfillmentPlanShippingConstraints;
26
- }