@sp-api-sdk/orders-api-v0 5.3.6 → 5.5.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 (42) hide show
  1. package/dist/cjs/api-model/api/orders-api.js +70 -16
  2. package/dist/cjs/api-model/common.js +17 -3
  3. package/dist/cjs/api-model/models/export-info.js +15 -0
  4. package/dist/cjs/api-model/models/fulfillment-instructions.js +15 -0
  5. package/dist/cjs/api-model/models/fulfillment-location.js +15 -0
  6. package/dist/cjs/api-model/models/fulfillment-plan-constraint-type.js +23 -0
  7. package/dist/cjs/api-model/models/fulfillment-plan-item.js +15 -0
  8. package/dist/cjs/api-model/models/fulfillment-plan-shipping-constraints.js +15 -0
  9. package/dist/cjs/api-model/models/fulfillment-plan.js +27 -0
  10. package/dist/cjs/api-model/models/get-order-fulfillment-instructions-response.js +15 -0
  11. package/dist/cjs/api-model/models/index.js +9 -0
  12. package/dist/cjs/api-model/models/shipping-instructions.js +15 -0
  13. package/dist/cjs/client.js +7 -0
  14. package/dist/es/api-model/api/orders-api.js +70 -16
  15. package/dist/es/api-model/common.js +15 -2
  16. package/dist/es/api-model/models/export-info.js +14 -0
  17. package/dist/es/api-model/models/fulfillment-instructions.js +14 -0
  18. package/dist/es/api-model/models/fulfillment-location.js +14 -0
  19. package/dist/es/api-model/models/fulfillment-plan-constraint-type.js +20 -0
  20. package/dist/es/api-model/models/fulfillment-plan-item.js +14 -0
  21. package/dist/es/api-model/models/fulfillment-plan-shipping-constraints.js +14 -0
  22. package/dist/es/api-model/models/fulfillment-plan.js +24 -0
  23. package/dist/es/api-model/models/get-order-fulfillment-instructions-response.js +14 -0
  24. package/dist/es/api-model/models/index.js +9 -0
  25. package/dist/es/api-model/models/shipping-instructions.js +14 -0
  26. package/dist/es/client.js +7 -0
  27. package/dist/types/api-model/api/orders-api.d.ts +49 -17
  28. package/dist/types/api-model/common.d.ts +6 -0
  29. package/dist/types/api-model/models/buyer-info.d.ts +0 -4
  30. package/dist/types/api-model/models/export-info.d.ts +22 -0
  31. package/dist/types/api-model/models/fulfillment-instructions.d.ts +25 -0
  32. package/dist/types/api-model/models/fulfillment-location.d.ts +20 -0
  33. package/dist/types/api-model/models/fulfillment-plan-constraint-type.d.ts +19 -0
  34. package/dist/types/api-model/models/fulfillment-plan-item.d.ts +22 -0
  35. package/dist/types/api-model/models/fulfillment-plan-shipping-constraints.d.ts +19 -0
  36. package/dist/types/api-model/models/fulfillment-plan.d.ts +58 -0
  37. package/dist/types/api-model/models/get-order-fulfillment-instructions-response.d.ts +22 -0
  38. package/dist/types/api-model/models/index.d.ts +9 -0
  39. package/dist/types/api-model/models/order-buyer-info.d.ts +0 -4
  40. package/dist/types/api-model/models/order-item.d.ts +2 -0
  41. package/dist/types/api-model/models/shipping-instructions.d.ts +26 -0
  42. package/package.json +4 -4
@@ -16,6 +16,7 @@ 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';
19
20
  import type { GetOrderItemsBuyerInfoResponse } from '../models';
20
21
  import type { GetOrderItemsResponse } from '../models';
21
22
  import type { GetOrderRegulatedInfoResponse } from '../models';
@@ -56,6 +57,13 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
56
57
  * @throws {RequiredError}
57
58
  */
58
59
  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>;
