@sp-api-sdk/fulfillment-outbound-api-2020-07-01 4.0.1 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api-model/api/fulfillment-outbound-api.js +93 -51
- 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/delivery-offering.js +15 -0
- package/dist/cjs/api-model/models/delivery-quantity.js +19 -0
- 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 +1 -3
- package/dist/cjs/api-model/models/fulfillment-return-item-status.js +0 -2
- package/dist/cjs/api-model/models/get-delivery-offerings-request.js +15 -0
- package/dist/cjs/api-model/models/get-delivery-offerings-response.js +15 -0
- package/dist/cjs/api-model/models/get-delivery-offerings-result.js +15 -0
- package/dist/cjs/api-model/models/index.js +5 -0
- 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/cjs/client.js +7 -0
- package/dist/es/api-model/api/fulfillment-outbound-api.js +93 -51
- 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/delivery-offering.js +14 -0
- package/dist/es/api-model/models/delivery-quantity.js +16 -0
- 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 +1 -3
- package/dist/es/api-model/models/fulfillment-return-item-status.js +0 -2
- package/dist/es/api-model/models/get-delivery-offerings-request.js +14 -0
- package/dist/es/api-model/models/get-delivery-offerings-response.js +14 -0
- package/dist/es/api-model/models/get-delivery-offerings-result.js +14 -0
- package/dist/es/api-model/models/index.js +5 -0
- 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/es/client.js +7 -0
- package/dist/types/api-model/api/fulfillment-outbound-api.d.ts +79 -134
- 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 +1 -30
- package/dist/types/api-model/models/create-fulfillment-order-request.d.ts +2 -59
- 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 +1 -5
- 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 +1 -9
- package/dist/types/api-model/models/create-return-item.d.ts +1 -13
- 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 +1 -7
- package/dist/types/api-model/models/delivery-offer.d.ts +0 -14
- package/dist/types/api-model/models/delivery-offering.d.ts +24 -0
- 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-quantity.d.ts +28 -0
- 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 +1 -7
- 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 +1 -3
- 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 +4 -20
- package/dist/types/api-model/models/fulfillment-shipment.d.ts +2 -20
- package/dist/types/api-model/models/get-delivery-offerings-request.d.ts +28 -0
- package/dist/types/api-model/models/get-delivery-offerings-response.d.ts +22 -0
- package/dist/types/api-model/models/get-delivery-offerings-result.d.ts +21 -0
- 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 +1 -13
- package/dist/types/api-model/models/get-delivery-offers-response.d.ts +1 -10
- 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 +1 -11
- 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 +1 -16
- 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 +1 -18
- 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 +2 -21
- 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/index.d.ts +5 -0
- 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 +1 -12
- 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 +1 -7
- 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 +1 -5
- 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 +1 -45
- 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 +1 -9
- package/dist/types/api-model/models/return-authorization.d.ts +1 -16
- package/dist/types/api-model/models/return-item-disposition.d.ts +0 -2
- package/dist/types/api-model/models/return-item.d.ts +1 -31
- 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 +1 -32
- 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
|
@@ -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
|
}
|
|
@@ -11,44 +11,30 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Item information for a shipment in a fulfillment order.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface FulfillmentShipmentItem
|
|
16
14
|
*/
|
|
17
15
|
export interface FulfillmentShipmentItem {
|
|
18
16
|
/**
|
|
19
17
|
* The seller SKU of the item.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof FulfillmentShipmentItem
|
|
22
18
|
*/
|
|
23
19
|
'sellerSku': string;
|
|
24
20
|
/**
|
|
25
21
|
* The fulfillment order item identifier that the seller created and submitted with a call to the `createFulfillmentOrder` operation.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof FulfillmentShipmentItem
|
|
28
22
|
*/
|
|
29
23
|
'sellerFulfillmentOrderItemId': string;
|
|
30
24
|
/**
|
|
31
25
|
* The item quantity.
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof FulfillmentShipmentItem
|
|
34
26
|
*/
|
|
35
27
|
'quantity': number;
|
|
36
28
|
/**
|
|
37
29
|
* An identifier for the package that contains the item quantity.
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof FulfillmentShipmentItem
|
|
40
30
|
*/
|
|
41
31
|
'packageNumber'?: number;
|
|
42
32
|
/**
|
|
43
33
|
* The serial number of the shipped item.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof FulfillmentShipmentItem
|
|
46
34
|
*/
|
|
47
35
|
'serialNumber'?: string;
|
|
48
36
|
/**
|
|
49
37
|
* String list
|
|
50
|
-
* @type {Array<string>}
|
|
51
|
-
* @memberof FulfillmentShipmentItem
|
|
52
38
|
*/
|
|
53
39
|
'manufacturerLotCodes'?: Array<string>;
|
|
54
40
|
}
|
|
@@ -13,44 +13,28 @@ import type { DeliveryInformation } from './delivery-information';
|
|
|
13
13
|
import type { LockerDetails } from './locker-details';
|
|
14
14
|
/**
|
|
15
15
|
* Package information for a shipment in a fulfillment order.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface FulfillmentShipmentPackage
|
|
18
16
|
*/
|
|
19
17
|
export interface FulfillmentShipmentPackage {
|
|
20
18
|
/**
|
|
21
19
|
* Identifies a package in a shipment.
|
|
22
|
-
* @type {number}
|
|
23
|
-
* @memberof FulfillmentShipmentPackage
|
|
24
20
|
*/
|
|
25
21
|
'packageNumber': number;
|
|
26
22
|
/**
|
|
27
23
|
* Identifies the carrier who will deliver the shipment to the recipient.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof FulfillmentShipmentPackage
|
|
30
24
|
*/
|
|
31
25
|
'carrierCode': string;
|
|
32
26
|
/**
|
|
33
27
|
* The tracking number, if provided, can be used to obtain tracking and delivery information.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof FulfillmentShipmentPackage
|
|
36
28
|
*/
|
|
37
29
|
'trackingNumber'?: string;
|
|
38
30
|
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof FulfillmentShipmentPackage
|
|
31
|
+
* The Amazon fulfillment tracking number, if provided, can be used to obtain tracking and delivery information.
|
|
42
32
|
*/
|
|
43
|
-
'
|
|
33
|
+
'amazonFulfillmentTrackingNumber'?: string;
|
|
44
34
|
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {LockerDetails}
|
|
47
|
-
* @memberof FulfillmentShipmentPackage
|
|
35
|
+
* Date timestamp
|
|
48
36
|
*/
|
|
37
|
+
'estimatedArrivalDate'?: string;
|
|
49
38
|
'lockerDetails'?: LockerDetails;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {DeliveryInformation}
|
|
53
|
-
* @memberof FulfillmentShipmentPackage
|
|
54
|
-
*/
|
|
55
39
|
'deliveryInformation'?: DeliveryInformation;
|
|
56
40
|
}
|
|
@@ -13,56 +13,38 @@ import type { FulfillmentShipmentItem } from './fulfillment-shipment-item';
|
|
|
13
13
|
import type { FulfillmentShipmentPackage } from './fulfillment-shipment-package';
|
|
14
14
|
/**
|
|
15
15
|
* Delivery and item information for a shipment in a fulfillment order.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface FulfillmentShipment
|
|
18
16
|
*/
|
|
19
17
|
export interface FulfillmentShipment {
|
|
20
18
|
/**
|
|
21
19
|
* A shipment identifier assigned by Amazon.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof FulfillmentShipment
|
|
24
20
|
*/
|
|
25
21
|
'amazonShipmentId': string;
|
|
26
22
|
/**
|
|
27
|
-
* An identifier for the fulfillment center
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof FulfillmentShipment
|
|
23
|
+
* An identifier for the fulfillment center from which the shipment is sent.
|
|
30
24
|
*/
|
|
31
25
|
'fulfillmentCenterId': string;
|
|
32
26
|
/**
|
|
33
27
|
* The current status of the shipment.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof FulfillmentShipment
|
|
36
28
|
*/
|
|
37
29
|
'fulfillmentShipmentStatus': FulfillmentShipmentFulfillmentShipmentStatusEnum;
|
|
38
30
|
/**
|
|
39
31
|
* Date timestamp
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof FulfillmentShipment
|
|
42
32
|
*/
|
|
43
33
|
'shippingDate'?: string;
|
|
44
34
|
/**
|
|
45
35
|
* Date timestamp
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof FulfillmentShipment
|
|
48
36
|
*/
|
|
49
37
|
'estimatedArrivalDate'?: string;
|
|
50
38
|
/**
|
|
51
|
-
* Provides additional insight into shipment timeline.
|
|
52
|
-
* @type {Array<string>}
|
|
53
|
-
* @memberof FulfillmentShipment
|
|
39
|
+
* Provides additional insight into shipment timeline. Primarily used to communicate that actual delivery dates aren\'t available.
|
|
54
40
|
*/
|
|
55
41
|
'shippingNotes'?: Array<string>;
|
|
56
42
|
/**
|
|
57
43
|
* An array of fulfillment shipment item information.
|
|
58
|
-
* @type {Array<FulfillmentShipmentItem>}
|
|
59
|
-
* @memberof FulfillmentShipment
|
|
60
44
|
*/
|
|
61
45
|
'fulfillmentShipmentItem': Array<FulfillmentShipmentItem>;
|
|
62
46
|
/**
|
|
63
47
|
* An array of fulfillment shipment package information.
|
|
64
|
-
* @type {Array<FulfillmentShipmentPackage>}
|
|
65
|
-
* @memberof FulfillmentShipment
|
|
66
48
|
*/
|
|
67
49
|
'fulfillmentShipmentPackage'?: Array<FulfillmentShipmentPackage>;
|
|
68
50
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner APIs for Fulfillment Outbound
|
|
3
|
+
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { DeliveryQuantity } from './delivery-quantity';
|
|
13
|
+
import type { VariablePrecisionAddress } from './variable-precision-address';
|
|
14
|
+
/**
|
|
15
|
+
* The request body schema for the `getDeliveryOfferings` operation.
|
|
16
|
+
*/
|
|
17
|
+
export interface GetDeliveryOfferingsRequest {
|
|
18
|
+
'destinationAddress': VariablePrecisionAddress;
|
|
19
|
+
/**
|
|
20
|
+
* The two digit country code the items should ship from. In ISO 3166-1 alpha-2 format.
|
|
21
|
+
*/
|
|
22
|
+
'shipFromCountryCode': string;
|
|
23
|
+
/**
|
|
24
|
+
* The seller SKU of the item.
|
|
25
|
+
*/
|
|
26
|
+
'sellerSku': string;
|
|
27
|
+
'quantity'?: DeliveryQuantity;
|
|
28
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner APIs for Fulfillment Outbound
|
|
3
|
+
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { GetDeliveryOfferingsResult } from './get-delivery-offerings-result';
|
|
13
|
+
/**
|
|
14
|
+
* The response schema for the `getDeliveryOfferings` operation.
|
|
15
|
+
*/
|
|
16
|
+
export interface GetDeliveryOfferingsResponse {
|
|
17
|
+
'payload'?: GetDeliveryOfferingsResult;
|
|
18
|
+
/**
|
|
19
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
20
|
+
*/
|
|
21
|
+
'errors'?: Array<Error>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner APIs for Fulfillment Outbound
|
|
3
|
+
* The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2020-07-01
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { DeliveryOffering } from './delivery-offering';
|
|
13
|
+
/**
|
|
14
|
+
* A list of delivery offerings, including offering expiration, earliest and latest date and time range, and the delivery offering policy.
|
|
15
|
+
*/
|
|
16
|
+
export interface GetDeliveryOfferingsResult {
|
|
17
|
+
/**
|
|
18
|
+
* An array of delivery offering information.
|
|
19
|
+
*/
|
|
20
|
+
'deliveryOfferings'?: Array<DeliveryOffering>;
|
|
21
|
+
}
|
|
@@ -13,20 +13,8 @@ import type { Amount } from './amount';
|
|
|
13
13
|
import type { ProductIdentifier } from './product-identifier';
|
|
14
14
|
/**
|
|
15
15
|
* The product details for the delivery offer.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface GetDeliveryOffersProduct
|
|
18
16
|
*/
|
|
19
17
|
export interface GetDeliveryOffersProduct {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {ProductIdentifier}
|
|
23
|
-
* @memberof GetDeliveryOffersProduct
|
|
24
|
-
*/
|
|
25
18
|
'productIdentifier': ProductIdentifier;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Amount}
|
|
29
|
-
* @memberof GetDeliveryOffersProduct
|
|
30
|
-
*/
|
|
31
19
|
'amount'?: Amount;
|
|
32
20
|
}
|
|
@@ -12,21 +12,9 @@
|
|
|
12
12
|
import type { GetDeliveryOffersProduct } from './get-delivery-offers-product';
|
|
13
13
|
import type { GetDeliveryOffersTerms } from './get-delivery-offers-terms';
|
|
14
14
|
/**
|
|
15
|
-
* The request body schema for the getDeliveryOffers operation.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface GetDeliveryOffersRequest
|
|
15
|
+
* The request body schema for the `getDeliveryOffers` operation.
|
|
18
16
|
*/
|
|
19
17
|
export interface GetDeliveryOffersRequest {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {GetDeliveryOffersProduct}
|
|
23
|
-
* @memberof GetDeliveryOffersRequest
|
|
24
|
-
*/
|
|
25
18
|
'product': GetDeliveryOffersProduct;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {GetDeliveryOffersTerms}
|
|
29
|
-
* @memberof GetDeliveryOffersRequest
|
|
30
|
-
*/
|
|
31
19
|
'terms': GetDeliveryOffersTerms;
|
|
32
20
|
}
|
|
@@ -11,21 +11,12 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { GetDeliveryOffersResult } from './get-delivery-offers-result';
|
|
13
13
|
/**
|
|
14
|
-
* The response schema for the getDeliveryOffers operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetDeliveryOffersResponse
|
|
14
|
+
* The response schema for the `getDeliveryOffers` operation.
|
|
17
15
|
*/
|
|
18
16
|
export interface GetDeliveryOffersResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {GetDeliveryOffersResult}
|
|
22
|
-
* @memberof GetDeliveryOffersResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: GetDeliveryOffersResult;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetDeliveryOffersResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
import type { DeliveryOffer } from './delivery-offer';
|
|
13
13
|
/**
|
|
14
14
|
* A list of delivery offers, including offer expiration, earliest and latest date and time range, and the delivery offer policy.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetDeliveryOffersResult
|
|
17
15
|
*/
|
|
18
16
|
export interface GetDeliveryOffersResult {
|
|
19
17
|
/**
|
|
20
18
|
* An array of delivery offer information.
|
|
21
|
-
* @type {Array<DeliveryOffer>}
|
|
22
|
-
* @memberof GetDeliveryOffersResult
|
|
23
19
|
*/
|
|
24
20
|
'deliveryOffers'?: Array<DeliveryOffer>;
|
|
25
21
|
}
|
|
@@ -13,20 +13,8 @@ import type { Destination } from './destination';
|
|
|
13
13
|
import type { Origin } from './origin';
|
|
14
14
|
/**
|
|
15
15
|
* The delivery terms for the delivery offer.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface GetDeliveryOffersTerms
|
|
18
16
|
*/
|
|
19
17
|
export interface GetDeliveryOffersTerms {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Origin}
|
|
23
|
-
* @memberof GetDeliveryOffersTerms
|
|
24
|
-
*/
|
|
25
18
|
'origin': Origin;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Destination}
|
|
29
|
-
* @memberof GetDeliveryOffersTerms
|
|
30
|
-
*/
|
|
31
19
|
'destination': Destination;
|
|
32
20
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { GetFeatureInventoryResult } from './get-feature-inventory-result';
|
|
13
13
|
/**
|
|
14
14
|
* The breakdown of eligibility inventory by feature.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetFeatureInventoryResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetFeatureInventoryResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {GetFeatureInventoryResult}
|
|
22
|
-
* @memberof GetFeatureInventoryResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: GetFeatureInventoryResult;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetFeatureInventoryResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -11,33 +11,23 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { FeatureSku } from './feature-sku';
|
|
13
13
|
/**
|
|
14
|
-
* The payload for the `
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetFeatureInventoryResult
|
|
14
|
+
* The payload for the `getEligibleInventory` operation.
|
|
17
15
|
*/
|
|
18
16
|
export interface GetFeatureInventoryResult {
|
|
19
17
|
/**
|
|
20
18
|
* The requested marketplace.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof GetFeatureInventoryResult
|
|
23
19
|
*/
|
|
24
20
|
'marketplaceId': string;
|
|
25
21
|
/**
|
|
26
22
|
* The name of the feature.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof GetFeatureInventoryResult
|
|
29
23
|
*/
|
|
30
24
|
'featureName': string;
|
|
31
25
|
/**
|
|
32
26
|
* When present and not empty, pass this string token in the next request to return the next response page.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof GetFeatureInventoryResult
|
|
35
27
|
*/
|
|
36
28
|
'nextToken'?: string;
|
|
37
29
|
/**
|
|
38
30
|
* An array of SKUs eligible for this feature and the quantity available.
|
|
39
|
-
* @type {Array<FeatureSku>}
|
|
40
|
-
* @memberof GetFeatureInventoryResult
|
|
41
31
|
*/
|
|
42
32
|
'featureSkus'?: Array<FeatureSku>;
|
|
43
33
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { GetFeatureSkuResult } from './get-feature-sku-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `getFeatureSKU` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetFeatureSkuResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetFeatureSkuResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {GetFeatureSkuResult}
|
|
22
|
-
* @memberof GetFeatureSkuResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: GetFeatureSkuResult;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetFeatureSkuResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -12,38 +12,23 @@
|
|
|
12
12
|
import type { FeatureSku } from './feature-sku';
|
|
13
13
|
/**
|
|
14
14
|
* The payload for the `getFeatureSKU` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetFeatureSkuResult
|
|
17
15
|
*/
|
|
18
16
|
export interface GetFeatureSkuResult {
|
|
19
17
|
/**
|
|
20
18
|
* The requested marketplace.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof GetFeatureSkuResult
|
|
23
19
|
*/
|
|
24
20
|
'marketplaceId': string;
|
|
25
21
|
/**
|
|
26
22
|
* The name of the feature.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof GetFeatureSkuResult
|
|
29
23
|
*/
|
|
30
24
|
'featureName': string;
|
|
31
25
|
/**
|
|
32
26
|
* When true, the seller SKU is eligible for the requested feature.
|
|
33
|
-
* @type {boolean}
|
|
34
|
-
* @memberof GetFeatureSkuResult
|
|
35
27
|
*/
|
|
36
28
|
'isEligible': boolean;
|
|
37
29
|
/**
|
|
38
|
-
* A list of one or more reasons that the seller SKU is
|
|
39
|
-
* @type {Array<string>}
|
|
40
|
-
* @memberof GetFeatureSkuResult
|
|
30
|
+
* A list of one or more reasons that the seller SKU is ineligible for the feature. Possible values: * `MERCHANT_NOT_ENROLLED`: The merchant isn\'t enrolled for the feature. * `SKU_NOT_ELIGIBLE`: The SKU doesn\'t reside in a warehouse that supports the feature. * `INVALID_SKU`: There is an issue with the SKU provided.
|
|
41
31
|
*/
|
|
42
32
|
'ineligibleReasons'?: Array<string>;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {FeatureSku}
|
|
46
|
-
* @memberof GetFeatureSkuResult
|
|
47
|
-
*/
|
|
48
33
|
'skuInfo'?: FeatureSku;
|
|
49
34
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { GetFeaturesResult } from './get-features-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `getFeatures` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetFeaturesResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetFeaturesResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {GetFeaturesResult}
|
|
22
|
-
* @memberof GetFeaturesResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: GetFeaturesResult;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetFeaturesResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
import type { Feature } from './feature';
|
|
13
13
|
/**
|
|
14
14
|
* The payload for the `getFeatures` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetFeaturesResult
|
|
17
15
|
*/
|
|
18
16
|
export interface GetFeaturesResult {
|
|
19
17
|
/**
|
|
20
18
|
* An array of features.
|
|
21
|
-
* @type {Array<Feature>}
|
|
22
|
-
* @memberof GetFeaturesResult
|
|
23
19
|
*/
|
|
24
20
|
'features': Array<Feature>;
|
|
25
21
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { GetFulfillmentOrderResult } from './get-fulfillment-order-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `getFulfillmentOrder` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetFulfillmentOrderResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetFulfillmentOrderResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {GetFulfillmentOrderResult}
|
|
22
|
-
* @memberof GetFulfillmentOrderResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: GetFulfillmentOrderResult;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetFulfillmentOrderResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -16,45 +16,28 @@ import type { PaymentInformation } from './payment-information';
|
|
|
16
16
|
import type { ReturnAuthorization } from './return-authorization';
|
|
17
17
|
import type { ReturnItem } from './return-item';
|
|
18
18
|
/**
|
|
19
|
-
* The request for the getFulfillmentOrder operation.
|
|
20
|
-
* @export
|
|
21
|
-
* @interface GetFulfillmentOrderResult
|
|
19
|
+
* The request for the `getFulfillmentOrder` operation.
|
|
22
20
|
*/
|
|
23
21
|
export interface GetFulfillmentOrderResult {
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {FulfillmentOrder}
|
|
27
|
-
* @memberof GetFulfillmentOrderResult
|
|
28
|
-
*/
|
|
29
22
|
'fulfillmentOrder': FulfillmentOrder;
|
|
30
23
|
/**
|
|
31
24
|
* An array of fulfillment order item information.
|
|
32
|
-
* @type {Array<FulfillmentOrderItem>}
|
|
33
|
-
* @memberof GetFulfillmentOrderResult
|
|
34
25
|
*/
|
|
35
26
|
'fulfillmentOrderItems': Array<FulfillmentOrderItem>;
|
|
36
27
|
/**
|
|
37
28
|
* An array of fulfillment shipment information.
|
|
38
|
-
* @type {Array<FulfillmentShipment>}
|
|
39
|
-
* @memberof GetFulfillmentOrderResult
|
|
40
29
|
*/
|
|
41
30
|
'fulfillmentShipments'?: Array<FulfillmentShipment>;
|
|
42
31
|
/**
|
|
43
32
|
* An array of items that Amazon accepted for return. Returns empty if no items were accepted for return.
|
|
44
|
-
* @type {Array<ReturnItem>}
|
|
45
|
-
* @memberof GetFulfillmentOrderResult
|
|
46
33
|
*/
|
|
47
34
|
'returnItems': Array<ReturnItem>;
|
|
48
35
|
/**
|
|
49
36
|
* An array of return authorization information.
|
|
50
|
-
* @type {Array<ReturnAuthorization>}
|
|
51
|
-
* @memberof GetFulfillmentOrderResult
|
|
52
37
|
*/
|
|
53
38
|
'returnAuthorizations': Array<ReturnAuthorization>;
|
|
54
39
|
/**
|
|
55
40
|
* An array of various payment attributes related to this fulfillment order.
|
|
56
|
-
* @type {Array<PaymentInformation>}
|
|
57
|
-
* @memberof GetFulfillmentOrderResult
|
|
58
41
|
*/
|
|
59
42
|
'paymentInformation'?: Array<PaymentInformation>;
|
|
60
43
|
}
|