@sp-api-sdk/orders-api-v0 5.1.0 → 5.1.2
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 +0 -16
- 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/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 +0 -16
- 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/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 +0 -108
- 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 +0 -4
- 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/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 -139
- 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 +0 -10
- package/dist/types/api-model/models/other-delivery-attributes.d.ts +0 -2
- package/dist/types/api-model/models/package-detail.d.ts +0 -18
- 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
|
@@ -13,38 +13,17 @@ import type { BuyerCustomizedInfoDetail } from './buyer-customized-info-detail';
|
|
|
13
13
|
import type { Money } from './money';
|
|
14
14
|
/**
|
|
15
15
|
* A single item\'s buyer information.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ItemBuyerInfo
|
|
18
16
|
*/
|
|
19
17
|
export interface ItemBuyerInfo {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {BuyerCustomizedInfoDetail}
|
|
23
|
-
* @memberof ItemBuyerInfo
|
|
24
|
-
*/
|
|
25
18
|
'BuyerCustomizedInfo'?: BuyerCustomizedInfoDetail;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Money}
|
|
29
|
-
* @memberof ItemBuyerInfo
|
|
30
|
-
*/
|
|
31
19
|
'GiftWrapPrice'?: Money;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {Money}
|
|
35
|
-
* @memberof ItemBuyerInfo
|
|
36
|
-
*/
|
|
37
20
|
'GiftWrapTax'?: Money;
|
|
38
21
|
/**
|
|
39
22
|
* A gift message provided by the buyer. **Note**: This attribute is only available for MFN (fulfilled by seller) orders.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof ItemBuyerInfo
|
|
42
23
|
*/
|
|
43
24
|
'GiftMessageText'?: string;
|
|
44
25
|
/**
|
|
45
26
|
* The gift wrap level specified by the buyer.
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof ItemBuyerInfo
|
|
48
27
|
*/
|
|
49
28
|
'GiftWrapLevel'?: string;
|
|
50
29
|
}
|
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
import type { TaxClassification } from './tax-classification';
|
|
13
13
|
/**
|
|
14
14
|
* Tax information about the marketplace.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface MarketplaceTaxInfo
|
|
17
15
|
*/
|
|
18
16
|
export interface MarketplaceTaxInfo {
|
|
19
17
|
/**
|
|
20
18
|
* A list of tax classifications that apply to the order.
|
|
21
|
-
* @type {Array<TaxClassification>}
|
|
22
|
-
* @memberof MarketplaceTaxInfo
|
|
23
19
|
*/
|
|
24
20
|
'TaxClassifications'?: Array<TaxClassification>;
|
|
25
21
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Measurement information for an order item.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Measurement
|
|
16
14
|
*/
|
|
17
15
|
export interface Measurement {
|
|
18
16
|
/**
|
|
19
17
|
* The unit of measure.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Measurement
|
|
22
18
|
*/
|
|
23
19
|
'Unit': MeasurementUnitEnum;
|
|
24
20
|
/**
|
|
25
21
|
* The measurement value.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof Measurement
|
|
28
22
|
*/
|
|
29
23
|
'Value': number;
|
|
30
24
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Error response returned when the request is unsuccessful.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ModelError
|
|
16
14
|
*/
|
|
17
15
|
export interface ModelError {
|
|
18
16
|
/**
|
|
19
17
|
* An error code that identifies the type of error that occurred.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ModelError
|
|
22
18
|
*/
|
|
23
19
|
'code': string;
|
|
24
20
|
/**
|
|
25
21
|
* A message that describes the error condition.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ModelError
|
|
28
22
|
*/
|
|
29
23
|
'message': string;
|
|
30
24
|
/**
|
|
31
25
|
* Additional details that can help the caller understand or fix the issue.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ModelError
|
|
34
26
|
*/
|
|
35
27
|
'details'?: string;
|
|
36
28
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The monetary value of the order.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Money
|
|
16
14
|
*/
|
|
17
15
|
export interface Money {
|
|
18
16
|
/**
|
|
19
17
|
* The three-digit currency code. In ISO 4217 format.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Money
|
|
22
18
|
*/
|
|
23
19
|
'CurrencyCode'?: string;
|
|
24
20
|
/**
|
|
25
21
|
* The currency amount.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Money
|
|
28
22
|
*/
|
|
29
23
|
'Amount'?: string;
|
|
30
24
|
}
|
|
@@ -12,20 +12,8 @@
|
|
|
12
12
|
import type { OpenTimeInterval } from './open-time-interval';
|
|
13
13
|
/**
|
|
14
14
|
* The time interval for which the business is open.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface OpenInterval
|
|
17
15
|
*/
|
|
18
16
|
export interface OpenInterval {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {OpenTimeInterval}
|
|
22
|
-
* @memberof OpenInterval
|
|
23
|
-
*/
|
|
24
17
|
'StartTime'?: OpenTimeInterval;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {OpenTimeInterval}
|
|
28
|
-
* @memberof OpenInterval
|
|
29
|
-
*/
|
|
30
18
|
'EndTime'?: OpenTimeInterval;
|
|
31
19
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The time when the business opens or closes.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface OpenTimeInterval
|
|
16
14
|
*/
|
|
17
15
|
export interface OpenTimeInterval {
|
|
18
16
|
/**
|
|
19
17
|
* The hour when the business opens or closes.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof OpenTimeInterval
|
|
22
18
|
*/
|
|
23
19
|
'Hour'?: number;
|
|
24
20
|
/**
|
|
25
21
|
* The minute when the business opens or closes.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof OpenTimeInterval
|
|
28
22
|
*/
|
|
29
23
|
'Minute'?: number;
|
|
30
24
|
}
|
|
@@ -13,32 +13,16 @@ import type { Address } from './address';
|
|
|
13
13
|
import type { DeliveryPreferences } from './delivery-preferences';
|
|
14
14
|
/**
|
|
15
15
|
* The shipping address for the order.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface OrderAddress
|
|
18
16
|
*/
|
|
19
17
|
export interface OrderAddress {
|
|
20
18
|
/**
|
|
21
19
|
* An Amazon-defined order identifier, in 3-7-7 format.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof OrderAddress
|
|
24
20
|
*/
|
|
25
21
|
'AmazonOrderId': string;
|
|
26
22
|
/**
|
|
27
23
|
* The company name of the contact buyer. For IBA orders, the buyer company must be Amazon entities.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof OrderAddress
|
|
30
24
|
*/
|
|
31
25
|
'BuyerCompanyName'?: string;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {Address}
|
|
35
|
-
* @memberof OrderAddress
|
|
36
|
-
*/
|
|
37
26
|
'ShippingAddress'?: Address;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {DeliveryPreferences}
|
|
41
|
-
* @memberof OrderAddress
|
|
42
|
-
*/
|
|
43
27
|
'DeliveryPreferences'?: DeliveryPreferences;
|
|
44
28
|
}
|
|
@@ -12,44 +12,27 @@
|
|
|
12
12
|
import type { BuyerTaxInfo } from './buyer-tax-info';
|
|
13
13
|
/**
|
|
14
14
|
* Buyer information for an order.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface OrderBuyerInfo
|
|
17
15
|
*/
|
|
18
16
|
export interface OrderBuyerInfo {
|
|
19
17
|
/**
|
|
20
18
|
* An Amazon-defined order identifier, in 3-7-7 format.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof OrderBuyerInfo
|
|
23
19
|
*/
|
|
24
20
|
'AmazonOrderId': string;
|
|
25
21
|
/**
|
|
26
22
|
* The anonymized email address of the buyer.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof OrderBuyerInfo
|
|
29
23
|
*/
|
|
30
24
|
'BuyerEmail'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* The buyer name or the recipient name.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof OrderBuyerInfo
|
|
35
27
|
*/
|
|
36
28
|
'BuyerName'?: string;
|
|
37
29
|
/**
|
|
38
30
|
* The county of the buyer. **Note**: This attribute is only available in the Brazil marketplace.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof OrderBuyerInfo
|
|
41
31
|
*/
|
|
42
32
|
'BuyerCounty'?: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {BuyerTaxInfo}
|
|
46
|
-
* @memberof OrderBuyerInfo
|
|
47
|
-
*/
|
|
48
33
|
'BuyerTaxInfo'?: BuyerTaxInfo;
|
|
49
34
|
/**
|
|
50
35
|
* The purchase order (PO) number entered by the buyer at checkout. Only returned for orders where the buyer entered a PO number at checkout.
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof OrderBuyerInfo
|
|
53
36
|
*/
|
|
54
37
|
'PurchaseOrderNumber'?: string;
|
|
55
38
|
}
|
|
@@ -13,44 +13,21 @@ import type { BuyerCustomizedInfoDetail } from './buyer-customized-info-detail';
|
|
|
13
13
|
import type { Money } from './money';
|
|
14
14
|
/**
|
|
15
15
|
* A single order item\'s buyer information.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface OrderItemBuyerInfo
|
|
18
16
|
*/
|
|
19
17
|
export interface OrderItemBuyerInfo {
|
|
20
18
|
/**
|
|
21
19
|
* An Amazon-defined order item identifier.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof OrderItemBuyerInfo
|
|
24
20
|
*/
|
|
25
21
|
'OrderItemId': string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {BuyerCustomizedInfoDetail}
|
|
29
|
-
* @memberof OrderItemBuyerInfo
|
|
30
|
-
*/
|
|
31
22
|
'BuyerCustomizedInfo'?: BuyerCustomizedInfoDetail;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {Money}
|
|
35
|
-
* @memberof OrderItemBuyerInfo
|
|
36
|
-
*/
|
|
37
23
|
'GiftWrapPrice'?: Money;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {Money}
|
|
41
|
-
* @memberof OrderItemBuyerInfo
|
|
42
|
-
*/
|
|
43
24
|
'GiftWrapTax'?: Money;
|
|
44
25
|
/**
|
|
45
26
|
* A gift message provided by the buyer. **Note**: This attribute is only available for MFN (fulfilled by seller) orders.
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof OrderItemBuyerInfo
|
|
48
27
|
*/
|
|
49
28
|
'GiftMessageText'?: string;
|
|
50
29
|
/**
|
|
51
30
|
* The gift wrap level specified by the buyer.
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof OrderItemBuyerInfo
|
|
54
31
|
*/
|
|
55
32
|
'GiftWrapLevel'?: string;
|
|
56
33
|
}
|
|
@@ -22,249 +22,110 @@ import type { SubstitutionPreferences } from './substitution-preferences';
|
|
|
22
22
|
import type { TaxCollection } from './tax-collection';
|
|
23
23
|
/**
|
|
24
24
|
* A single order item.
|
|
25
|
-
* @export
|
|
26
|
-
* @interface OrderItem
|
|
27
25
|
*/
|
|
28
26
|
export interface OrderItem {
|
|
29
27
|
/**
|
|
30
28
|
* The item\'s Amazon Standard Identification Number (ASIN).
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof OrderItem
|
|
33
29
|
*/
|
|
34
30
|
'ASIN': string;
|
|
35
31
|
/**
|
|
36
32
|
* The item\'s seller stock keeping unit (SKU).
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof OrderItem
|
|
39
33
|
*/
|
|
40
34
|
'SellerSKU'?: string;
|
|
41
35
|
/**
|
|
42
36
|
* An Amazon-defined order item identifier.
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof OrderItem
|
|
45
37
|
*/
|
|
46
38
|
'OrderItemId': string;
|
|
47
39
|
/**
|
|
48
40
|
* A list of associated items that a customer has purchased with a product. For example, a tire installation service purchased with tires.
|
|
49
|
-
* @type {Array<AssociatedItem>}
|
|
50
|
-
* @memberof OrderItem
|
|
51
41
|
*/
|
|
52
42
|
'AssociatedItems'?: Array<AssociatedItem>;
|
|
53
43
|
/**
|
|
54
44
|
* The item\'s name.
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof OrderItem
|
|
57
45
|
*/
|
|
58
46
|
'Title'?: string;
|
|
59
47
|
/**
|
|
60
48
|
* The number of items in the order.
|
|
61
|
-
* @type {number}
|
|
62
|
-
* @memberof OrderItem
|
|
63
49
|
*/
|
|
64
50
|
'QuantityOrdered': number;
|
|
65
51
|
/**
|
|
66
52
|
* The number of items shipped.
|
|
67
|
-
* @type {number}
|
|
68
|
-
* @memberof OrderItem
|
|
69
53
|
*/
|
|
70
54
|
'QuantityShipped'?: number;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {ProductInfoDetail}
|
|
74
|
-
* @memberof OrderItem
|
|
75
|
-
*/
|
|
76
55
|
'ProductInfo'?: ProductInfoDetail;
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
* @type {PointsGrantedDetail}
|
|
80
|
-
* @memberof OrderItem
|
|
81
|
-
*/
|
|
82
56
|
'PointsGranted'?: PointsGrantedDetail;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @type {Money}
|
|
86
|
-
* @memberof OrderItem
|
|
87
|
-
*/
|
|
88
57
|
'ItemPrice'?: Money;
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
91
|
-
* @type {Money}
|
|
92
|
-
* @memberof OrderItem
|
|
93
|
-
*/
|
|
94
58
|
'ShippingPrice'?: Money;
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* @type {Money}
|
|
98
|
-
* @memberof OrderItem
|
|
99
|
-
*/
|
|
100
59
|
'ItemTax'?: Money;
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
* @type {Money}
|
|
104
|
-
* @memberof OrderItem
|
|
105
|
-
*/
|
|
106
60
|
'ShippingTax'?: Money;
|
|
107
|
-
/**
|
|
108
|
-
*
|
|
109
|
-
* @type {Money}
|
|
110
|
-
* @memberof OrderItem
|
|
111
|
-
*/
|
|
112
61
|
'ShippingDiscount'?: Money;
|
|
113
|
-
/**
|
|
114
|
-
*
|
|
115
|
-
* @type {Money}
|
|
116
|
-
* @memberof OrderItem
|
|
117
|
-
*/
|
|
118
62
|
'ShippingDiscountTax'?: Money;
|
|
119
|
-
/**
|
|
120
|
-
*
|
|
121
|
-
* @type {Money}
|
|
122
|
-
* @memberof OrderItem
|
|
123
|
-
*/
|
|
124
63
|
'PromotionDiscount'?: Money;
|
|
125
|
-
/**
|
|
126
|
-
*
|
|
127
|
-
* @type {Money}
|
|
128
|
-
* @memberof OrderItem
|
|
129
|
-
*/
|
|
130
64
|
'PromotionDiscountTax'?: Money;
|
|
131
65
|
/**
|
|
132
66
|
* A list of promotion identifiers provided by the seller when the promotions were created.
|
|
133
|
-
* @type {Array<string>}
|
|
134
|
-
* @memberof OrderItem
|
|
135
67
|
*/
|
|
136
68
|
'PromotionIds'?: Array<string>;
|
|
137
|
-
/**
|
|
138
|
-
*
|
|
139
|
-
* @type {Money}
|
|
140
|
-
* @memberof OrderItem
|
|
141
|
-
*/
|
|
142
69
|
'CODFee'?: Money;
|
|
143
|
-
/**
|
|
144
|
-
*
|
|
145
|
-
* @type {Money}
|
|
146
|
-
* @memberof OrderItem
|
|
147
|
-
*/
|
|
148
70
|
'CODFeeDiscount'?: Money;
|
|
149
71
|
/**
|
|
150
72
|
* Indicates whether the item is a gift. **Possible values**: `true` and `false`.
|
|
151
|
-
* @type {string}
|
|
152
|
-
* @memberof OrderItem
|
|
153
73
|
*/
|
|
154
74
|
'IsGift'?: string;
|
|
155
75
|
/**
|
|
156
76
|
* The condition of the item, as described by the seller.
|
|
157
|
-
* @type {string}
|
|
158
|
-
* @memberof OrderItem
|
|
159
77
|
*/
|
|
160
78
|
'ConditionNote'?: string;
|
|
161
79
|
/**
|
|
162
80
|
* The condition of the item. **Possible values**: `New`, `Used`, `Collectible`, `Refurbished`, `Preorder`, and `Club`.
|
|
163
|
-
* @type {string}
|
|
164
|
-
* @memberof OrderItem
|
|
165
81
|
*/
|
|
166
82
|
'ConditionId'?: string;
|
|
167
83
|
/**
|
|
168
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`.
|
|
169
|
-
* @type {string}
|
|
170
|
-
* @memberof OrderItem
|
|
171
85
|
*/
|
|
172
86
|
'ConditionSubtypeId'?: string;
|
|
173
87
|
/**
|
|
174
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.
|
|
175
|
-
* @type {string}
|
|
176
|
-
* @memberof OrderItem
|
|
177
89
|
*/
|
|
178
90
|
'ScheduledDeliveryStartDate'?: string;
|
|
179
91
|
/**
|
|
180
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.
|
|
181
|
-
* @type {string}
|
|
182
|
-
* @memberof OrderItem
|
|
183
93
|
*/
|
|
184
94
|
'ScheduledDeliveryEndDate'?: string;
|
|
185
95
|
/**
|
|
186
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`
|
|
187
|
-
* @type {string}
|
|
188
|
-
* @memberof OrderItem
|
|
189
97
|
*/
|
|
190
98
|
'PriceDesignation'?: string;
|
|
191
|
-
/**
|
|
192
|
-
*
|
|
193
|
-
* @type {TaxCollection}
|
|
194
|
-
* @memberof OrderItem
|
|
195
|
-
*/
|
|
196
99
|
'TaxCollection'?: TaxCollection;
|
|
197
100
|
/**
|
|
198
101
|
* When true, the product type for this item has a serial number. Only returned for Amazon Easy Ship orders.
|
|
199
|
-
* @type {boolean}
|
|
200
|
-
* @memberof OrderItem
|
|
201
102
|
*/
|
|
202
103
|
'SerialNumberRequired'?: boolean;
|
|
203
104
|
/**
|
|
204
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.
|
|
205
|
-
* @type {boolean}
|
|
206
|
-
* @memberof OrderItem
|
|
207
106
|
*/
|
|
208
107
|
'IsTransparency'?: boolean;
|
|
209
108
|
/**
|
|
210
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.
|
|
211
|
-
* @type {string}
|
|
212
|
-
* @memberof OrderItem
|
|
213
110
|
*/
|
|
214
111
|
'IossNumber'?: string;
|
|
215
112
|
/**
|
|
216
113
|
* The store chain store identifier. Linked to a specific store in a store chain.
|
|
217
|
-
* @type {string}
|
|
218
|
-
* @memberof OrderItem
|
|
219
114
|
*/
|
|
220
115
|
'StoreChainStoreId'?: string;
|
|
221
116
|
/**
|
|
222
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.
|
|
223
|
-
* @type {string}
|
|
224
|
-
* @memberof OrderItem
|
|
225
118
|
*/
|
|
226
119
|
'DeemedResellerCategory'?: OrderItemDeemedResellerCategoryEnum;
|
|
227
|
-
/**
|
|
228
|
-
*
|
|
229
|
-
* @type {ItemBuyerInfo}
|
|
230
|
-
* @memberof OrderItem
|
|
231
|
-
*/
|
|
232
120
|
'BuyerInfo'?: ItemBuyerInfo;
|
|
233
|
-
/**
|
|
234
|
-
*
|
|
235
|
-
* @type {BuyerRequestedCancel}
|
|
236
|
-
* @memberof OrderItem
|
|
237
|
-
*/
|
|
238
121
|
'BuyerRequestedCancel'?: BuyerRequestedCancel;
|
|
239
122
|
/**
|
|
240
123
|
* A list of serial numbers for electronic products that are shipped to customers. Returned for FBA orders only.
|
|
241
|
-
* @type {Array<string>}
|
|
242
|
-
* @memberof OrderItem
|
|
243
124
|
*/
|
|
244
125
|
'SerialNumbers'?: Array<string>;
|
|
245
|
-
/**
|
|
246
|
-
*
|
|
247
|
-
* @type {SubstitutionPreferences}
|
|
248
|
-
* @memberof OrderItem
|
|
249
|
-
*/
|
|
250
126
|
'SubstitutionPreferences'?: SubstitutionPreferences;
|
|
251
|
-
/**
|
|
252
|
-
*
|
|
253
|
-
* @type {Measurement}
|
|
254
|
-
* @memberof OrderItem
|
|
255
|
-
*/
|
|
256
127
|
'Measurement'?: Measurement;
|
|
257
|
-
/**
|
|
258
|
-
*
|
|
259
|
-
* @type {ShippingConstraints}
|
|
260
|
-
* @memberof OrderItem
|
|
261
|
-
*/
|
|
262
128
|
'ShippingConstraints'?: ShippingConstraints;
|
|
263
|
-
/**
|
|
264
|
-
*
|
|
265
|
-
* @type {AmazonPrograms}
|
|
266
|
-
* @memberof OrderItem
|
|
267
|
-
*/
|
|
268
129
|
'AmazonPrograms'?: AmazonPrograms;
|
|
269
130
|
}
|
|
270
131
|
export declare const OrderItemDeemedResellerCategoryEnum: {
|
|
@@ -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
|
}
|