59
67
  /**
60
68
  * 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).
61
69
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
@@ -89,8 +97,7 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
89
97
  * @param {Array<string>} [orderStatuses] A list of &#x60;OrderStatus&#x60; values used to filter the results. **Possible values:** - &#x60;PendingAvailability&#x60; (This status is available for pre-orders only. The order has been placed, payment has not been authorized, and the release date of the item is in the future.) - &#x60;Pending&#x60; (The order has been placed but payment has not been authorized.) - &#x60;Unshipped&#x60; (Payment has been authorized and the order is ready for shipment, but no items in the order have been shipped.) - &#x60;PartiallyShipped&#x60; (One or more, but not all, items in the order have been shipped.) - &#x60;Shipped&#x60; (All items in the order have been shipped.) - &#x60;InvoiceUnconfirmed&#x60; (All items in the order have been shipped. The seller has not yet given confirmation to Amazon that the invoice has been shipped to the buyer.) - &#x60;Canceled&#x60; (The order has been canceled.) - &#x60;Unfulfillable&#x60; (The order cannot be fulfilled. This state applies only to Multi-Channel Fulfillment orders.)
90
98
  * @param {Array<string>} [fulfillmentChannels] A list that indicates how an order was fulfilled. Filters the results by fulfillment channel. **Possible values**: &#x60;AFN&#x60; (fulfilled by Amazon), &#x60;MFN&#x60; (fulfilled by seller).
91
99
  * @param {Array<string>} [paymentMethods] A list of payment method values. Use this field to select orders that were paid with the specified payment methods. **Possible values**: &#x60;COD&#x60; (cash on delivery), &#x60;CVS&#x60; (convenience store), &#x60;Other&#x60; (Any payment method other than COD or CVS).
92
- * @param {string} [buyerEmail] The email address of a buyer. Used to select orders that contain the specified email address.
93
- * @param {string} [sellerOrderId] An order identifier that is specified by the seller. Used to select only the orders that match the order identifier. If &#x60;SellerOrderId&#x60; is specified, then &#x60;FulfillmentChannels&#x60;, &#x60;OrderStatuses&#x60;, &#x60;PaymentMethod&#x60;, &#x60;LastUpdatedAfter&#x60;, LastUpdatedBefore, and &#x60;BuyerEmail&#x60; cannot be specified.
100
+ * @param {string} [sellerOrderId] An order identifier that is specified by the seller. Used to select only the orders that match the order identifier. If &#x60;SellerOrderId&#x60; is specified, then &#x60;FulfillmentChannels&#x60;, &#x60;OrderStatuses&#x60;, &#x60;PaymentMethod&#x60;, &#x60;LastUpdatedAfter&#x60;, and &#x60;LastUpdatedBefore&#x60; cannot be specified.
94
101
  * @param {number} [maxResultsPerPage] A number that indicates the maximum number of orders that can be returned per page. Value must be 1 - 100. Default 100.
95
102
  * @param {Array<string>} [easyShipShipmentStatuses] A list of &#x60;EasyShipShipmentStatus&#x60; values. Used to select Easy Ship orders with statuses that match the specified values. If &#x60;EasyShipShipmentStatus&#x60; is specified, only Amazon Easy Ship orders are returned. **Possible values:** - &#x60;PendingSchedule&#x60; (The package is awaiting the schedule for pick-up.) - &#x60;PendingPickUp&#x60; (Amazon has not yet picked up the package from the seller.) - &#x60;PendingDropOff&#x60; (The seller will deliver the package to the carrier.) - &#x60;LabelCanceled&#x60; (The seller canceled the pickup.) - &#x60;PickedUp&#x60; (Amazon has picked up the package from the seller.) - &#x60;DroppedOff&#x60; (The package is delivered to the carrier by the seller.) - &#x60;AtOriginFC&#x60; (The packaged is at the origin fulfillment center.) - &#x60;AtDestinationFC&#x60; (The package is at the destination fulfillment center.) - &#x60;Delivered&#x60; (The package has been delivered.) - &#x60;RejectedByBuyer&#x60; (The package has been rejected by the buyer.) - &#x60;Undeliverable&#x60; (The package cannot be delivered.) - &#x60;ReturningToSeller&#x60; (The package was not delivered and is being returned to the seller.) - &#x60;ReturnedToSeller&#x60; (The package was not delivered and was returned to the seller.) - &#x60;Lost&#x60; (The package is lost.) - &#x60;OutForDelivery&#x60; (The package is out for delivery.) - &#x60;Damaged&#x60; (The package was damaged by the carrier.)
96
103
  * @param {Array<string>} [electronicInvoiceStatuses] A list of &#x60;ElectronicInvoiceStatus&#x60; values. Used to select orders with electronic invoice statuses that match the specified values. **Possible values:** - &#x60;NotRequired&#x60; (Electronic invoice submission is not required for this order.) - &#x60;NotFound&#x60; (The electronic invoice was not submitted for this order.) - &#x60;Processing&#x60; (The electronic invoice is being processed for this order.) - &#x60;Errored&#x60; (The last submitted electronic invoice was rejected for this order.) - &#x60;Accepted&#x60; (The last submitted electronic invoice was submitted and accepted.)
@@ -99,14 +106,14 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
99
106
  * @param {string} [actualFulfillmentSupplySourceId] The &#x60;sourceId&#x60; of the location from where you want the order fulfilled.
100
107
  * @param {boolean} [isISPU] When true, this order is marked to be picked up from a store rather than delivered.
101
108
  * @param {string} [storeChainStoreId] The store chain store identifier. Linked to a specific store in a store chain.
102
- * @param {string} [earliestDeliveryDateBefore] Use this date to select orders with a earliest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
103
- * @param {string} [earliestDeliveryDateAfter] Use this date to select orders with a earliest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
109
+ * @param {string} [earliestDeliveryDateBefore] Use this date to select orders with an earliest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
110
+ * @param {string} [earliestDeliveryDateAfter] Use this date to select orders with an earliest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
104
111
  * @param {string} [latestDeliveryDateBefore] Use this date to select orders with a latest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
105
112
  * @param {string} [latestDeliveryDateAfter] Use this date to select orders with a latest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
106
113
  * @param {*} [options] Override http request option.
107
114
  * @throws {RequiredError}
108
115
  */
