@sp-api-sdk/orders-api-v0 5.0.0 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api-model/api/orders-api.js +48 -64
- package/dist/cjs/api-model/base.js +0 -19
- package/dist/cjs/api-model/common.js +0 -37
- package/dist/cjs/api-model/configuration.js +0 -17
- package/dist/cjs/api-model/models/association-type.js +0 -2
- package/dist/cjs/api-model/models/constraint-type.js +0 -2
- package/dist/cjs/api-model/models/easy-ship-shipment-status.js +0 -2
- package/dist/cjs/api-model/models/electronic-invoice-status.js +0 -2
- package/dist/cjs/api-model/models/index.js +0 -1
- package/dist/cjs/api-model/models/other-delivery-attributes.js +0 -2
- package/dist/cjs/api-model/models/shipment-status.js +0 -2
- package/dist/cjs/api-model/models/verification-status.js +0 -2
- package/dist/es/api-model/api/orders-api.js +48 -64
- package/dist/es/api-model/base.js +0 -19
- package/dist/es/api-model/common.js +0 -37
- package/dist/es/api-model/configuration.js +0 -17
- package/dist/es/api-model/models/association-type.js +0 -2
- package/dist/es/api-model/models/constraint-type.js +0 -2
- package/dist/es/api-model/models/easy-ship-shipment-status.js +0 -2
- package/dist/es/api-model/models/electronic-invoice-status.js +0 -2
- package/dist/es/api-model/models/index.js +0 -1
- package/dist/es/api-model/models/other-delivery-attributes.js +0 -2
- package/dist/es/api-model/models/shipment-status.js +0 -2
- package/dist/es/api-model/models/verification-status.js +0 -2
- package/dist/types/api-model/api/orders-api.d.ts +52 -160
- package/dist/types/api-model/base.d.ts +0 -24
- package/dist/types/api-model/common.d.ts +0 -37
- package/dist/types/api-model/configuration.d.ts +0 -17
- package/dist/types/api-model/models/address-extended-fields.d.ts +0 -10
- package/dist/types/api-model/models/address.d.ts +0 -35
- package/dist/types/api-model/models/amazon-programs.d.ts +2 -6
- package/dist/types/api-model/models/associated-item.d.ts +0 -11
- package/dist/types/api-model/models/association-type.d.ts +0 -2
- package/dist/types/api-model/models/automated-shipping-settings.d.ts +0 -8
- package/dist/types/api-model/models/business-hours.d.ts +0 -6
- package/dist/types/api-model/models/buyer-customized-info-detail.d.ts +0 -4
- package/dist/types/api-model/models/buyer-info.d.ts +0 -15
- package/dist/types/api-model/models/buyer-requested-cancel.d.ts +0 -6
- package/dist/types/api-model/models/buyer-tax-info.d.ts +0 -8
- package/dist/types/api-model/models/buyer-tax-information.d.ts +0 -10
- package/dist/types/api-model/models/confirm-shipment-error-response.d.ts +0 -4
- package/dist/types/api-model/models/confirm-shipment-order-item.d.ts +0 -8
- package/dist/types/api-model/models/confirm-shipment-request.d.ts +0 -11
- package/dist/types/api-model/models/constraint-type.d.ts +0 -2
- package/dist/types/api-model/models/delivery-preferences.d.ts +0 -13
- package/dist/types/api-model/models/easy-ship-shipment-status.d.ts +0 -2
- package/dist/types/api-model/models/electronic-invoice-status.d.ts +0 -2
- package/dist/types/api-model/models/exception-dates.d.ts +0 -8
- package/dist/types/api-model/models/fulfillment-instruction.d.ts +0 -4
- package/dist/types/api-model/models/get-order-address-response.d.ts +0 -9
- package/dist/types/api-model/models/get-order-buyer-info-response.d.ts +0 -9
- package/dist/types/api-model/models/get-order-items-buyer-info-response.d.ts +0 -9
- package/dist/types/api-model/models/get-order-items-response.d.ts +0 -9
- package/dist/types/api-model/models/get-order-regulated-info-response.d.ts +0 -9
- package/dist/types/api-model/models/get-order-response.d.ts +0 -9
- package/dist/types/api-model/models/get-orders-response.d.ts +0 -9
- package/dist/types/api-model/models/index.d.ts +0 -1
- package/dist/types/api-model/models/item-buyer-info.d.ts +0 -21
- package/dist/types/api-model/models/marketplace-tax-info.d.ts +0 -4
- package/dist/types/api-model/models/measurement.d.ts +0 -6
- package/dist/types/api-model/models/model-error.d.ts +0 -8
- package/dist/types/api-model/models/money.d.ts +0 -6
- package/dist/types/api-model/models/open-interval.d.ts +0 -12
- package/dist/types/api-model/models/open-time-interval.d.ts +0 -6
- package/dist/types/api-model/models/order-address.d.ts +0 -16
- package/dist/types/api-model/models/order-buyer-info.d.ts +0 -17
- package/dist/types/api-model/models/order-item-buyer-info.d.ts +0 -23
- package/dist/types/api-model/models/order-item.d.ts +0 -146
- package/dist/types/api-model/models/order-items-buyer-info-list.d.ts +0 -8
- package/dist/types/api-model/models/order-items-inner.d.ts +0 -9
- package/dist/types/api-model/models/order-items-list.d.ts +0 -8
- package/dist/types/api-model/models/order-regulated-info.d.ts +0 -16
- package/dist/types/api-model/models/order.d.ts +0 -126
- package/dist/types/api-model/models/orders-list.d.ts +1 -11
- package/dist/types/api-model/models/other-delivery-attributes.d.ts +0 -2
- package/dist/types/api-model/models/package-detail.d.ts +1 -19
- package/dist/types/api-model/models/payment-execution-detail-item.d.ts +0 -9
- package/dist/types/api-model/models/points-granted-detail.d.ts +0 -9
- package/dist/types/api-model/models/preferred-delivery-time.d.ts +0 -6
- package/dist/types/api-model/models/prescription-detail.d.ts +0 -16
- package/dist/types/api-model/models/product-info-detail.d.ts +0 -4
- package/dist/types/api-model/models/regulated-information-field.d.ts +0 -10
- package/dist/types/api-model/models/regulated-information.d.ts +0 -4
- package/dist/types/api-model/models/regulated-order-verification-status.d.ts +0 -22
- package/dist/types/api-model/models/rejection-reason.d.ts +0 -6
- package/dist/types/api-model/models/shipment-status.d.ts +0 -2
- package/dist/types/api-model/models/shipping-constraints.d.ts +0 -22
- package/dist/types/api-model/models/substitution-option.d.ts +0 -15
- package/dist/types/api-model/models/substitution-preferences.d.ts +0 -6
- package/dist/types/api-model/models/tax-classification.d.ts +0 -6
- package/dist/types/api-model/models/tax-collection.d.ts +0 -6
- package/dist/types/api-model/models/update-shipment-status-error-response.d.ts +0 -4
- package/dist/types/api-model/models/update-shipment-status-request.d.ts +0 -11
- package/dist/types/api-model/models/update-verification-status-error-response.d.ts +0 -4
- package/dist/types/api-model/models/update-verification-status-request-body.d.ts +0 -16
- package/dist/types/api-model/models/update-verification-status-request.d.ts +0 -7
- package/dist/types/api-model/models/valid-verification-detail.d.ts +0 -6
- package/dist/types/api-model/models/verification-details.d.ts +0 -7
- package/dist/types/api-model/models/verification-status.d.ts +0 -2
- package/package.json +25 -4
- package/dist/cjs/api-model/models/export-info.js +0 -15
- package/dist/es/api-model/models/export-info.js +0 -14
- package/dist/types/api-model/models/export-info.d.ts +0 -31
|
@@ -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';
|
|
@@ -23,256 +22,111 @@ import type { SubstitutionPreferences } from './substitution-preferences';
|
|
|
23
22
|
import type { TaxCollection } from './tax-collection';
|
|
24
23
|
/**
|
|
25
24
|
* A single order item.
|
|
26
|
-
* @export
|
|
27
|
-
* @interface OrderItem
|
|
28
25
|
*/
|
|
29
26
|
export interface OrderItem {
|
|
30
27
|
/**
|
|
31
28
|
* The item\'s Amazon Standard Identification Number (ASIN).
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof OrderItem
|
|
34
29
|
*/
|
|
35
30
|
'ASIN': string;
|
|
36
31
|
/**
|
|
37
32
|
* The item\'s seller stock keeping unit (SKU).
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof OrderItem
|
|
40
33
|
*/
|
|
41
34
|
'SellerSKU'?: string;
|
|
42
35
|
/**
|
|
43
36
|
* An Amazon-defined order item identifier.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof OrderItem
|
|
46
37
|
*/
|
|
47
38
|
'OrderItemId': string;
|
|
48
39
|
/**
|
|
49
40
|
* A list of associated items that a customer has purchased with a product. For example, a tire installation service purchased with tires.
|
|
50
|
-
* @type {Array<AssociatedItem>}
|
|
51
|
-
* @memberof OrderItem
|
|
52
41
|
*/
|
|
53
42
|
'AssociatedItems'?: Array<AssociatedItem>;
|
|
54
43
|
/**
|
|
55
44
|
* The item\'s name.
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof OrderItem
|
|
58
45
|
*/
|
|
59
46
|
'Title'?: string;
|
|
60
47
|
/**
|
|
61
48
|
* The number of items in the order.
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof OrderItem
|
|
64
49
|
*/
|
|
65
50
|
'QuantityOrdered': number;
|
|
66
51
|
/**
|
|
67
52
|
* The number of items shipped.
|
|
68
|
-
* @type {number}
|
|
69
|
-
* @memberof OrderItem
|
|
70
53
|
*/
|
|
71
54
|
'QuantityShipped'?: number;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {ProductInfoDetail}
|
|
75
|
-
* @memberof OrderItem
|
|
76
|
-
*/
|
|
77
55
|
'ProductInfo'?: ProductInfoDetail;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {PointsGrantedDetail}
|
|
81
|
-
* @memberof OrderItem
|
|
82
|
-
*/
|
|
83
56
|
'PointsGranted'?: PointsGrantedDetail;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {Money}
|
|
87
|
-
* @memberof OrderItem
|
|
88
|
-
*/
|
|
89
57
|
'ItemPrice'?: Money;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {Money}
|
|
93
|
-
* @memberof OrderItem
|
|
94
|
-
*/
|
|
95
58
|
'ShippingPrice'?: Money;
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @type {Money}
|
|
99
|
-
* @memberof OrderItem
|
|
100
|
-
*/
|
|
101
59
|
'ItemTax'?: Money;
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
* @type {Money}
|
|
105
|
-
* @memberof OrderItem
|
|
106
|
-
*/
|
|
107
60
|
'ShippingTax'?: Money;
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* @type {Money}
|
|
111
|
-
* @memberof OrderItem
|
|
112
|
-
*/
|
|
113
61
|
'ShippingDiscount'?: Money;
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
* @type {Money}
|
|
117
|
-
* @memberof OrderItem
|
|
118
|
-
*/
|
|
119
62
|
'ShippingDiscountTax'?: Money;
|
|
120
|
-
/**
|
|
121
|
-
*
|
|
122
|
-
* @type {Money}
|
|
123
|
-
* @memberof OrderItem
|
|
124
|
-
*/
|
|
125
63
|
'PromotionDiscount'?: Money;
|
|
126
|
-
/**
|
|
127
|
-
*
|
|
128
|
-
* @type {Money}
|
|
129
|
-
* @memberof OrderItem
|
|
130
|
-
*/
|
|
131
64
|
'PromotionDiscountTax'?: Money;
|
|
132
65
|
/**
|
|
133
66
|
* A list of promotion identifiers provided by the seller when the promotions were created.
|
|
134
|
-
* @type {Array<string>}
|
|
135
|
-
* @memberof OrderItem
|
|
136
67
|
*/
|
|
137
68
|
'PromotionIds'?: Array<string>;
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* @type {Money}
|
|
141
|
-
* @memberof OrderItem
|
|
142
|
-
*/
|
|
143
69
|
'CODFee'?: Money;
|
|
144
|
-
/**
|
|
145
|
-
*
|
|
146
|
-
* @type {Money}
|
|
147
|
-
* @memberof OrderItem
|
|
148
|
-
*/
|
|
149
70
|
'CODFeeDiscount'?: Money;
|
|
150
71
|
/**
|
|
151
72
|
* Indicates whether the item is a gift. **Possible values**: `true` and `false`.
|
|
152
|
-
* @type {string}
|
|
153
|
-
* @memberof OrderItem
|
|
154
73
|
*/
|
|
155
74
|
'IsGift'?: string;
|
|
156
75
|
/**
|
|
157
76
|
* The condition of the item, as described by the seller.
|
|
158
|
-
* @type {string}
|
|
159
|
-
* @memberof OrderItem
|
|
160
77
|
*/
|
|
161
78
|
'ConditionNote'?: string;
|
|
162
79
|
/**
|
|
163
80
|
* The condition of the item. **Possible values**: `New`, `Used`, `Collectible`, `Refurbished`, `Preorder`, and `Club`.
|
|
164
|
-
* @type {string}
|
|
165
|
-
* @memberof OrderItem
|
|
166
81
|
*/
|
|
167
82
|
'ConditionId'?: string;
|
|
168
83
|
/**
|
|
169
84
|
* The subcondition of the item. **Possible values**: `New`, `Mint`, `Very Good`, `Good`, `Acceptable`, `Poor`, `Club`, `OEM`, `Warranty`, `Refurbished Warranty`, `Refurbished`, `Open Box`, `Any`, and `Other`.
|
|
170
|
-
* @type {string}
|
|
171
|
-
* @memberof OrderItem
|
|
172
85
|
*/
|
|
173
86
|
'ConditionSubtypeId'?: string;
|
|
174
87
|
/**
|
|
175
88
|
* The start date of the scheduled delivery window in the time zone for the order destination. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format.
|
|
176
|
-
* @type {string}
|
|
177
|
-
* @memberof OrderItem
|
|
178
89
|
*/
|
|
179
90
|
'ScheduledDeliveryStartDate'?: string;
|
|
180
91
|
/**
|
|
181
92
|
* The end date of the scheduled delivery window in the time zone for the order destination. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format.
|
|
182
|
-
* @type {string}
|
|
183
|
-
* @memberof OrderItem
|
|
184
93
|
*/
|
|
185
94
|
'ScheduledDeliveryEndDate'?: string;
|
|
186
95
|
/**
|
|
187
96
|
* Indicates that the selling price is a special price that is only available for Amazon Business orders. For more information about the Amazon Business Seller Program, refer to the [Amazon Business website](https://www.amazon.com/b2b/info/amazon-business). **Possible values**: `BusinessPrice`
|
|
188
|
-
* @type {string}
|
|
189
|
-
* @memberof OrderItem
|
|
190
97
|
*/
|
|
191
98
|
'PriceDesignation'?: string;
|
|
192
|
-
/**
|
|
193
|
-
*
|
|
194
|
-
* @type {TaxCollection}
|
|
195
|
-
* @memberof OrderItem
|
|
196
|
-
*/
|
|
197
99
|
'TaxCollection'?: TaxCollection;
|
|
198
100
|
/**
|
|
199
101
|
* When true, the product type for this item has a serial number. Only returned for Amazon Easy Ship orders.
|
|
200
|
-
* @type {boolean}
|
|
201
|
-
* @memberof OrderItem
|
|
202
102
|
*/
|
|
203
103
|
'SerialNumberRequired'?: boolean;
|
|
204
104
|
/**
|
|
205
105
|
* When true, the ASIN is enrolled in Transparency. The Transparency serial number that you must submit is determined by: **1D or 2D Barcode:** This has a **T** logo. Submit either the 29-character alpha-numeric identifier beginning with **AZ** or **ZA**, or the 38-character Serialized Global Trade Item Number (SGTIN). **2D Barcode SN:** Submit the 7- to 20-character serial number barcode, which likely has the prefix **SN**. The serial number is applied to the same side of the packaging as the GTIN (UPC/EAN/ISBN) barcode. **QR code SN:** Submit the URL that the QR code generates.
|
|
206
|
-
* @type {boolean}
|
|
207
|
-
* @memberof OrderItem
|
|
208
106
|
*/
|
|
209
107
|
'IsTransparency'?: boolean;
|
|
210
108
|
/**
|
|
211
109
|
* The IOSS number of the marketplace. Sellers shipping to the EU from outside the EU must provide this IOSS number to their carrier when Amazon has collected the VAT on the sale.
|
|
212
|
-
* @type {string}
|
|
213
|
-
* @memberof OrderItem
|
|
214
110
|
*/
|
|
215
111
|
'IossNumber'?: string;
|
|
216
112
|
/**
|
|
217
113
|
* The store chain store identifier. Linked to a specific store in a store chain.
|
|
218
|
-
* @type {string}
|
|
219
|
-
* @memberof OrderItem
|
|
220
114
|
*/
|
|
221
115
|
'StoreChainStoreId'?: string;
|
|
222
116
|
/**
|
|
223
117
|
* The category of deemed reseller. This applies to selling partners that are not based in the EU and is used to help them meet the VAT Deemed Reseller tax laws in the EU and UK.
|
|
224
|
-
* @type {string}
|
|
225
|
-
* @memberof OrderItem
|
|
226
118
|
*/
|
|
227
119
|
'DeemedResellerCategory'?: OrderItemDeemedResellerCategoryEnum;
|
|
228
|
-
/**
|
|
229
|
-
*
|
|
230
|
-
* @type {ItemBuyerInfo}
|
|
231
|
-
* @memberof OrderItem
|
|
232
|
-
*/
|
|
233
120
|
'BuyerInfo'?: ItemBuyerInfo;
|
|
234
|
-
/**
|
|
235
|
-
*
|
|
236
|
-
* @type {BuyerRequestedCancel}
|
|
237
|
-
* @memberof OrderItem
|
|
238
|
-
*/
|
|
239
121
|
'BuyerRequestedCancel'?: BuyerRequestedCancel;
|
|
240
122
|
/**
|
|
241
123
|
* A list of serial numbers for electronic products that are shipped to customers. Returned for FBA orders only.
|
|
242
|
-
* @type {Array<string>}
|
|
243
|
-
* @memberof OrderItem
|
|
244
124
|
*/
|
|
245
125
|
'SerialNumbers'?: Array<string>;
|
|
246
|
-
/**
|
|
247
|
-
*
|
|
248
|
-
* @type {SubstitutionPreferences}
|
|
249
|
-
* @memberof OrderItem
|
|
250
|
-
*/
|
|
251
126
|
'SubstitutionPreferences'?: SubstitutionPreferences;
|
|
252
|
-
/**
|
|
253
|
-
*
|
|
254
|
-
* @type {Measurement}
|
|
255
|
-
* @memberof OrderItem
|
|
256
|
-
*/
|
|
257
127
|
'Measurement'?: Measurement;
|
|
258
|
-
/**
|
|
259
|
-
*
|
|
260
|
-
* @type {ShippingConstraints}
|
|
261
|
-
* @memberof OrderItem
|
|
262
|
-
*/
|
|
263
128
|
'ShippingConstraints'?: ShippingConstraints;
|
|
264
|
-
/**
|
|
265
|
-
*
|
|
266
|
-
* @type {AmazonPrograms}
|
|
267
|
-
* @memberof OrderItem
|
|
268
|
-
*/
|
|
269
129
|
'AmazonPrograms'?: AmazonPrograms;
|
|
270
|
-
/**
|
|
271
|
-
*
|
|
272
|
-
* @type {ExportInfo}
|
|
273
|
-
* @memberof OrderItem
|
|
274
|
-
*/
|
|
275
|
-
'ExportInfo'?: ExportInfo;
|
|
276
130
|
}
|
|
277
131
|
export declare const OrderItemDeemedResellerCategoryEnum: {
|
|
278
132
|
readonly Ioss: "IOSS";
|
|
@@ -12,26 +12,18 @@
|
|
|
12
12
|
import type { OrderItemBuyerInfo } from './order-item-buyer-info';
|
|
13
13
|
/**
|
|
14
14
|
* A single order item\'s buyer information list with the order ID.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface OrderItemsBuyerInfoList
|
|
17
15
|
*/
|
|
18
16
|
export interface OrderItemsBuyerInfoList {
|
|
19
17
|
/**
|
|
20
18
|
* A single order item\'s buyer information list.
|
|
21
|
-
* @type {Array<OrderItemBuyerInfo>}
|
|
22
|
-
* @memberof OrderItemsBuyerInfoList
|
|
23
19
|
*/
|
|
24
20
|
'OrderItems': Array<OrderItemBuyerInfo>;
|
|
25
21
|
/**
|
|
26
22
|
* When present and not empty, pass this string token in the next request to return the next response page.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof OrderItemsBuyerInfoList
|
|
29
23
|
*/
|
|
30
24
|
'NextToken'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* An Amazon-defined order identifier, in 3-7-7 format.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof OrderItemsBuyerInfoList
|
|
35
27
|
*/
|
|
36
28
|
'AmazonOrderId': string;
|
|
37
29
|
}
|
|
@@ -9,22 +9,13 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface OrderItemsInner
|
|
16
|
-
*/
|
|
17
12
|
export interface OrderItemsInner {
|
|
18
13
|
/**
|
|
19
14
|
* The order item\'s unique identifier.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof OrderItemsInner
|
|
22
15
|
*/
|
|
23
16
|
'orderItemId'?: string;
|
|
24
17
|
/**
|
|
25
18
|
* The quantity for which to update the shipment status.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof OrderItemsInner
|
|
28
19
|
*/
|
|
29
20
|
'quantity'?: number;
|
|
30
21
|
}
|
|
@@ -12,26 +12,18 @@
|
|
|
12
12
|
import type { OrderItem } from './order-item';
|
|
13
13
|
/**
|
|
14
14
|
* The order items list along with the order ID.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface OrderItemsList
|
|
17
15
|
*/
|
|
18
16
|
export interface OrderItemsList {
|
|
19
17
|
/**
|
|
20
18
|
* A list of order items.
|
|
21
|
-
* @type {Array<OrderItem>}
|
|
22
|
-
* @memberof OrderItemsList
|
|
23
19
|
*/
|
|
24
20
|
'OrderItems': Array<OrderItem>;
|
|
25
21
|
/**
|
|
26
22
|
* When present and not empty, pass this string token in the next request to return the next response page.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof OrderItemsList
|
|
29
23
|
*/
|
|
30
24
|
'NextToken'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* An Amazon-defined order identifier, in 3-7-7 format.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof OrderItemsList
|
|
35
27
|
*/
|
|
36
28
|
'AmazonOrderId': string;
|
|
37
29
|
}
|
|
@@ -13,32 +13,16 @@ import type { RegulatedInformation } from './regulated-information';
|
|
|
13
13
|
import type { RegulatedOrderVerificationStatus } from './regulated-order-verification-status';
|
|
14
14
|
/**
|
|
15
15
|
* The order\'s regulated information along with its verification status.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface OrderRegulatedInfo
|
|
18
16
|
*/
|
|
19
17
|
export interface OrderRegulatedInfo {
|
|
20
18
|
/**
|
|
21
19
|
* An Amazon-defined order identifier, in 3-7-7 format.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof OrderRegulatedInfo
|
|
24
20
|
*/
|
|
25
21
|
'AmazonOrderId': string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {RegulatedInformation}
|
|
29
|
-
* @memberof OrderRegulatedInfo
|
|
30
|
-
*/
|
|
31
22
|
'RegulatedInformation': RegulatedInformation;
|
|
32
23
|
/**
|
|
33
24
|
* When true, the order requires attaching a dosage information label when shipped.
|
|
34
|
-
* @type {boolean}
|
|
35
|
-
* @memberof OrderRegulatedInfo
|
|
36
25
|
*/
|
|
37
26
|
'RequiresDosageLabel': boolean;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {RegulatedOrderVerificationStatus}
|
|
41
|
-
* @memberof OrderRegulatedInfo
|
|
42
|
-
*/
|
|
43
27
|
'RegulatedOrderVerificationStatus': RegulatedOrderVerificationStatus;
|
|
44
28
|
}
|
|
@@ -21,291 +21,165 @@ import type { Money } from './money';
|
|
|
21
21
|
import type { PaymentExecutionDetailItem } from './payment-execution-detail-item';
|
|
22
22
|
/**
|
|
23
23
|
* Order information.
|
|
24
|
-
* @export
|
|
25
|
-
* @interface Order
|
|
26
24
|
*/
|
|
27
25
|
export interface Order {
|
|
28
26
|
/**
|
|
29
27
|
* An Amazon-defined order identifier, in 3-7-7 format.
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof Order
|
|
32
28
|
*/
|
|
33
29
|
'AmazonOrderId': string;
|
|
34
30
|
/**
|
|
35
31
|
* A seller-defined order identifier.
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof Order
|
|
38
32
|
*/
|
|
39
33
|
'SellerOrderId'?: string;
|
|
40
34
|
/**
|
|
41
35
|
* The date when the order was created.
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof Order
|
|
44
36
|
*/
|
|
45
37
|
'PurchaseDate': string;
|
|
46
38
|
/**
|
|
47
39
|
* The date when the order was last updated. __Note__: `LastUpdateDate` is returned with an incorrect date for orders that were last updated before 2009-04-01.
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof Order
|
|
50
40
|
*/
|
|
51
41
|
'LastUpdateDate': string;
|
|
52
42
|
/**
|
|
53
43
|
* The current order status.
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof Order
|
|
56
44
|
*/
|
|
57
45
|
'OrderStatus': OrderOrderStatusEnum;
|
|
58
46
|
/**
|
|
59
47
|
* Whether the order was fulfilled by Amazon (`AFN`) or by the seller (`MFN`).
|
|
60
|
-
* @type {string}
|
|
61
|
-
* @memberof Order
|
|
62
48
|
*/
|
|
63
49
|
'FulfillmentChannel'?: OrderFulfillmentChannelEnum;
|
|
64
50
|
/**
|
|
65
51
|
* The sales channel for the first item in the order.
|
|
66
|
-
* @type {string}
|
|
67
|
-
* @memberof Order
|
|
68
52
|
*/
|
|
69
53
|
'SalesChannel'?: string;
|
|
70
54
|
/**
|
|
71
55
|
* The order channel for the first item in the order.
|
|
72
|
-
* @type {string}
|
|
73
|
-
* @memberof Order
|
|
74
56
|
*/
|
|
75
57
|
'OrderChannel'?: string;
|
|
76
58
|
/**
|
|
77
59
|
* The order\'s shipment service level.
|
|
78
|
-
* @type {string}
|
|
79
|
-
* @memberof Order
|
|
80
60
|
*/
|
|
81
61
|
'ShipServiceLevel'?: string;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {Money}
|
|
85
|
-
* @memberof Order
|
|
86
|
-
*/
|
|
87
62
|
'OrderTotal'?: Money;
|
|
88
63
|
/**
|
|
89
64
|
* The number of items shipped.
|
|
90
|
-
* @type {number}
|
|
91
|
-
* @memberof Order
|
|
92
65
|
*/
|
|
93
66
|
'NumberOfItemsShipped'?: number;
|
|
94
67
|
/**
|
|
95
68
|
* The number of items unshipped.
|
|
96
|
-
* @type {number}
|
|
97
|
-
* @memberof Order
|
|
98
69
|
*/
|
|
99
70
|
'NumberOfItemsUnshipped'?: number;
|
|
100
71
|
/**
|
|
101
72
|
* A list of payment execution detail items.
|
|
102
|
-
* @type {Array<PaymentExecutionDetailItem>}
|
|
103
|
-
* @memberof Order
|
|
104
73
|
*/
|
|
105
74
|
'PaymentExecutionDetail'?: Array<PaymentExecutionDetailItem>;
|
|
106
75
|
/**
|
|
107
76
|
* The payment method for the order. This property is limited to COD and CVS payment methods. Unless you need the specific COD payment information provided by the `PaymentExecutionDetailItem` object, we recommend using the `PaymentMethodDetails` property to get payment method information.
|
|
108
|
-
* @type {string}
|
|
109
|
-
* @memberof Order
|
|
110
77
|
*/
|
|
111
78
|
'PaymentMethod'?: OrderPaymentMethodEnum;
|
|
112
79
|
/**
|
|
113
80
|
* A list of payment method detail items.
|
|
114
|
-
* @type {Array<string>}
|
|
115
|
-
* @memberof Order
|
|
116
81
|
*/
|
|
117
82
|
'PaymentMethodDetails'?: Array<string>;
|
|
118
83
|
/**
|
|
119
84
|
* The identifier for the marketplace where the order was placed.
|
|
120
|
-
* @type {string}
|
|
121
|
-
* @memberof Order
|
|
122
85
|
*/
|
|
123
86
|
'MarketplaceId'?: string;
|
|
124
87
|
/**
|
|
125
88
|
* The shipment service level category for the order. **Possible values**: `Expedited`, `FreeEconomy`, `NextDay`, `Priority`, `SameDay`, `SecondDay`, `Scheduled`, and `Standard`.
|
|
126
|
-
* @type {string}
|
|
127
|
-
* @memberof Order
|
|
128
89
|
*/
|
|
129
90
|
'ShipmentServiceLevelCategory'?: string;
|
|
130
|
-
/**
|
|
131
|
-
*
|
|
132
|
-
* @type {EasyShipShipmentStatus}
|
|
133
|
-
* @memberof Order
|
|
134
|
-
*/
|
|
135
91
|
'EasyShipShipmentStatus'?: EasyShipShipmentStatus;
|
|
136
92
|
/**
|
|
137
93
|
* Custom ship label for Checkout by Amazon (CBA).
|
|
138
|
-
* @type {string}
|
|
139
|
-
* @memberof Order
|
|
140
94
|
*/
|
|
141
95
|
'CbaDisplayableShippingLabel'?: string;
|
|
142
96
|
/**
|
|
143
97
|
* The order\'s type.
|
|
144
|
-
* @type {string}
|
|
145
|
-
* @memberof Order
|
|
146
98
|
*/
|
|
147
99
|
'OrderType'?: OrderOrderTypeEnum;
|
|
148
100
|
/**
|
|
149
101
|
* The start of the time period within which you have committed to ship the order. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. Only returned for seller-fulfilled orders. __Note__: `EarliestShipDate` might not be returned for orders placed before February 1, 2013.
|
|
150
|
-
* @type {string}
|
|
151
|
-
* @memberof Order
|
|
152
102
|
*/
|
|
153
103
|
'EarliestShipDate'?: string;
|
|
154
104
|
/**
|
|
155
105
|
* The end of the time period within which you have committed to ship the order. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. Only returned for seller-fulfilled orders. __Note__: `LatestShipDate` might not be returned for orders placed before February 1, 2013.
|
|
156
|
-
* @type {string}
|
|
157
|
-
* @memberof Order
|
|
158
106
|
*/
|
|
159
107
|
'LatestShipDate'?: string;
|
|
160
108
|
/**
|
|
161
109
|
* The start of the time period within which you have committed to fulfill the order. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. Only returned for seller-fulfilled orders.
|
|
162
|
-
* @type {string}
|
|
163
|
-
* @memberof Order
|
|
164
110
|
*/
|
|
165
111
|
'EarliestDeliveryDate'?: string;
|
|
166
112
|
/**
|
|
167
113
|
* The end of the time period within which you have committed to fulfill the order. In [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date time format. Only returned for seller-fulfilled orders that do not have a `PendingAvailability`, `Pending`, or `Canceled` status.
|
|
168
|
-
* @type {string}
|
|
169
|
-
* @memberof Order
|
|
170
114
|
*/
|
|
171
115
|
'LatestDeliveryDate'?: string;
|
|
172
116
|
/**
|
|
173
117
|
* When true, the order is an Amazon Business order. An Amazon Business order is an order where the buyer is a Verified Business Buyer.
|
|
174
|
-
* @type {boolean}
|
|
175
|
-
* @memberof Order
|
|
176
118
|
*/
|
|
177
119
|
'IsBusinessOrder'?: boolean;
|
|
178
120
|
/**
|
|
179
121
|
* When true, the order is a seller-fulfilled Amazon Prime order.
|
|
180
|
-
* @type {boolean}
|
|
181
|
-
* @memberof Order
|
|
182
122
|
*/
|
|
183
123
|
'IsPrime'?: boolean;
|
|
184
124
|
/**
|
|
185
125
|
* When true, the order has a Premium Shipping Service Level Agreement. For more information about Premium Shipping orders, refer to \"Premium Shipping Options\" in the Seller Central Help for your marketplace.
|
|
186
|
-
* @type {boolean}
|
|
187
|
-
* @memberof Order
|
|
188
126
|
*/
|
|
189
127
|
'IsPremiumOrder'?: boolean;
|
|
190
128
|
/**
|
|
191
129
|
* When true, the order is a `GlobalExpress` order.
|
|
192
|
-
* @type {boolean}
|
|
193
|
-
* @memberof Order
|
|
194
130
|
*/
|
|
195
131
|
'IsGlobalExpressEnabled'?: boolean;
|
|
196
132
|
/**
|
|
197
133
|
* The order ID value for the order that is being replaced. Returned only if IsReplacementOrder = true.
|
|
198
|
-
* @type {string}
|
|
199
|
-
* @memberof Order
|
|
200
134
|
*/
|
|
201
135
|
'ReplacedOrderId'?: string;
|
|
202
136
|
/**
|
|
203
137
|
* When true, this is a replacement order.
|
|
204
|
-
* @type {boolean}
|
|
205
|
-
* @memberof Order
|
|
206
138
|
*/
|
|
207
139
|
'IsReplacementOrder'?: boolean;
|
|
208
140
|
/**
|
|
209
141
|
* Indicates the date by which the seller must respond to the buyer with an estimated ship date. Only returned for Sourcing on Demand orders.
|
|
210
|
-
* @type {string}
|
|
211
|
-
* @memberof Order
|
|
212
142
|
*/
|
|
213
143
|
'PromiseResponseDueDate'?: string;
|
|
214
144
|
/**
|
|
215
145
|
* When true, the estimated ship date is set for the order. Only returned for Sourcing on Demand orders.
|
|
216
|
-
* @type {boolean}
|
|
217
|
-
* @memberof Order
|
|
218
146
|
*/
|
|
219
147
|
'IsEstimatedShipDateSet'?: boolean;
|
|
220
148
|
/**
|
|
221
149
|
* When true, the item within this order was bought and re-sold by Amazon Business EU SARL (ABEU). By buying and instantly re-selling your items, ABEU becomes the seller of record, making your inventory available for sale to customers who would not otherwise purchase from a third-party seller.
|
|
222
|
-
* @type {boolean}
|
|
223
|
-
* @memberof Order
|
|
224
150
|
*/
|
|
225
151
|
'IsSoldByAB'?: boolean;
|
|
226
152
|
/**
|
|
227
153
|
* When true, the item within this order was bought and re-sold by Amazon Business EU SARL (ABEU). By buying and instantly re-selling your items, ABEU becomes the seller of record, making your inventory available for sale to customers who would not otherwise purchase from a third-party seller.
|
|
228
|
-
* @type {boolean}
|
|
229
|
-
* @memberof Order
|
|
230
154
|
*/
|
|
231
155
|
'IsIBA'?: boolean;
|
|
232
|
-
/**
|
|
233
|
-
*
|
|
234
|
-
* @type {Address}
|
|
235
|
-
* @memberof Order
|
|
236
|
-
*/
|
|
237
156
|
'DefaultShipFromLocationAddress'?: Address;
|
|
238
157
|
/**
|
|
239
158
|
* The buyer\'s invoicing preference. Sellers can use this data to issue electronic invoices for orders in Turkey. **Note**: This attribute is only available in the Turkey marketplace.
|
|
240
|
-
* @type {string}
|
|
241
|
-
* @memberof Order
|
|
242
159
|
*/
|
|
243
160
|
'BuyerInvoicePreference'?: OrderBuyerInvoicePreferenceEnum;
|
|
244
|
-
/**
|
|
245
|
-
*
|
|
246
|
-
* @type {BuyerTaxInformation}
|
|
247
|
-
* @memberof Order
|
|
248
|
-
*/
|
|
249
161
|
'BuyerTaxInformation'?: BuyerTaxInformation;
|
|
250
|
-
/**
|
|
251
|
-
*
|
|
252
|
-
* @type {FulfillmentInstruction}
|
|
253
|
-
* @memberof Order
|
|
254
|
-
*/
|
|
255
162
|
'FulfillmentInstruction'?: FulfillmentInstruction;
|
|
256
163
|
/**
|
|
257
164
|
* When true, this order is marked to be picked up from a store rather than delivered.
|
|
258
|
-
* @type {boolean}
|
|
259
|
-
* @memberof Order
|
|
260
165
|
*/
|
|
261
166
|
'IsISPU'?: boolean;
|
|
262
167
|
/**
|
|
263
168
|
* When true, this order is marked to be delivered to an Access Point. The access location is chosen by the customer. Access Points include Amazon Hub Lockers, Amazon Hub Counters, and pickup points operated by carriers.
|
|
264
|
-
* @type {boolean}
|
|
265
|
-
* @memberof Order
|
|
266
169
|
*/
|
|
267
170
|
'IsAccessPointOrder'?: boolean;
|
|
268
|
-
/**
|
|
269
|
-
*
|
|
270
|
-
* @type {MarketplaceTaxInfo}
|
|
271
|
-
* @memberof Order
|
|
272
|
-
*/
|
|
273
171
|
'MarketplaceTaxInfo'?: MarketplaceTaxInfo;
|
|
274
172
|
/**
|
|
275
173
|
* The seller’s friendly name registered in the marketplace where the sale took place. Sellers can use this data to issue electronic invoices for orders in Brazil. **Note**: This attribute is only available in the Brazil marketplace for the orders with `Pending` or `Unshipped` status.
|
|
276
|
-
* @type {string}
|
|
277
|
-
* @memberof Order
|
|
278
174
|
*/
|
|
279
175
|
'SellerDisplayName'?: string;
|
|
280
|
-
/**
|
|
281
|
-
*
|
|
282
|
-
* @type {Address}
|
|
283
|
-
* @memberof Order
|
|
284
|
-
*/
|
|
285
176
|
'ShippingAddress'?: Address;
|
|
286
|
-
/**
|
|
287
|
-
*
|
|
288
|
-
* @type {BuyerInfo}
|
|
289
|
-
* @memberof Order
|
|
290
|
-
*/
|
|
291
177
|
'BuyerInfo'?: BuyerInfo;
|
|
292
|
-
/**
|
|
293
|
-
*
|
|
294
|
-
* @type {AutomatedShippingSettings}
|
|
295
|
-
* @memberof Order
|
|
296
|
-
*/
|
|
297
178
|
'AutomatedShippingSettings'?: AutomatedShippingSettings;
|
|
298
179
|
/**
|
|
299
180
|
* Whether the order contains regulated items which may require additional approval steps before being fulfilled.
|
|
300
|
-
* @type {boolean}
|
|
301
|
-
* @memberof Order
|
|
302
181
|
*/
|
|
303
182
|
'HasRegulatedItems'?: boolean;
|
|
304
|
-
/**
|
|
305
|
-
*
|
|
306
|
-
* @type {ElectronicInvoiceStatus}
|
|
307
|
-
* @memberof Order
|
|
308
|
-
*/
|
|
309
183
|
'ElectronicInvoiceStatus'?: ElectronicInvoiceStatus;
|
|
310
184
|
}
|
|
311
185
|
export declare const OrderOrderStatusEnum: {
|