@sp-api-sdk/fulfillment-outbound-api-2020-07-01 4.0.1 → 4.0.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/fulfillment-outbound-api.js +0 -20
- 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/additional-location-info.js +0 -2
- package/dist/cjs/api-model/models/current-status.js +0 -2
- package/dist/cjs/api-model/models/event-code.js +0 -2
- package/dist/cjs/api-model/models/fulfillment-action.js +0 -2
- package/dist/cjs/api-model/models/fulfillment-order-status.js +0 -2
- package/dist/cjs/api-model/models/fulfillment-policy.js +0 -2
- package/dist/cjs/api-model/models/fulfillment-return-item-status.js +0 -2
- package/dist/cjs/api-model/models/invalid-item-reason-code.js +0 -2
- package/dist/cjs/api-model/models/return-item-disposition.js +0 -2
- package/dist/cjs/api-model/models/shipping-speed-category.js +0 -2
- package/dist/es/api-model/api/fulfillment-outbound-api.js +0 -20
- 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/additional-location-info.js +0 -2
- package/dist/es/api-model/models/current-status.js +0 -2
- package/dist/es/api-model/models/event-code.js +0 -2
- package/dist/es/api-model/models/fulfillment-action.js +0 -2
- package/dist/es/api-model/models/fulfillment-order-status.js +0 -2
- package/dist/es/api-model/models/fulfillment-policy.js +0 -2
- package/dist/es/api-model/models/fulfillment-return-item-status.js +0 -2
- package/dist/es/api-model/models/invalid-item-reason-code.js +0 -2
- package/dist/es/api-model/models/return-item-disposition.js +0 -2
- package/dist/es/api-model/models/shipping-speed-category.js +0 -2
- package/dist/types/api-model/api/fulfillment-outbound-api.d.ts +0 -100
- 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/additional-location-info.d.ts +0 -2
- package/dist/types/api-model/models/address.d.ts +0 -22
- package/dist/types/api-model/models/amount.d.ts +0 -6
- package/dist/types/api-model/models/cancel-fulfillment-order-response.d.ts +0 -4
- package/dist/types/api-model/models/codsettings.d.ts +0 -24
- package/dist/types/api-model/models/create-fulfillment-order-item.d.ts +0 -29
- package/dist/types/api-model/models/create-fulfillment-order-request.d.ts +0 -57
- package/dist/types/api-model/models/create-fulfillment-order-response.d.ts +0 -4
- package/dist/types/api-model/models/create-fulfillment-return-request.d.ts +0 -4
- package/dist/types/api-model/models/create-fulfillment-return-response.d.ts +0 -9
- package/dist/types/api-model/models/create-fulfillment-return-result.d.ts +0 -8
- package/dist/types/api-model/models/create-return-item.d.ts +0 -12
- package/dist/types/api-model/models/current-status.d.ts +0 -2
- package/dist/types/api-model/models/date-range.d.ts +0 -6
- package/dist/types/api-model/models/delivery-document.d.ts +0 -6
- package/dist/types/api-model/models/delivery-information.d.ts +0 -9
- package/dist/types/api-model/models/delivery-message.d.ts +0 -6
- package/dist/types/api-model/models/delivery-offer.d.ts +0 -14
- package/dist/types/api-model/models/delivery-policy.d.ts +0 -7
- package/dist/types/api-model/models/delivery-preferences.d.ts +0 -9
- package/dist/types/api-model/models/delivery-window.d.ts +0 -6
- package/dist/types/api-model/models/destination.d.ts +0 -9
- package/dist/types/api-model/models/drop-off-location.d.ts +0 -6
- package/dist/types/api-model/models/event-code.d.ts +0 -2
- package/dist/types/api-model/models/feature-settings.d.ts +0 -6
- package/dist/types/api-model/models/feature-sku.d.ts +0 -12
- package/dist/types/api-model/models/feature.d.ts +0 -8
- package/dist/types/api-model/models/fee.d.ts +0 -9
- package/dist/types/api-model/models/fulfillment-action.d.ts +0 -2
- package/dist/types/api-model/models/fulfillment-order-item.d.ts +0 -39
- package/dist/types/api-model/models/fulfillment-order-status.d.ts +0 -2
- package/dist/types/api-model/models/fulfillment-order.d.ts +0 -55
- package/dist/types/api-model/models/fulfillment-policy.d.ts +0 -2
- package/dist/types/api-model/models/fulfillment-preview-item.d.ts +0 -15
- package/dist/types/api-model/models/fulfillment-preview-shipment.d.ts +0 -14
- package/dist/types/api-model/models/fulfillment-preview.d.ts +0 -33
- package/dist/types/api-model/models/fulfillment-return-item-status.d.ts +0 -2
- package/dist/types/api-model/models/fulfillment-shipment-item.d.ts +0 -14
- package/dist/types/api-model/models/fulfillment-shipment-package.d.ts +0 -20
- package/dist/types/api-model/models/fulfillment-shipment.d.ts +0 -18
- package/dist/types/api-model/models/get-delivery-offers-product.d.ts +0 -12
- package/dist/types/api-model/models/get-delivery-offers-request.d.ts +0 -12
- package/dist/types/api-model/models/get-delivery-offers-response.d.ts +0 -9
- package/dist/types/api-model/models/get-delivery-offers-result.d.ts +0 -4
- package/dist/types/api-model/models/get-delivery-offers-terms.d.ts +0 -12
- package/dist/types/api-model/models/get-feature-inventory-response.d.ts +0 -9
- package/dist/types/api-model/models/get-feature-inventory-result.d.ts +0 -10
- package/dist/types/api-model/models/get-feature-sku-response.d.ts +0 -9
- package/dist/types/api-model/models/get-feature-sku-result.d.ts +0 -15
- package/dist/types/api-model/models/get-features-response.d.ts +0 -9
- package/dist/types/api-model/models/get-features-result.d.ts +0 -4
- package/dist/types/api-model/models/get-fulfillment-order-response.d.ts +0 -9
- package/dist/types/api-model/models/get-fulfillment-order-result.d.ts +0 -17
- package/dist/types/api-model/models/get-fulfillment-preview-item.d.ts +0 -13
- package/dist/types/api-model/models/get-fulfillment-preview-request.d.ts +0 -19
- package/dist/types/api-model/models/get-fulfillment-preview-response.d.ts +0 -9
- package/dist/types/api-model/models/get-fulfillment-preview-result.d.ts +0 -4
- package/dist/types/api-model/models/get-package-tracking-details-response.d.ts +0 -9
- package/dist/types/api-model/models/invalid-item-reason-code.d.ts +0 -2
- package/dist/types/api-model/models/invalid-item-reason.d.ts +0 -9
- package/dist/types/api-model/models/invalid-return-item.d.ts +0 -11
- package/dist/types/api-model/models/list-all-fulfillment-orders-response.d.ts +0 -9
- package/dist/types/api-model/models/list-all-fulfillment-orders-result.d.ts +0 -6
- package/dist/types/api-model/models/list-return-reason-codes-response.d.ts +0 -9
- package/dist/types/api-model/models/list-return-reason-codes-result.d.ts +0 -4
- package/dist/types/api-model/models/locker-details.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/origin.d.ts +0 -4
- package/dist/types/api-model/models/package-tracking-details.d.ts +0 -44
- package/dist/types/api-model/models/payment-information.d.ts +0 -8
- package/dist/types/api-model/models/product-identifier.d.ts +0 -4
- package/dist/types/api-model/models/reason-code-details.d.ts +0 -8
- package/dist/types/api-model/models/return-authorization.d.ts +0 -15
- package/dist/types/api-model/models/return-item-disposition.d.ts +0 -2
- package/dist/types/api-model/models/return-item.d.ts +0 -30
- package/dist/types/api-model/models/scheduled-delivery-info.d.ts +0 -6
- package/dist/types/api-model/models/shipping-speed-category.d.ts +0 -2
- package/dist/types/api-model/models/submit-fulfillment-order-status-update-request.d.ts +0 -7
- package/dist/types/api-model/models/submit-fulfillment-order-status-update-response.d.ts +0 -4
- package/dist/types/api-model/models/tracking-address.d.ts +0 -8
- package/dist/types/api-model/models/tracking-event.d.ts +0 -16
- package/dist/types/api-model/models/unfulfillable-preview-item.d.ts +0 -10
- package/dist/types/api-model/models/update-fulfillment-order-item.d.ts +0 -31
- package/dist/types/api-model/models/update-fulfillment-order-request.d.ts +0 -38
- package/dist/types/api-model/models/update-fulfillment-order-response.d.ts +0 -4
- package/dist/types/api-model/models/variable-precision-address.d.ts +0 -18
- package/dist/types/api-model/models/weight.d.ts +0 -6
- package/package.json +25 -4
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Localized messaging for a delivery offering.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface DeliveryMessage
|
|
16
14
|
*/
|
|
17
15
|
export interface DeliveryMessage {
|
|
18
16
|
/**
|
|
19
17
|
* The message content for a delivery offering.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof DeliveryMessage
|
|
22
18
|
*/
|
|
23
19
|
'text'?: string;
|
|
24
20
|
/**
|
|
25
21
|
* The locale for the message (for example, en_US).
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof DeliveryMessage
|
|
28
22
|
*/
|
|
29
23
|
'locale'?: string;
|
|
30
24
|
}
|
|
@@ -13,26 +13,12 @@ import type { DateRange } from './date-range';
|
|
|
13
13
|
import type { DeliveryPolicy } from './delivery-policy';
|
|
14
14
|
/**
|
|
15
15
|
* An available offer for delivery of a product.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface DeliveryOffer
|
|
18
16
|
*/
|
|
19
17
|
export interface DeliveryOffer {
|
|
20
18
|
/**
|
|
21
19
|
* Date timestamp
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof DeliveryOffer
|
|
24
20
|
*/
|
|
25
21
|
'expiresAt'?: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {DateRange}
|
|
29
|
-
* @memberof DeliveryOffer
|
|
30
|
-
*/
|
|
31
22
|
'dateRange'?: DateRange;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {DeliveryPolicy}
|
|
35
|
-
* @memberof DeliveryOffer
|
|
36
|
-
*/
|
|
37
23
|
'policy'?: DeliveryPolicy;
|
|
38
24
|
}
|
|
@@ -12,14 +12,7 @@
|
|
|
12
12
|
import type { DeliveryMessage } from './delivery-message';
|
|
13
13
|
/**
|
|
14
14
|
* The policy for a delivery offering.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface DeliveryPolicy
|
|
17
15
|
*/
|
|
18
16
|
export interface DeliveryPolicy {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {DeliveryMessage}
|
|
22
|
-
* @memberof DeliveryPolicy
|
|
23
|
-
*/
|
|
24
17
|
'message'?: DeliveryMessage;
|
|
25
18
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { DropOffLocation } from './drop-off-location';
|
|
13
13
|
/**
|
|
14
14
|
* The delivery preferences applied to the destination address. These preferences are applied when possible and are best effort. This feature is currently supported only in the JP marketplace and not applicable for other marketplaces. For eligible orders, the default delivery preference will be to deliver the package unattended at the front door, unless you specify otherwise.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface DeliveryPreferences
|
|
17
15
|
*/
|
|
18
16
|
export interface DeliveryPreferences {
|
|
19
17
|
/**
|
|
20
18
|
* Additional delivery instructions. For example, this could be instructions on how to enter a building, nearby landmark or navigation instructions, \'Beware of dogs\', etc.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof DeliveryPreferences
|
|
23
19
|
*/
|
|
24
20
|
'deliveryInstructions'?: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {DropOffLocation}
|
|
28
|
-
* @memberof DeliveryPreferences
|
|
29
|
-
*/
|
|
30
21
|
'dropOffLocation'?: DropOffLocation;
|
|
31
22
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The time range within which a Scheduled Delivery fulfillment order should be delivered. This is only available in the JP marketplace.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface DeliveryWindow
|
|
16
14
|
*/
|
|
17
15
|
export interface DeliveryWindow {
|
|
18
16
|
/**
|
|
19
17
|
* Date timestamp
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof DeliveryWindow
|
|
22
18
|
*/
|
|
23
19
|
'startDate': string;
|
|
24
20
|
/**
|
|
25
21
|
* Date timestamp
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof DeliveryWindow
|
|
28
22
|
*/
|
|
29
23
|
'endDate': string;
|
|
30
24
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { VariablePrecisionAddress } from './variable-precision-address';
|
|
13
13
|
/**
|
|
14
14
|
* The destination for the delivery offer.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface Destination
|
|
17
15
|
*/
|
|
18
16
|
export interface Destination {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {VariablePrecisionAddress}
|
|
22
|
-
* @memberof Destination
|
|
23
|
-
*/
|
|
24
17
|
'deliveryAddress'?: VariablePrecisionAddress;
|
|
25
18
|
/**
|
|
26
19
|
* An IP Address.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof Destination
|
|
29
20
|
*/
|
|
30
21
|
'ipAddress'?: string;
|
|
31
22
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The preferred location to leave packages at the destination address.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface DropOffLocation
|
|
16
14
|
*/
|
|
17
15
|
export interface DropOffLocation {
|
|
18
16
|
/**
|
|
19
17
|
* Specifies the preferred location to leave the package at the destination address.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof DropOffLocation
|
|
22
18
|
*/
|
|
23
19
|
'type': DropOffLocationTypeEnum;
|
|
24
20
|
/**
|
|
25
21
|
* Additional information about the drop-off location that can vary depending on the type of drop-off location specified in the `type` field. If the `type` is set to `FALLBACK_NEIGHBOR_DELIVERY`, the `attributes` object should include the exact keys `neighborName` and `houseNumber` to provide the name and house number of the designated neighbor.
|
|
26
|
-
* @type {{ [key: string]: string; }}
|
|
27
|
-
* @memberof DropOffLocation
|
|
28
22
|
*/
|
|
29
23
|
'attributes'?: {
|
|
30
24
|
[key: string]: string;
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* `FeatureSettings` allows users to apply fulfillment features to an order. To block an order from being shipped using Amazon Logistics (AMZL) and an AMZL tracking number, use `featureName` as `BLOCK_AMZL` and `featureFulfillmentPolicy` as `Required`. Blocking AMZL will incur an additional fee surcharge on your MCF orders and increase the risk of some of your orders being unfulfilled or delivered late if there are no alternative carriers available. Using `BLOCK_AMZL` in an order request will take precedence over your Seller Central account setting. To ship in non-Amazon branded packaging (blank boxes), use featureName `BLANK_BOX`.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface FeatureSettings
|
|
16
14
|
*/
|
|
17
15
|
export interface FeatureSettings {
|
|
18
16
|
/**
|
|
19
17
|
* The name of the feature.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof FeatureSettings
|
|
22
18
|
*/
|
|
23
19
|
'featureName'?: string;
|
|
24
20
|
/**
|
|
25
21
|
* Specifies the policy to use when fulfilling an order.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof FeatureSettings
|
|
28
22
|
*/
|
|
29
23
|
'featureFulfillmentPolicy'?: FeatureSettingsFeatureFulfillmentPolicyEnum;
|
|
30
24
|
}
|
|
@@ -11,38 +11,26 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Information about an SKU, including the count available, identifiers, and a list of overlapping SKUs that share the same inventory pool.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface FeatureSku
|
|
16
14
|
*/
|
|
17
15
|
export interface FeatureSku {
|
|
18
16
|
/**
|
|
19
17
|
* Used to identify an item in the given marketplace. `SellerSKU` is qualified by the seller\'s SellerId, which is included with every operation that you submit.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof FeatureSku
|
|
22
18
|
*/
|
|
23
19
|
'sellerSku'?: string;
|
|
24
20
|
/**
|
|
25
21
|
* The unique SKU used by Amazon\'s fulfillment network.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof FeatureSku
|
|
28
22
|
*/
|
|
29
23
|
'fnSku'?: string;
|
|
30
24
|
/**
|
|
31
25
|
* The Amazon Standard Identification Number (ASIN) of the item.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof FeatureSku
|
|
34
26
|
*/
|
|
35
27
|
'asin'?: string;
|
|
36
28
|
/**
|
|
37
29
|
* The number of SKUs available for this service.
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof FeatureSku
|
|
40
30
|
*/
|
|
41
31
|
'skuCount'?: number;
|
|
42
32
|
/**
|
|
43
33
|
* Other seller SKUs that are shared across the same inventory.
|
|
44
|
-
* @type {Array<string>}
|
|
45
|
-
* @memberof FeatureSku
|
|
46
34
|
*/
|
|
47
35
|
'overlappingSkus'?: Array<string>;
|
|
48
36
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* A Multi-Channel Fulfillment feature.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Feature
|
|
16
14
|
*/
|
|
17
15
|
export interface Feature {
|
|
18
16
|
/**
|
|
19
17
|
* The feature name.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Feature
|
|
22
18
|
*/
|
|
23
19
|
'featureName': string;
|
|
24
20
|
/**
|
|
25
21
|
* The feature description.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Feature
|
|
28
22
|
*/
|
|
29
23
|
'featureDescription': string;
|
|
30
24
|
/**
|
|
31
25
|
* When true, indicates that the seller is eligible to use the feature.
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof Feature
|
|
34
26
|
*/
|
|
35
27
|
'sellerEligible'?: boolean;
|
|
36
28
|
}
|
|
@@ -12,21 +12,12 @@
|
|
|
12
12
|
import type { Money } from './money';
|
|
13
13
|
/**
|
|
14
14
|
* Fee type and cost.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface Fee
|
|
17
15
|
*/
|
|
18
16
|
export interface Fee {
|
|
19
17
|
/**
|
|
20
18
|
* The type of fee.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof Fee
|
|
23
19
|
*/
|
|
24
20
|
'name': FeeNameEnum;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Money}
|
|
28
|
-
* @memberof Fee
|
|
29
|
-
*/
|
|
30
21
|
'amount': Money;
|
|
31
22
|
}
|
|
32
23
|
export declare const FeeNameEnum: {
|
|
@@ -12,92 +12,53 @@
|
|
|
12
12
|
import type { Money } from './money';
|
|
13
13
|
/**
|
|
14
14
|
* Item information for a fulfillment order.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface FulfillmentOrderItem
|
|
17
15
|
*/
|
|
18
16
|
export interface FulfillmentOrderItem {
|
|
19
17
|
/**
|
|
20
18
|
* The seller SKU of the item.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof FulfillmentOrderItem
|
|
23
19
|
*/
|
|
24
20
|
'sellerSku': string;
|
|
25
21
|
/**
|
|
26
22
|
* A fulfillment order item identifier submitted with a call to the `createFulfillmentOrder` operation.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof FulfillmentOrderItem
|
|
29
23
|
*/
|
|
30
24
|
'sellerFulfillmentOrderItemId': string;
|
|
31
25
|
/**
|
|
32
26
|
* The item quantity.
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof FulfillmentOrderItem
|
|
35
27
|
*/
|
|
36
28
|
'quantity': number;
|
|
37
29
|
/**
|
|
38
30
|
* A message to the gift recipient, if applicable.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof FulfillmentOrderItem
|
|
41
31
|
*/
|
|
42
32
|
'giftMessage'?: string;
|
|
43
33
|
/**
|
|
44
34
|
* Item-specific text that displays in recipient-facing materials such as the outbound shipment packing slip.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof FulfillmentOrderItem
|
|
47
35
|
*/
|
|
48
36
|
'displayableComment'?: string;
|
|
49
37
|
/**
|
|
50
38
|
* Amazon\'s fulfillment network SKU of the item.
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof FulfillmentOrderItem
|
|
53
39
|
*/
|
|
54
40
|
'fulfillmentNetworkSku'?: string;
|
|
55
41
|
/**
|
|
56
42
|
* Indicates whether the item is sellable or unsellable.
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof FulfillmentOrderItem
|
|
59
43
|
*/
|
|
60
44
|
'orderItemDisposition'?: string;
|
|
61
45
|
/**
|
|
62
46
|
* The item quantity.
|
|
63
|
-
* @type {number}
|
|
64
|
-
* @memberof FulfillmentOrderItem
|
|
65
47
|
*/
|
|
66
48
|
'cancelledQuantity': number;
|
|
67
49
|
/**
|
|
68
50
|
* The item quantity.
|
|
69
|
-
* @type {number}
|
|
70
|
-
* @memberof FulfillmentOrderItem
|
|
71
51
|
*/
|
|
72
52
|
'unfulfillableQuantity': number;
|
|
73
53
|
/**
|
|
74
54
|
* Date timestamp
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof FulfillmentOrderItem
|
|
77
55
|
*/
|
|
78
56
|
'estimatedShipDate'?: string;
|
|
79
57
|
/**
|
|
80
58
|
* Date timestamp
|
|
81
|
-
* @type {string}
|
|
82
|
-
* @memberof FulfillmentOrderItem
|
|
83
59
|
*/
|
|
84
60
|
'estimatedArrivalDate'?: string;
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
* @type {Money}
|
|
88
|
-
* @memberof FulfillmentOrderItem
|
|
89
|
-
*/
|
|
90
61
|
'perUnitPrice'?: Money;
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* @type {Money}
|
|
94
|
-
* @memberof FulfillmentOrderItem
|
|
95
|
-
*/
|
|
96
62
|
'perUnitTax'?: Money;
|
|
97
|
-
/**
|
|
98
|
-
*
|
|
99
|
-
* @type {Money}
|
|
100
|
-
* @memberof FulfillmentOrderItem
|
|
101
|
-
*/
|
|
102
63
|
'perUnitDeclaredValue'?: Money;
|
|
103
64
|
}
|
|
@@ -19,104 +19,49 @@ import type { FulfillmentPolicy } from './fulfillment-policy';
|
|
|
19
19
|
import type { ShippingSpeedCategory } from './shipping-speed-category';
|
|
20
20
|
/**
|
|
21
21
|
* General information about a fulfillment order, including its status.
|
|
22
|
-
* @export
|
|
23
|
-
* @interface FulfillmentOrder
|
|
24
22
|
*/
|
|
25
23
|
export interface FulfillmentOrder {
|
|
26
24
|
/**
|
|
27
25
|
* The fulfillment order identifier submitted with the `createFulfillmentOrder` operation.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof FulfillmentOrder
|
|
30
26
|
*/
|
|
31
27
|
'sellerFulfillmentOrderId': string;
|
|
32
28
|
/**
|
|
33
29
|
* The identifier for the marketplace the fulfillment order is placed against.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof FulfillmentOrder
|
|
36
30
|
*/
|
|
37
31
|
'marketplaceId': string;
|
|
38
32
|
/**
|
|
39
33
|
* A fulfillment order identifier submitted with the `createFulfillmentOrder` operation. Displays as the order identifier in recipient-facing materials such as the packing slip.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof FulfillmentOrder
|
|
42
34
|
*/
|
|
43
35
|
'displayableOrderId': string;
|
|
44
36
|
/**
|
|
45
37
|
* Date timestamp
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof FulfillmentOrder
|
|
48
38
|
*/
|
|
49
39
|
'displayableOrderDate': string;
|
|
50
40
|
/**
|
|
51
41
|
* A text block submitted with the `createFulfillmentOrder` operation. Displays in recipient-facing materials such as the packing slip.
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof FulfillmentOrder
|
|
54
42
|
*/
|
|
55
43
|
'displayableOrderComment': string;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {ShippingSpeedCategory}
|
|
59
|
-
* @memberof FulfillmentOrder
|
|
60
|
-
*/
|
|
61
44
|
'shippingSpeedCategory': ShippingSpeedCategory;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {DeliveryWindow}
|
|
65
|
-
* @memberof FulfillmentOrder
|
|
66
|
-
*/
|
|
67
45
|
'deliveryWindow'?: DeliveryWindow;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {Address}
|
|
71
|
-
* @memberof FulfillmentOrder
|
|
72
|
-
*/
|
|
73
46
|
'destinationAddress': Address;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {FulfillmentAction}
|
|
77
|
-
* @memberof FulfillmentOrder
|
|
78
|
-
*/
|
|
79
47
|
'fulfillmentAction'?: FulfillmentAction;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {FulfillmentPolicy}
|
|
83
|
-
* @memberof FulfillmentOrder
|
|
84
|
-
*/
|
|
85
48
|
'fulfillmentPolicy'?: FulfillmentPolicy;
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
* @type {CODSettings}
|
|
89
|
-
* @memberof FulfillmentOrder
|
|
90
|
-
*/
|
|
91
49
|
'codSettings'?: CODSettings;
|
|
92
50
|
/**
|
|
93
51
|
* Date timestamp
|
|
94
|
-
* @type {string}
|
|
95
|
-
* @memberof FulfillmentOrder
|
|
96
52
|
*/
|
|
97
53
|
'receivedDate': string;
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* @type {FulfillmentOrderStatus}
|
|
101
|
-
* @memberof FulfillmentOrder
|
|
102
|
-
*/
|
|
103
54
|
'fulfillmentOrderStatus': FulfillmentOrderStatus;
|
|
104
55
|
/**
|
|
105
56
|
* Date timestamp
|
|
106
|
-
* @type {string}
|
|
107
|
-
* @memberof FulfillmentOrder
|
|
108
57
|
*/
|
|
109
58
|
'statusUpdatedDate': string;
|
|
110
59
|
/**
|
|
111
60
|
* A list of email addresses that the seller provides that are used by Amazon to send ship-complete notifications to recipients on behalf of the seller.
|
|
112
|
-
* @type {Array<string>}
|
|
113
|
-
* @memberof FulfillmentOrder
|
|
114
61
|
*/
|
|
115
62
|
'notificationEmails'?: Array<string>;
|
|
116
63
|
/**
|
|
117
64
|
* A list of features and their fulfillment policies to apply to the order.
|
|
118
|
-
* @type {Array<FeatureSettings>}
|
|
119
|
-
* @memberof FulfillmentOrder
|
|
120
65
|
*/
|
|
121
66
|
'featureConstraints'?: Array<FeatureSettings>;
|
|
122
67
|
}
|
|
@@ -12,38 +12,23 @@
|
|
|
12
12
|
import type { Weight } from './weight';
|
|
13
13
|
/**
|
|
14
14
|
* Item information for a shipment in a fulfillment order preview.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface FulfillmentPreviewItem
|
|
17
15
|
*/
|
|
18
16
|
export interface FulfillmentPreviewItem {
|
|
19
17
|
/**
|
|
20
18
|
* The seller SKU of the item.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof FulfillmentPreviewItem
|
|
23
19
|
*/
|
|
24
20
|
'sellerSku': string;
|
|
25
21
|
/**
|
|
26
22
|
* The item quantity.
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof FulfillmentPreviewItem
|
|
29
23
|
*/
|
|
30
24
|
'quantity': number;
|
|
31
25
|
/**
|
|
32
26
|
* A fulfillment order item identifier that the seller created with a call to the `createFulfillmentOrder` operation.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof FulfillmentPreviewItem
|
|
35
27
|
*/
|
|
36
28
|
'sellerFulfillmentOrderItemId': string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {Weight}
|
|
40
|
-
* @memberof FulfillmentPreviewItem
|
|
41
|
-
*/
|
|
42
29
|
'estimatedShippingWeight'?: Weight;
|
|
43
30
|
/**
|
|
44
31
|
* The method used to calculate the estimated shipping weight.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof FulfillmentPreviewItem
|
|
47
32
|
*/
|
|
48
33
|
'shippingWeightCalculationMethod'?: FulfillmentPreviewItemShippingWeightCalculationMethodEnum;
|
|
49
34
|
}
|
|
@@ -12,44 +12,30 @@
|
|
|
12
12
|
import type { FulfillmentPreviewItem } from './fulfillment-preview-item';
|
|
13
13
|
/**
|
|
14
14
|
* Delivery and item information for a shipment in a fulfillment order preview.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface FulfillmentPreviewShipment
|
|
17
15
|
*/
|
|
18
16
|
export interface FulfillmentPreviewShipment {
|
|
19
17
|
/**
|
|
20
18
|
* Date timestamp
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof FulfillmentPreviewShipment
|
|
23
19
|
*/
|
|
24
20
|
'earliestShipDate'?: string;
|
|
25
21
|
/**
|
|
26
22
|
* Date timestamp
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof FulfillmentPreviewShipment
|
|
29
23
|
*/
|
|
30
24
|
'latestShipDate'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* Date timestamp
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof FulfillmentPreviewShipment
|
|
35
27
|
*/
|
|
36
28
|
'earliestArrivalDate'?: string;
|
|
37
29
|
/**
|
|
38
30
|
* Date timestamp
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof FulfillmentPreviewShipment
|
|
41
31
|
*/
|
|
42
32
|
'latestArrivalDate'?: string;
|
|
43
33
|
/**
|
|
44
34
|
* Provides additional insight into the shipment timeline when exact delivery dates are not able to be precomputed.
|
|
45
|
-
* @type {Array<string>}
|
|
46
|
-
* @memberof FulfillmentPreviewShipment
|
|
47
35
|
*/
|
|
48
36
|
'shippingNotes'?: Array<string>;
|
|
49
37
|
/**
|
|
50
38
|
* An array of fulfillment preview item information.
|
|
51
|
-
* @type {Array<FulfillmentPreviewItem>}
|
|
52
|
-
* @memberof FulfillmentPreviewShipment
|
|
53
39
|
*/
|
|
54
40
|
'fulfillmentPreviewItems': Array<FulfillmentPreviewItem>;
|
|
55
41
|
}
|
|
@@ -18,74 +18,41 @@ import type { UnfulfillablePreviewItem } from './unfulfillable-preview-item';
|
|
|
18
18
|
import type { Weight } from './weight';
|
|
19
19
|
/**
|
|
20
20
|
* Information about a fulfillment order preview, including delivery and fee information based on shipping method.
|
|
21
|
-
* @export
|
|
22
|
-
* @interface FulfillmentPreview
|
|
23
21
|
*/
|
|
24
22
|
export interface FulfillmentPreview {
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {ShippingSpeedCategory}
|
|
28
|
-
* @memberof FulfillmentPreview
|
|
29
|
-
*/
|
|
30
23
|
'shippingSpeedCategory': ShippingSpeedCategory;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {ScheduledDeliveryInfo}
|
|
34
|
-
* @memberof FulfillmentPreview
|
|
35
|
-
*/
|
|
36
24
|
'scheduledDeliveryInfo'?: ScheduledDeliveryInfo;
|
|
37
25
|
/**
|
|
38
26
|
* When true, this fulfillment order preview is fulfillable.
|
|
39
|
-
* @type {boolean}
|
|
40
|
-
* @memberof FulfillmentPreview
|
|
41
27
|
*/
|
|
42
28
|
'isFulfillable': boolean;
|
|
43
29
|
/**
|
|
44
30
|
* When true, this fulfillment order preview is for COD (Cash On Delivery).
|
|
45
|
-
* @type {boolean}
|
|
46
|
-
* @memberof FulfillmentPreview
|
|
47
31
|
*/
|
|
48
32
|
'isCODCapable': boolean;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {Weight}
|
|
52
|
-
* @memberof FulfillmentPreview
|
|
53
|
-
*/
|
|
54
33
|
'estimatedShippingWeight'?: Weight;
|
|
55
34
|
/**
|
|
56
35
|
* An array of fee type and cost pairs.
|
|
57
|
-
* @type {Array<Fee>}
|
|
58
|
-
* @memberof FulfillmentPreview
|
|
59
36
|
*/
|
|
60
37
|
'estimatedFees'?: Array<Fee>;
|
|
61
38
|
/**
|
|
62
39
|
* An array of fulfillment preview shipment information.
|
|
63
|
-
* @type {Array<FulfillmentPreviewShipment>}
|
|
64
|
-
* @memberof FulfillmentPreview
|
|
65
40
|
*/
|
|
66
41
|
'fulfillmentPreviewShipments'?: Array<FulfillmentPreviewShipment>;
|
|
67
42
|
/**
|
|
68
43
|
* An array of unfulfillable preview item information.
|
|
69
|
-
* @type {Array<UnfulfillablePreviewItem>}
|
|
70
|
-
* @memberof FulfillmentPreview
|
|
71
44
|
*/
|
|
72
45
|
'unfulfillablePreviewItems'?: Array<UnfulfillablePreviewItem>;
|
|
73
46
|
/**
|
|
74
47
|
* String list
|
|
75
|
-
* @type {Array<string>}
|
|
76
|
-
* @memberof FulfillmentPreview
|
|
77
48
|
*/
|
|
78
49
|
'orderUnfulfillableReasons'?: Array<string>;
|
|
79
50
|
/**
|
|
80
51
|
* The marketplace the fulfillment order is placed against.
|
|
81
|
-
* @type {string}
|
|
82
|
-
* @memberof FulfillmentPreview
|
|
83
52
|
*/
|
|
84
53
|
'marketplaceId': string;
|
|
85
54
|
/**
|
|
86
55
|
* A list of features and their fulfillment policies to apply to the order.
|
|
87
|
-
* @type {Array<FeatureSettings>}
|
|
88
|
-
* @memberof FulfillmentPreview
|
|
89
56
|
*/
|
|
90
57
|
'featureConstraints'?: Array<FeatureSettings>;
|
|
91
58
|
}
|