109
- getOrders: (marketplaceIds: Array<string>, createdAfter?: string, createdBefore?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, orderStatuses?: Array<string>, fulfillmentChannels?: Array<string>, paymentMethods?: Array<string>, buyerEmail?: string, sellerOrderId?: string, maxResultsPerPage?: number, easyShipShipmentStatuses?: Array<string>, electronicInvoiceStatuses?: Array<string>, nextToken?: string, amazonOrderIds?: Array<string>, actualFulfillmentSupplySourceId?: string, isISPU?: boolean, storeChainStoreId?: string, earliestDeliveryDateBefore?: string, earliestDeliveryDateAfter?: string, latestDeliveryDateBefore?: string, latestDeliveryDateAfter?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
116
+ getOrders: (marketplaceIds: Array<string>, createdAfter?: string, createdBefore?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, orderStatuses?: Array<string>, fulfillmentChannels?: Array<string>, paymentMethods?: Array<string>, sellerOrderId?: string, maxResultsPerPage?: number, easyShipShipmentStatuses?: Array<string>, electronicInvoiceStatuses?: Array<string>, nextToken?: string, amazonOrderIds?: Array<string>, actualFulfillmentSupplySourceId?: string, isISPU?: boolean, storeChainStoreId?: string, earliestDeliveryDateBefore?: string, earliestDeliveryDateAfter?: string, latestDeliveryDateBefore?: string, latestDeliveryDateAfter?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
110
117
  /**
111
118
  * Update the shipment status for an order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | The `x-amzn-RateLimit-Limit` response header 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).
112
119
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
@@ -157,6 +164,13 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
157
164
  * @throws {RequiredError}
158
165
  */
159
166
  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>>;
160
174
  /**
161
175
  * 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).
162
176
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
@@ -190,8 +204,7 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
190
204
  * @param {Array<string>} [orderStatuses] A list of &#x60;OrderStatus&#x60; values used to filter the results. **Possible values:** - &#x60;PendingAvailability&#x60; (This status is available for pre-orders only. The order has been placed, payment has not been authorized, and the release date of the item is in the future.) - &#x60;Pending&#x60; (The order has been placed but payment has not been authorized.) - &#x60;Unshipped&#x60; (Payment has been authorized and the order is ready for shipment, but no items in the order have been shipped.) - &#x60;PartiallyShipped&#x60; (One or more, but not all, items in the order have been shipped.) - &#x60;Shipped&#x60; (All items in the order have been shipped.) - &#x60;InvoiceUnconfirmed&#x60; (All items in the order have been shipped. The seller has not yet given confirmation to Amazon that the invoice has been shipped to the buyer.) - &#x60;Canceled&#x60; (The order has been canceled.) - &#x60;Unfulfillable&#x60; (The order cannot be fulfilled. This state applies only to Multi-Channel Fulfillment orders.)
191
205
  * @param {Array<string>} [fulfillmentChannels] A list that indicates how an order was fulfilled. Filters the results by fulfillment channel. **Possible values**: &#x60;AFN&#x60; (fulfilled by Amazon), &#x60;MFN&#x60; (fulfilled by seller).
192
206
  * @param {Array<string>} [paymentMethods] A list of payment method values. Use this field to select orders that were paid with the specified payment methods. **Possible values**: &#x60;COD&#x60; (cash on delivery), &#x60;CVS&#x60; (convenience store), &#x60;Other&#x60; (Any payment method other than COD or CVS).
193
- * @param {string} [buyerEmail] The email address of a buyer. Used to select orders that contain the specified email address.
194
- * @param {string} [sellerOrderId] An order identifier that is specified by the seller. Used to select only the orders that match the order identifier. If &#x60;SellerOrderId&#x60; is specified, then &#x60;FulfillmentChannels&#x60;, &#x60;OrderStatuses&#x60;, &#x60;PaymentMethod&#x60;, &#x60;LastUpdatedAfter&#x60;, LastUpdatedBefore, and &#x60;BuyerEmail&#x60; cannot be specified.
207
+ * @param {string} [sellerOrderId] An order identifier that is specified by the seller. Used to select only the orders that match the order identifier. If &#x60;SellerOrderId&#x60; is specified, then &#x60;FulfillmentChannels&#x60;, &#x60;OrderStatuses&#x60;, &#x60;PaymentMethod&#x60;, &#x60;LastUpdatedAfter&#x60;, and &#x60;LastUpdatedBefore&#x60; cannot be specified.
195
208
  * @param {number} [maxResultsPerPage] A number that indicates the maximum number of orders that can be returned per page. Value must be 1 - 100. Default 100.
196
209
  * @param {Array<string>} [easyShipShipmentStatuses] A list of &#x60;EasyShipShipmentStatus&#x60; values. Used to select Easy Ship orders with statuses that match the specified values. If &#x60;EasyShipShipmentStatus&#x60; is specified, only Amazon Easy Ship orders are returned. **Possible values:** - &#x60;PendingSchedule&#x60; (The package is awaiting the schedule for pick-up.) - &#x60;PendingPickUp&#x60; (Amazon has not yet picked up the package from the seller.) - &#x60;PendingDropOff&#x60; (The seller will deliver the package to the carrier.) - &#x60;LabelCanceled&#x60; (The seller canceled the pickup.) - &#x60;PickedUp&#x60; (Amazon has picked up the package from the seller.) - &#x60;DroppedOff&#x60; (The package is delivered to the carrier by the seller.) - &#x60;AtOriginFC&#x60; (The packaged is at the origin fulfillment center.) - &#x60;AtDestinationFC&#x60; (The package is at the destination fulfillment center.) - &#x60;Delivered&#x60; (The package has been delivered.) - &#x60;RejectedByBuyer&#x60; (The package has been rejected by the buyer.) - &#x60;Undeliverable&#x60; (The package cannot be delivered.) - &#x60;ReturningToSeller&#x60; (The package was not delivered and is being returned to the seller.) - &#x60;ReturnedToSeller&#x60; (The package was not delivered and was returned to the seller.) - &#x60;Lost&#x60; (The package is lost.) - &#x60;OutForDelivery&#x60; (The package is out for delivery.) - &#x60;Damaged&#x60; (The package was damaged by the carrier.)
197
210
  * @param {Array<string>} [electronicInvoiceStatuses] A list of &#x60;ElectronicInvoiceStatus&#x60; values. Used to select orders with electronic invoice statuses that match the specified values. **Possible values:** - &#x60;NotRequired&#x60; (Electronic invoice submission is not required for this order.) - &#x60;NotFound&#x60; (The electronic invoice was not submitted for this order.) - &#x60;Processing&#x60; (The electronic invoice is being processed for this order.) - &#x60;Errored&#x60; (The last submitted electronic invoice was rejected for this order.) - &#x60;Accepted&#x60; (The last submitted electronic invoice was submitted and accepted.)
@@ -200,14 +213,14 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
200
213
  * @param {string} [actualFulfillmentSupplySourceId] The &#x60;sourceId&#x60; of the location from where you want the order fulfilled.
201
214
  * @param {boolean} [isISPU] When true, this order is marked to be picked up from a store rather than delivered.
202
215
  * @param {string} [storeChainStoreId] The store chain store identifier. Linked to a specific store in a store chain.
203
- * @param {string} [earliestDeliveryDateBefore] Use this date to select orders with a earliest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
204
- * @param {string} [earliestDeliveryDateAfter] Use this date to select orders with a earliest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
216
+ * @param {string} [earliestDeliveryDateBefore] Use this date to select orders with an earliest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
217
+ * @param {string} [earliestDeliveryDateAfter] Use this date to select orders with an earliest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
205
218
  * @param {string} [latestDeliveryDateBefore] Use this date to select orders with a latest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
206
219
  * @param {string} [latestDeliveryDateAfter] Use this date to select orders with a latest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
207
220
  * @param {*} [options] Override http request option.
208
221
  * @throws {RequiredError}
209
222
  */
210
- getOrders(marketplaceIds: Array<string>, createdAfter?: string, createdBefore?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, orderStatuses?: Array<string>, fulfillmentChannels?: Array<string>, paymentMethods?: Array<string>, buyerEmail?: string, sellerOrderId?: string, maxResultsPerPage?: number, easyShipShipmentStatuses?: Array<string>, electronicInvoiceStatuses?: Array<string>, nextToken?: string, amazonOrderIds?: Array<string>, actualFulfillmentSupplySourceId?: string, isISPU?: boolean, storeChainStoreId?: string, earliestDeliveryDateBefore?: string, earliestDeliveryDateAfter?: string, latestDeliveryDateBefore?: string, latestDeliveryDateAfter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrdersResponse>>;
223
+ getOrders(marketplaceIds: Array<string>, createdAfter?: string, createdBefore?: string, lastUpdatedAfter?: string, lastUpdatedBefore?: string, orderStatuses?: Array<string>, fulfillmentChannels?: Array<string>, paymentMethods?: Array<string>, sellerOrderId?: string, maxResultsPerPage?: number, easyShipShipmentStatuses?: Array<string>, electronicInvoiceStatuses?: Array<string>, nextToken?: string, amazonOrderIds?: Array<string>, actualFulfillmentSupplySourceId?: string, isISPU?: boolean, storeChainStoreId?: string, earliestDeliveryDateBefore?: string, earliestDeliveryDateAfter?: string, latestDeliveryDateBefore?: string, latestDeliveryDateAfter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrdersResponse>>;
211
224
  /**
212
225
  * Update the shipment status for an order that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 15 | The `x-amzn-RateLimit-Limit` response header 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).
213
226
  * @param {string} orderId An Amazon-defined order identifier, in 3-7-7 format.
@@ -257,6 +270,13 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
257
270
  * @throws {RequiredError}
258
271
  */
259
272
  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>;
260
280
  /**
261
281
  * 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).
262
282
  * @param {OrdersApiGetOrderItemsRequest} requestParameters Request parameters.
@@ -340,6 +360,15 @@ export interface OrdersApiGetOrderBuyerInfoRequest {
340
360
  */
341
361
  readonly orderId: string;
342
362
  }
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
+ }
343
372
  /**
344
373
  * Request parameters for getOrderItems operation in OrdersApi.
345
374
  */
@@ -412,11 +441,7 @@ export interface OrdersApiGetOrdersRequest {
412
441
  */
413
442
  readonly paymentMethods?: Array<string>;
414
443
  /**
415
- * The email address of a buyer. Used to select orders that contain the specified email address.
416
- */
417
- readonly buyerEmail?: string;
418
- /**
419
- * An order identifier that is specified by the seller. Used to select only the orders that match the order identifier. If &#x60;SellerOrderId&#x60; is specified, then &#x60;FulfillmentChannels&#x60;, &#x60;OrderStatuses&#x60;, &#x60;PaymentMethod&#x60;, &#x60;LastUpdatedAfter&#x60;, LastUpdatedBefore, and &#x60;BuyerEmail&#x60; cannot be specified.
444
+ * An order identifier that is specified by the seller. Used to select only the orders that match the order identifier. If &#x60;SellerOrderId&#x60; is specified, then &#x60;FulfillmentChannels&#x60;, &#x60;OrderStatuses&#x60;, &#x60;PaymentMethod&#x60;, &#x60;LastUpdatedAfter&#x60;, and &#x60;LastUpdatedBefore&#x60; cannot be specified.
420
445
  */
421
446
  readonly sellerOrderId?: string;
422
447
  /**
@@ -452,11 +477,11 @@ export interface OrdersApiGetOrdersRequest {
452
477
  */
453
478
  readonly storeChainStoreId?: string;
454
479
  /**
455
- * Use this date to select orders with a earliest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
480
+ * Use this date to select orders with an earliest delivery date before (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
456
481
  */
457
482
  readonly earliestDeliveryDateBefore?: string;
458
483
  /**
459
- * Use this date to select orders with a earliest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
484
+ * Use this date to select orders with an earliest delivery date after (or at) a specified time. The date must be in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
460
485
  */
461
486
  readonly earliestDeliveryDateAfter?: string;
462
487
  /**
@@ -526,6 +551,13 @@ export declare class OrdersApi extends BaseAPI {
526
551
  * @throws {RequiredError}
527
552
  */
528
553
  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, {}>>;
529
561
  /**
530
562
  * 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).
531
563
  * @param {OrdersApiGetOrderItemsRequest} requestParameters Request parameters.
@@ -23,6 +23,12 @@ export declare const setBasicAuthToObject: (object: any, configuration?: Configu
23
23
  export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
24
24
  export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
25
25
  export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
26
+ /**
27
+ * JSON serialization helper function which replaces instances of unserializable types with serializable ones.
28
+ * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
29
+ * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
30
+ */
31
+ export declare const replaceWithSerializableTypeIfNeeded: (key: any, value: any) => any;
26
32
  export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
27
33
  export declare const toPathString: (url: URL) => string;
28
34
  export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
@@ -14,10 +14,6 @@ import type { BuyerTaxInfo } from './buyer-tax-info';
14
14
  * Buyer information.
15
15
  */
16
16
  export interface BuyerInfo {
17
- /**
18
- * The anonymized email address of the buyer.
19
- */
20
- 'BuyerEmail'?: string;
21
17
  /**
22
18
  * The buyer name or the recipient name.
23
19
  */
@@ -0,0 +1,22 @@
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
+ }
@@ -0,0 +1,25 @@
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
+ }
@@ -0,0 +1,20 @@
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
+ }
@@ -0,0 +1,19 @@
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];
@@ -0,0 +1,22 @@
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
+ }
@@ -0,0 +1,19 @@
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
+ }
@@ -0,0 +1,58 @@
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];
@@ -0,0 +1,22 @@
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
+ }
@@ -18,9 +18,17 @@ 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';
21
22
  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';
