@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
|
@@ -12,98 +12,63 @@
|
|
|
12
12
|
import type { AddressExtendedFields } from './address-extended-fields';
|
|
13
13
|
/**
|
|
14
14
|
* The shipping address for the order.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface Address
|
|
17
15
|
*/
|
|
18
16
|
export interface Address {
|
|
19
17
|
/**
|
|
20
18
|
* The name.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof Address
|
|
23
19
|
*/
|
|
24
20
|
'Name': string;
|
|
25
21
|
/**
|
|
26
22
|
* The company name of the recipient. **Note**: This attribute is only available for shipping address.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof Address
|
|
29
23
|
*/
|
|
30
24
|
'CompanyName'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* The street address.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof Address
|
|
35
27
|
*/
|
|
36
28
|
'AddressLine1'?: string;
|
|
37
29
|
/**
|
|
38
30
|
* Additional street address information, if required.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof Address
|
|
41
31
|
*/
|
|
42
32
|
'AddressLine2'?: string;
|
|
43
33
|
/**
|
|
44
34
|
* Additional street address information, if required.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof Address
|
|
47
35
|
*/
|
|
48
36
|
'AddressLine3'?: string;
|
|
49
37
|
/**
|
|
50
38
|
* The city.
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof Address
|
|
53
39
|
*/
|
|
54
40
|
'City'?: string;
|
|
55
41
|
/**
|
|
56
42
|
* The county.
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof Address
|
|
59
43
|
*/
|
|
60
44
|
'County'?: string;
|
|
61
45
|
/**
|
|
62
46
|
* The district.
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof Address
|
|
65
47
|
*/
|
|
66
48
|
'District'?: string;
|
|
67
49
|
/**
|
|
68
50
|
* The state or region.
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof Address
|
|
71
51
|
*/
|
|
72
52
|
'StateOrRegion'?: string;
|
|
73
53
|
/**
|
|
74
54
|
* The municipality.
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof Address
|
|
77
55
|
*/
|
|
78
56
|
'Municipality'?: string;
|
|
79
57
|
/**
|
|
80
58
|
* The postal code.
|
|
81
|
-
* @type {string}
|
|
82
|
-
* @memberof Address
|
|
83
59
|
*/
|
|
84
60
|
'PostalCode'?: string;
|
|
85
61
|
/**
|
|
86
62
|
* The country code. A two-character country code, in ISO 3166-1 alpha-2 format.
|
|
87
|
-
* @type {string}
|
|
88
|
-
* @memberof Address
|
|
89
63
|
*/
|
|
90
64
|
'CountryCode'?: string;
|
|
91
65
|
/**
|
|
92
66
|
* The phone number of the buyer. **Note**: 1. This attribute is only available for shipping address. 2. In some cases, the buyer phone number is suppressed: a. Phone is suppressed for all `AFN` (fulfilled by Amazon) orders. b. Phone is suppressed for the shipped `MFN` (fulfilled by seller) order when the current date is past the Latest Delivery Date.
|
|
93
|
-
* @type {string}
|
|
94
|
-
* @memberof Address
|
|
95
67
|
*/
|
|
96
68
|
'Phone'?: string;
|
|
97
|
-
/**
|
|
98
|
-
*
|
|
99
|
-
* @type {AddressExtendedFields}
|
|
100
|
-
* @memberof Address
|
|
101
|
-
*/
|
|
102
69
|
'ExtendedFields'?: AddressExtendedFields;
|
|
103
70
|
/**
|
|
104
71
|
* The address type of the shipping address.
|
|
105
|
-
* @type {string}
|
|
106
|
-
* @memberof Address
|
|
107
72
|
*/
|
|
108
73
|
'AddressType'?: AddressAddressTypeEnum;
|
|
109
74
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Contains the list of programs that Amazon associates with an item. Possible programs are: - **Subscribe and Save**: Offers recurring, scheduled deliveries to Amazon customers and Amazon Business customers for their frequently ordered products. - **FBM Ship+**: Unlocks expedited shipping without the extra cost. Helps you to provide accurate and fast delivery dates to Amazon customers. You also receive protection from late deliveries, a discount on expedited shipping rates, and cash back when you ship.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AmazonPrograms
|
|
16
14
|
*/
|
|
17
15
|
export interface AmazonPrograms {
|
|
18
16
|
/**
|
|
19
17
|
* A list of the programs that Amazon associates with the order item. **Possible values**: `SUBSCRIBE_AND_SAVE`, `FBM_SHIP_PLUS`
|
|
20
|
-
* @type {Array<string>}
|
|
21
|
-
* @memberof AmazonPrograms
|
|
22
18
|
*/
|
|
23
19
|
'Programs': Array<string>;
|
|
24
20
|
}
|
|
@@ -12,26 +12,15 @@
|
|
|
12
12
|
import type { AssociationType } from './association-type';
|
|
13
13
|
/**
|
|
14
14
|
* An item that is associated with an order item. For example, a tire installation service that is purchased with tires.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface AssociatedItem
|
|
17
15
|
*/
|
|
18
16
|
export interface AssociatedItem {
|
|
19
17
|
/**
|
|
20
18
|
* The order item\'s order identifier, in 3-7-7 format.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof AssociatedItem
|
|
23
19
|
*/
|
|
24
20
|
'OrderId'?: string;
|
|
25
21
|
/**
|
|
26
22
|
* An Amazon-defined item identifier for the associated item.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof AssociatedItem
|
|
29
23
|
*/
|
|
30
24
|
'OrderItemId'?: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {AssociationType}
|
|
34
|
-
* @memberof AssociatedItem
|
|
35
|
-
*/
|
|
36
25
|
'AssociationType'?: AssociationType;
|
|
37
26
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Contains information regarding the Shipping Settings Automation program, such as whether the order\'s shipping settings were generated automatically, and what those settings are.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AutomatedShippingSettings
|
|
16
14
|
*/
|
|
17
15
|
export interface AutomatedShippingSettings {
|
|
18
16
|
/**
|
|
19
17
|
* When true, this order has automated shipping settings generated by Amazon. This order could be identified as an SSA order.
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof AutomatedShippingSettings
|
|
22
18
|
*/
|
|
23
19
|
'HasAutomatedShippingSettings'?: boolean;
|
|
24
20
|
/**
|
|
25
21
|
* Auto-generated carrier for SSA orders.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AutomatedShippingSettings
|
|
28
22
|
*/
|
|
29
23
|
'AutomatedCarrier'?: string;
|
|
30
24
|
/**
|
|
31
25
|
* Auto-generated ship method for SSA orders.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AutomatedShippingSettings
|
|
34
26
|
*/
|
|
35
27
|
'AutomatedShipMethod'?: string;
|
|
36
28
|
}
|
|
@@ -12,20 +12,14 @@
|
|
|
12
12
|
import type { OpenInterval } from './open-interval';
|
|
13
13
|
/**
|
|
14
14
|
* Business days and hours when the destination is open for deliveries.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface BusinessHours
|
|
17
15
|
*/
|
|
18
16
|
export interface BusinessHours {
|
|
19
17
|
/**
|
|
20
18
|
* Day of the week.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof BusinessHours
|
|
23
19
|
*/
|
|
24
20
|
'DayOfWeek'?: BusinessHoursDayOfWeekEnum;
|
|
25
21
|
/**
|
|
26
22
|
* Time window during the day when the business is open.
|
|
27
|
-
* @type {Array<OpenInterval>}
|
|
28
|
-
* @memberof BusinessHours
|
|
29
23
|
*/
|
|
30
24
|
'OpenIntervals'?: Array<OpenInterval>;
|
|
31
25
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Buyer information for custom orders from the Amazon Custom program.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface BuyerCustomizedInfoDetail
|
|
16
14
|
*/
|
|
17
15
|
export interface BuyerCustomizedInfoDetail {
|
|
18
16
|
/**
|
|
19
17
|
* The location of a ZIP file containing Amazon Custom data.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof BuyerCustomizedInfoDetail
|
|
22
18
|
*/
|
|
23
19
|
'CustomizedURL'?: string;
|
|
24
20
|
}
|
|
@@ -12,38 +12,23 @@
|
|
|
12
12
|
import type { BuyerTaxInfo } from './buyer-tax-info';
|
|
13
13
|
/**
|
|
14
14
|
* Buyer information.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface BuyerInfo
|
|
17
15
|
*/
|
|
18
16
|
export interface BuyerInfo {
|
|
19
17
|
/**
|
|
20
18
|
* The anonymized email address of the buyer.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof BuyerInfo
|
|
23
19
|
*/
|
|
24
20
|
'BuyerEmail'?: string;
|
|
25
21
|
/**
|
|
26
22
|
* The buyer name or the recipient name.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof BuyerInfo
|
|
29
23
|
*/
|
|
30
24
|
'BuyerName'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* The county of the buyer. **Note**: This attribute is only available in the Brazil marketplace.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof BuyerInfo
|
|
35
27
|
*/
|
|
36
28
|
'BuyerCounty'?: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {BuyerTaxInfo}
|
|
40
|
-
* @memberof BuyerInfo
|
|
41
|
-
*/
|
|
42
29
|
'BuyerTaxInfo'?: BuyerTaxInfo;
|
|
43
30
|
/**
|
|
44
31
|
* The purchase order (PO) number entered by the buyer at checkout. Only returned for orders where the buyer entered a PO number at checkout.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof BuyerInfo
|
|
47
32
|
*/
|
|
48
33
|
'PurchaseOrderNumber'?: string;
|
|
49
34
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Information about whether or not a buyer requested cancellation.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface BuyerRequestedCancel
|
|
16
14
|
*/
|
|
17
15
|
export interface BuyerRequestedCancel {
|
|
18
16
|
/**
|
|
19
17
|
* Indicate whether the buyer has requested cancellation. **Possible Values**: `true`, `false`.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof BuyerRequestedCancel
|
|
22
18
|
*/
|
|
23
19
|
'IsBuyerRequestedCancel'?: string;
|
|
24
20
|
/**
|
|
25
21
|
* The reason that the buyer requested cancellation.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof BuyerRequestedCancel
|
|
28
22
|
*/
|
|
29
23
|
'BuyerCancelReason'?: string;
|
|
30
24
|
}
|
|
@@ -12,26 +12,18 @@
|
|
|
12
12
|
import type { TaxClassification } from './tax-classification';
|
|
13
13
|
/**
|
|
14
14
|
* Tax information about the buyer.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface BuyerTaxInfo
|
|
17
15
|
*/
|
|
18
16
|
export interface BuyerTaxInfo {
|
|
19
17
|
/**
|
|
20
18
|
* The legal name of the company.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof BuyerTaxInfo
|
|
23
19
|
*/
|
|
24
20
|
'CompanyLegalName'?: string;
|
|
25
21
|
/**
|
|
26
22
|
* The country or region imposing the tax.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof BuyerTaxInfo
|
|
29
23
|
*/
|
|
30
24
|
'TaxingRegion'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* A list of tax classifications that apply to the order.
|
|
33
|
-
* @type {Array<TaxClassification>}
|
|
34
|
-
* @memberof BuyerTaxInfo
|
|
35
27
|
*/
|
|
36
28
|
'TaxClassifications'?: Array<TaxClassification>;
|
|
37
29
|
}
|
|
@@ -11,32 +11,22 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Contains the business invoice tax information. Available only in the TR marketplace.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface BuyerTaxInformation
|
|
16
14
|
*/
|
|
17
15
|
export interface BuyerTaxInformation {
|
|
18
16
|
/**
|
|
19
17
|
* Business buyer\'s company legal name.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof BuyerTaxInformation
|
|
22
18
|
*/
|
|
23
19
|
'BuyerLegalCompanyName'?: string;
|
|
24
20
|
/**
|
|
25
21
|
* Business buyer\'s address.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof BuyerTaxInformation
|
|
28
22
|
*/
|
|
29
23
|
'BuyerBusinessAddress'?: string;
|
|
30
24
|
/**
|
|
31
25
|
* Business buyer\'s tax registration ID.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof BuyerTaxInformation
|
|
34
26
|
*/
|
|
35
27
|
'BuyerTaxRegistrationId'?: string;
|
|
36
28
|
/**
|
|
37
29
|
* Business buyer\'s tax office.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof BuyerTaxInformation
|
|
40
30
|
*/
|
|
41
31
|
'BuyerTaxOffice'?: string;
|
|
42
32
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The error response schema for the `confirmShipment` operation.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ConfirmShipmentErrorResponse
|
|
16
14
|
*/
|
|
17
15
|
export interface ConfirmShipmentErrorResponse {
|
|
18
16
|
/**
|
|
19
17
|
* A list of error responses returned when a request is unsuccessful.
|
|
20
|
-
* @type {Array<Error>}
|
|
21
|
-
* @memberof ConfirmShipmentErrorResponse
|
|
22
18
|
*/
|
|
23
19
|
'errors'?: Array<Error>;
|
|
24
20
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* A single order item.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ConfirmShipmentOrderItem
|
|
16
14
|
*/
|
|
17
15
|
export interface ConfirmShipmentOrderItem {
|
|
18
16
|
/**
|
|
19
17
|
* The order item\'s unique identifier.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ConfirmShipmentOrderItem
|
|
22
18
|
*/
|
|
23
19
|
'orderItemId': string;
|
|
24
20
|
/**
|
|
25
21
|
* The item\'s quantity.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof ConfirmShipmentOrderItem
|
|
28
22
|
*/
|
|
29
23
|
'quantity': number;
|
|
30
24
|
/**
|
|
31
25
|
* A list of order items.
|
|
32
|
-
* @type {Array<string>}
|
|
33
|
-
* @memberof ConfirmShipmentOrderItem
|
|
34
26
|
*/
|
|
35
27
|
'transparencyCodes'?: Array<string>;
|
|
36
28
|
}
|
|
@@ -12,26 +12,15 @@
|
|
|
12
12
|
import type { PackageDetail } from './package-detail';
|
|
13
13
|
/**
|
|
14
14
|
* The request schema for an shipment confirmation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ConfirmShipmentRequest
|
|
17
15
|
*/
|
|
18
16
|
export interface ConfirmShipmentRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {PackageDetail}
|
|
22
|
-
* @memberof ConfirmShipmentRequest
|
|
23
|
-
*/
|
|
24
17
|
'packageDetail': PackageDetail;
|
|
25
18
|
/**
|
|
26
19
|
* The COD collection method (only supported in the JP marketplace).
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ConfirmShipmentRequest
|
|
29
20
|
*/
|
|
30
21
|
'codCollectionMethod'?: ConfirmShipmentRequestCodCollectionMethodEnum;
|
|
31
22
|
/**
|
|
32
23
|
* The unobfuscated marketplace identifier.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof ConfirmShipmentRequest
|
|
35
24
|
*/
|
|
36
25
|
'marketplaceId': string;
|
|
37
26
|
}
|
|
@@ -13,32 +13,19 @@ import type { OtherDeliveryAttributes } from './other-delivery-attributes';
|
|
|
13
13
|
import type { PreferredDeliveryTime } from './preferred-delivery-time';
|
|
14
14
|
/**
|
|
15
15
|
* Contains all of the delivery instructions provided by the customer for the shipping address.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface DeliveryPreferences
|
|
18
16
|
*/
|
|
19
17
|
export interface DeliveryPreferences {
|
|
20
18
|
/**
|
|
21
19
|
* Drop-off location selected by the customer.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof DeliveryPreferences
|
|
24
20
|
*/
|
|
25
21
|
'DropOffLocation'?: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {PreferredDeliveryTime}
|
|
29
|
-
* @memberof DeliveryPreferences
|
|
30
|
-
*/
|
|
31
22
|
'PreferredDeliveryTime'?: PreferredDeliveryTime;
|
|
32
23
|
/**
|
|
33
24
|
* Enumerated list of miscellaneous delivery attributes associated with the shipping address.
|
|
34
|
-
* @type {Array<OtherDeliveryAttributes>}
|
|
35
|
-
* @memberof DeliveryPreferences
|
|
36
25
|
*/
|
|
37
26
|
'OtherAttributes'?: Array<OtherDeliveryAttributes>;
|
|
38
27
|
/**
|
|
39
28
|
* Building instructions, nearby landmark or navigation instructions.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof DeliveryPreferences
|
|
42
29
|
*/
|
|
43
30
|
'AddressInstructions'?: string;
|
|
44
31
|
}
|
|
@@ -12,26 +12,18 @@
|
|
|
12
12
|
import type { OpenInterval } from './open-interval';
|
|
13
13
|
/**
|
|
14
14
|
* Dates when the business is closed or open with a different time window.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ExceptionDates
|
|
17
15
|
*/
|
|
18
16
|
export interface ExceptionDates {
|
|
19
17
|
/**
|
|
20
18
|
* Date when the business is closed, in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> date format.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ExceptionDates
|
|
23
19
|
*/
|
|
24
20
|
'ExceptionDate'?: string;
|
|
25
21
|
/**
|
|
26
22
|
* Boolean indicating if the business is closed or open on that date.
|
|
27
|
-
* @type {boolean}
|
|
28
|
-
* @memberof ExceptionDates
|
|
29
23
|
*/
|
|
30
24
|
'IsOpen'?: boolean;
|
|
31
25
|
/**
|
|
32
26
|
* Time window during the day when the business is open.
|
|
33
|
-
* @type {Array<OpenInterval>}
|
|
34
|
-
* @memberof ExceptionDates
|
|
35
27
|
*/
|
|
36
28
|
'OpenIntervals'?: Array<OpenInterval>;
|
|
37
29
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Contains the instructions about the fulfillment, such as the location from where you want the order filled.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface FulfillmentInstruction
|
|
16
14
|
*/
|
|
17
15
|
export interface FulfillmentInstruction {
|
|
18
16
|
/**
|
|
19
17
|
* The `sourceId` of the location from where you want the order fulfilled.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof FulfillmentInstruction
|
|
22
18
|
*/
|
|
23
19
|
'FulfillmentSupplySourceId'?: string;
|
|
24
20
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { OrderAddress } from './order-address';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `getOrderAddress` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetOrderAddressResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetOrderAddressResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {OrderAddress}
|
|
22
|
-
* @memberof GetOrderAddressResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: OrderAddress;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetOrderAddressResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { OrderBuyerInfo } from './order-buyer-info';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `getOrderBuyerInfo` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetOrderBuyerInfoResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetOrderBuyerInfoResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {OrderBuyerInfo}
|
|
22
|
-
* @memberof GetOrderBuyerInfoResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: OrderBuyerInfo;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetOrderBuyerInfoResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { OrderItemsBuyerInfoList } from './order-items-buyer-info-list';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `getOrderItemsBuyerInfo` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetOrderItemsBuyerInfoResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetOrderItemsBuyerInfoResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {OrderItemsBuyerInfoList}
|
|
22
|
-
* @memberof GetOrderItemsBuyerInfoResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: OrderItemsBuyerInfoList;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetOrderItemsBuyerInfoResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { OrderItemsList } from './order-items-list';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `getOrderItems` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetOrderItemsResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetOrderItemsResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {OrderItemsList}
|
|
22
|
-
* @memberof GetOrderItemsResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: OrderItemsList;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetOrderItemsResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { OrderRegulatedInfo } from './order-regulated-info';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `getOrderRegulatedInfo` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetOrderRegulatedInfoResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetOrderRegulatedInfoResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {OrderRegulatedInfo}
|
|
22
|
-
* @memberof GetOrderRegulatedInfoResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: OrderRegulatedInfo;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetOrderRegulatedInfoResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { Order } from './order';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `getOrder` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetOrderResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetOrderResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Order}
|
|
22
|
-
* @memberof GetOrderResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: Order;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetOrderResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { OrdersList } from './orders-list';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `getOrders` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetOrdersResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetOrdersResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {OrdersList}
|
|
22
|
-
* @memberof GetOrdersResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: OrdersList;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetOrdersResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|