22
29
  export * from './get-order-address-response';
23
30
  export * from './get-order-buyer-info-response';
31
+ export * from './get-order-fulfillment-instructions-response';
24
32
  export * from './get-order-items-buyer-info-response';
25
33
  export * from './get-order-items-response';
26
34
  export * from './get-order-regulated-info-response';
@@ -56,6 +64,7 @@ export * from './regulated-order-verification-status';
56
64
  export * from './rejection-reason';
57
65
  export * from './shipment-status';
58
66
  export * from './shipping-constraints';
67
+ export * from './shipping-instructions';
59
68
  export * from './substitution-option';
60
69
  export * from './substitution-preferences';
61
70
  export * from './tax-classification';
@@ -18,10 +18,6 @@ export interface OrderBuyerInfo {
18
18
  * An Amazon-defined order identifier, in 3-7-7 format.
19
19
  */
20
20
  'AmazonOrderId': string;
21
- /**
22
- * The anonymized email address of the buyer.
23
- */
24
- 'BuyerEmail'?: string;
25
21
  /**
26
22
  * The buyer name or the recipient name.
27
23
  */
@@ -12,6 +12,7 @@
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';
15
16
  import type { ItemBuyerInfo } from './item-buyer-info';
16
17
  import type { Measurement } from './measurement';
17
18
  import type { Money } from './money';
@@ -127,6 +128,7 @@ export interface OrderItem {
127
128
  'Measurement'?: Measurement;
128
129
  'ShippingConstraints'?: ShippingConstraints;
129
130
  'AmazonPrograms'?: AmazonPrograms;
131
+ 'ExportInfo'?: ExportInfo;
130
132
  }
131
133
  export declare const OrderItemDeemedResellerCategoryEnum: {
132
134
  readonly Ioss: "IOSS";
@@ -0,0 +1,26 @@
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
+ }
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.3.6",
5
+ "version": "5.5.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.25",
22
- "axios": "^1.13.2"
21
+ "@sp-api-sdk/common": "2.1.27",
22
+ "axios": "^1.13.4"
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": "a2d6b5c570bab3a534b05abe073c9fd91ed2229c"
43
+ "gitHead": "9719d5934bed9715406acc691a8334148345a588"
44
44
  }