@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
|
@@ -13,74 +13,44 @@ import type { FulfillmentReturnItemStatus } from './fulfillment-return-item-stat
|
|
|
13
13
|
import type { ReturnItemDisposition } from './return-item-disposition';
|
|
14
14
|
/**
|
|
15
15
|
* An item that Amazon accepted for return.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ReturnItem
|
|
18
16
|
*/
|
|
19
17
|
export interface ReturnItem {
|
|
20
18
|
/**
|
|
21
|
-
* An identifier
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof ReturnItem
|
|
19
|
+
* An identifier the seller assigns to the return item.
|
|
24
20
|
*/
|
|
25
21
|
'sellerReturnItemId': string;
|
|
26
22
|
/**
|
|
27
23
|
* The identifier assigned to the item by the seller when the fulfillment order was created.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof ReturnItem
|
|
30
24
|
*/
|
|
31
25
|
'sellerFulfillmentOrderItemId': string;
|
|
32
26
|
/**
|
|
33
27
|
* The identifier for the shipment that is associated with the return item.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof ReturnItem
|
|
36
28
|
*/
|
|
37
29
|
'amazonShipmentId': string;
|
|
38
30
|
/**
|
|
39
31
|
* The return reason code assigned to the return item by the seller.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof ReturnItem
|
|
42
32
|
*/
|
|
43
33
|
'sellerReturnReasonCode': string;
|
|
44
34
|
/**
|
|
45
35
|
* An optional comment about the return item.
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof ReturnItem
|
|
48
36
|
*/
|
|
49
37
|
'returnComment'?: string;
|
|
50
38
|
/**
|
|
51
39
|
* The return reason code that the Amazon fulfillment center assigned to the return item.
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof ReturnItem
|
|
54
40
|
*/
|
|
55
41
|
'amazonReturnReasonCode'?: string;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {FulfillmentReturnItemStatus}
|
|
59
|
-
* @memberof ReturnItem
|
|
60
|
-
*/
|
|
61
42
|
'status': FulfillmentReturnItemStatus;
|
|
62
43
|
/**
|
|
63
44
|
* Date timestamp
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof ReturnItem
|
|
66
45
|
*/
|
|
67
46
|
'statusChangedDate': string;
|
|
68
47
|
/**
|
|
69
48
|
* Identifies the return authorization used to return this item. Refer to `ReturnAuthorization`.
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof ReturnItem
|
|
72
49
|
*/
|
|
73
50
|
'returnAuthorizationId'?: string;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {ReturnItemDisposition}
|
|
77
|
-
* @memberof ReturnItem
|
|
78
|
-
*/
|
|
79
51
|
'returnReceivedCondition'?: ReturnItemDisposition;
|
|
80
52
|
/**
|
|
81
53
|
* The identifier for the Amazon fulfillment center that processed the return item.
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof ReturnItem
|
|
84
54
|
*/
|
|
85
55
|
'fulfillmentCenterId'?: string;
|
|
86
56
|
}
|
|
@@ -12,20 +12,14 @@
|
|
|
12
12
|
import type { DeliveryWindow } from './delivery-window';
|
|
13
13
|
/**
|
|
14
14
|
* Delivery information for a scheduled delivery. This is only available in the JP marketplace.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ScheduledDeliveryInfo
|
|
17
15
|
*/
|
|
18
16
|
export interface ScheduledDeliveryInfo {
|
|
19
17
|
/**
|
|
20
18
|
* The time zone of the destination address for the fulfillment order preview. Must be an IANA time zone name. Example: Asia/Tokyo.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ScheduledDeliveryInfo
|
|
23
19
|
*/
|
|
24
20
|
'deliveryTimeZone': string;
|
|
25
21
|
/**
|
|
26
22
|
* An array of delivery windows.
|
|
27
|
-
* @type {Array<DeliveryWindow>}
|
|
28
|
-
* @memberof ScheduledDeliveryInfo
|
|
29
23
|
*/
|
|
30
24
|
'deliveryWindows': Array<DeliveryWindow>;
|
|
31
25
|
}
|
|
@@ -11,8 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The shipping method used for the fulfillment order. When this value is `ScheduledDelivery`, choose `Ship` for the `fulfillmentAction`. `Hold` is not a valid `fulfillmentAction` value when the `shippingSpeedCategory` value is `ScheduledDelivery`. Note: Shipping method service level agreements vary by marketplace. Sellers should refer to the [Seller Central](https://developer-docs.amazon.com/sp-api/docs/seller-central-urls) website in their marketplace for shipping method service level agreements and fulfillment fees.
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
14
|
*/
|
|
17
15
|
export declare const ShippingSpeedCategory: {
|
|
18
16
|
readonly Standard: "Standard";
|
|
@@ -12,14 +12,7 @@
|
|
|
12
12
|
import type { FulfillmentOrderStatus } from './fulfillment-order-status';
|
|
13
13
|
/**
|
|
14
14
|
* The request body schema for the `submitFulfillmentOrderStatusUpdate` operation.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SubmitFulfillmentOrderStatusUpdateRequest
|
|
17
15
|
*/
|
|
18
16
|
export interface SubmitFulfillmentOrderStatusUpdateRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {FulfillmentOrderStatus}
|
|
22
|
-
* @memberof SubmitFulfillmentOrderStatusUpdateRequest
|
|
23
|
-
*/
|
|
24
17
|
'fulfillmentOrderStatus'?: FulfillmentOrderStatus;
|
|
25
18
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The response schema for the `SubmitFulfillmentOrderStatusUpdate` operation.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SubmitFulfillmentOrderStatusUpdateResponse
|
|
16
14
|
*/
|
|
17
15
|
export interface SubmitFulfillmentOrderStatusUpdateResponse {
|
|
18
16
|
/**
|
|
19
17
|
* A list of error responses returned when a request is unsuccessful.
|
|
20
|
-
* @type {Array<Error>}
|
|
21
|
-
* @memberof SubmitFulfillmentOrderStatusUpdateResponse
|
|
22
18
|
*/
|
|
23
19
|
'errors'?: Array<Error>;
|
|
24
20
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Address information for tracking the package.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface TrackingAddress
|
|
16
14
|
*/
|
|
17
15
|
export interface TrackingAddress {
|
|
18
16
|
/**
|
|
19
17
|
* The city.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof TrackingAddress
|
|
22
18
|
*/
|
|
23
19
|
'city': string;
|
|
24
20
|
/**
|
|
25
21
|
* The state.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof TrackingAddress
|
|
28
22
|
*/
|
|
29
23
|
'state': string;
|
|
30
24
|
/**
|
|
31
25
|
* The country.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof TrackingAddress
|
|
34
26
|
*/
|
|
35
27
|
'country': string;
|
|
36
28
|
}
|
|
@@ -13,32 +13,16 @@ import type { EventCode } from './event-code';
|
|
|
13
13
|
import type { TrackingAddress } from './tracking-address';
|
|
14
14
|
/**
|
|
15
15
|
* Information for tracking package deliveries.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface TrackingEvent
|
|
18
16
|
*/
|
|
19
17
|
export interface TrackingEvent {
|
|
20
18
|
/**
|
|
21
19
|
* Date timestamp
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof TrackingEvent
|
|
24
20
|
*/
|
|
25
21
|
'eventDate': string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {TrackingAddress}
|
|
29
|
-
* @memberof TrackingEvent
|
|
30
|
-
*/
|
|
31
22
|
'eventAddress': TrackingAddress;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {EventCode}
|
|
35
|
-
* @memberof TrackingEvent
|
|
36
|
-
*/
|
|
37
23
|
'eventCode': EventCode;
|
|
38
24
|
/**
|
|
39
25
|
* A description for the corresponding event code.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof TrackingEvent
|
|
42
26
|
*/
|
|
43
27
|
'eventDescription': string;
|
|
44
28
|
}
|
|
@@ -11,32 +11,22 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Information about unfulfillable items in a fulfillment order preview.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface UnfulfillablePreviewItem
|
|
16
14
|
*/
|
|
17
15
|
export interface UnfulfillablePreviewItem {
|
|
18
16
|
/**
|
|
19
17
|
* The seller SKU of the item.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof UnfulfillablePreviewItem
|
|
22
18
|
*/
|
|
23
19
|
'sellerSku': string;
|
|
24
20
|
/**
|
|
25
21
|
* The item quantity.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof UnfulfillablePreviewItem
|
|
28
22
|
*/
|
|
29
23
|
'quantity': number;
|
|
30
24
|
/**
|
|
31
25
|
* A fulfillment order item identifier created with a call to the `getFulfillmentPreview` operation.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof UnfulfillablePreviewItem
|
|
34
26
|
*/
|
|
35
27
|
'sellerFulfillmentOrderItemId': string;
|
|
36
28
|
/**
|
|
37
29
|
* String list
|
|
38
|
-
* @type {Array<string>}
|
|
39
|
-
* @memberof UnfulfillablePreviewItem
|
|
40
30
|
*/
|
|
41
31
|
'itemUnfulfillableReasons'?: Array<string>;
|
|
42
32
|
}
|
|
@@ -12,68 +12,37 @@
|
|
|
12
12
|
import type { Money } from './money';
|
|
13
13
|
/**
|
|
14
14
|
* Item information for updating a fulfillment order.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface UpdateFulfillmentOrderItem
|
|
17
15
|
*/
|
|
18
16
|
export interface UpdateFulfillmentOrderItem {
|
|
19
17
|
/**
|
|
20
18
|
* The seller SKU of the item.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof UpdateFulfillmentOrderItem
|
|
23
19
|
*/
|
|
24
20
|
'sellerSku'?: string;
|
|
25
21
|
/**
|
|
26
|
-
* Identifies the fulfillment order item to update. Created with a previous call to the createFulfillmentOrder operation.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof UpdateFulfillmentOrderItem
|
|
22
|
+
* Identifies the fulfillment order item to update. Created with a previous call to the `createFulfillmentOrder` operation.
|
|
29
23
|
*/
|
|
30
24
|
'sellerFulfillmentOrderItemId': string;
|
|
31
25
|
/**
|
|
32
26
|
* The item quantity.
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof UpdateFulfillmentOrderItem
|
|
35
27
|
*/
|
|
36
28
|
'quantity': number;
|
|
37
29
|
/**
|
|
38
30
|
* A message to the gift recipient, if applicable.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof UpdateFulfillmentOrderItem
|
|
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 UpdateFulfillmentOrderItem
|
|
47
35
|
*/
|
|
48
36
|
'displayableComment'?: string;
|
|
49
37
|
/**
|
|
50
38
|
* Amazon\'s fulfillment network SKU of the item.
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof UpdateFulfillmentOrderItem
|
|
53
39
|
*/
|
|
54
40
|
'fulfillmentNetworkSku'?: string;
|
|
55
41
|
/**
|
|
56
42
|
* Indicates whether the item is sellable or unsellable.
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof UpdateFulfillmentOrderItem
|
|
59
43
|
*/
|
|
60
44
|
'orderItemDisposition'?: string;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {Money}
|
|
64
|
-
* @memberof UpdateFulfillmentOrderItem
|
|
65
|
-
*/
|
|
66
45
|
'perUnitDeclaredValue'?: Money;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {Money}
|
|
70
|
-
* @memberof UpdateFulfillmentOrderItem
|
|
71
|
-
*/
|
|
72
46
|
'perUnitPrice'?: Money;
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {Money}
|
|
76
|
-
* @memberof UpdateFulfillmentOrderItem
|
|
77
|
-
*/
|
|
78
47
|
'perUnitTax'?: Money;
|
|
79
48
|
}
|
|
@@ -17,80 +17,42 @@ import type { ShippingSpeedCategory } from './shipping-speed-category';
|
|
|
17
17
|
import type { UpdateFulfillmentOrderItem } from './update-fulfillment-order-item';
|
|
18
18
|
/**
|
|
19
19
|
* The request body schema for the `updateFulfillmentOrder` operation.
|
|
20
|
-
* @export
|
|
21
|
-
* @interface UpdateFulfillmentOrderRequest
|
|
22
20
|
*/
|
|
23
21
|
export interface UpdateFulfillmentOrderRequest {
|
|
24
22
|
/**
|
|
25
23
|
* The marketplace the fulfillment order is placed against.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof UpdateFulfillmentOrderRequest
|
|
28
24
|
*/
|
|
29
25
|
'marketplaceId'?: string;
|
|
30
26
|
/**
|
|
31
27
|
* A fulfillment order identifier that the seller creates. This value displays as the order identifier in recipient-facing materials such as the outbound shipment packing slip. The value of `DisplayableOrderId` should match the order identifier that the seller provides to the recipient. The seller can use the `SellerFulfillmentOrderId` for this value or they can specify an alternate value if they want the recipient to reference an alternate order identifier.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof UpdateFulfillmentOrderRequest
|
|
34
28
|
*/
|
|
35
29
|
'displayableOrderId'?: string;
|
|
36
30
|
/**
|
|
37
31
|
* Date timestamp
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof UpdateFulfillmentOrderRequest
|
|
40
32
|
*/
|
|
41
33
|
'displayableOrderDate'?: string;
|
|
42
34
|
/**
|
|
43
35
|
* Order-specific text that appears in recipient-facing materials such as the outbound shipment packing slip.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof UpdateFulfillmentOrderRequest
|
|
46
36
|
*/
|
|
47
37
|
'displayableOrderComment'?: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {ShippingSpeedCategory}
|
|
51
|
-
* @memberof UpdateFulfillmentOrderRequest
|
|
52
|
-
*/
|
|
53
38
|
'shippingSpeedCategory'?: ShippingSpeedCategory;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {Address}
|
|
57
|
-
* @memberof UpdateFulfillmentOrderRequest
|
|
58
|
-
*/
|
|
59
39
|
'destinationAddress'?: Address;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {FulfillmentAction}
|
|
63
|
-
* @memberof UpdateFulfillmentOrderRequest
|
|
64
|
-
*/
|
|
65
40
|
'fulfillmentAction'?: FulfillmentAction;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {FulfillmentPolicy}
|
|
69
|
-
* @memberof UpdateFulfillmentOrderRequest
|
|
70
|
-
*/
|
|
71
41
|
'fulfillmentPolicy'?: FulfillmentPolicy;
|
|
72
42
|
/**
|
|
73
43
|
* The two-character country code for the country from which the fulfillment order ships. Must be in ISO 3166-1 alpha-2 format.
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof UpdateFulfillmentOrderRequest
|
|
76
44
|
*/
|
|
77
45
|
'shipFromCountryCode'?: string;
|
|
78
46
|
/**
|
|
79
47
|
* 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.
|
|
80
|
-
* @type {Array<string>}
|
|
81
|
-
* @memberof UpdateFulfillmentOrderRequest
|
|
82
48
|
*/
|
|
83
49
|
'notificationEmails'?: Array<string>;
|
|
84
50
|
/**
|
|
85
51
|
* A list of features and their fulfillment policies to apply to the order.
|
|
86
|
-
* @type {Array<FeatureSettings>}
|
|
87
|
-
* @memberof UpdateFulfillmentOrderRequest
|
|
88
52
|
*/
|
|
89
53
|
'featureConstraints'?: Array<FeatureSettings>;
|
|
90
54
|
/**
|
|
91
55
|
* An array of fulfillment order item information for updating a fulfillment order.
|
|
92
|
-
* @type {Array<UpdateFulfillmentOrderItem>}
|
|
93
|
-
* @memberof UpdateFulfillmentOrderRequest
|
|
94
56
|
*/
|
|
95
57
|
'items'?: Array<UpdateFulfillmentOrderItem>;
|
|
96
58
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The response schema for the `updateFulfillmentOrder` operation.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface UpdateFulfillmentOrderResponse
|
|
16
14
|
*/
|
|
17
15
|
export interface UpdateFulfillmentOrderResponse {
|
|
18
16
|
/**
|
|
19
17
|
* A list of error responses returned when a request is unsuccessful.
|
|
20
|
-
* @type {Array<Error>}
|
|
21
|
-
* @memberof UpdateFulfillmentOrderResponse
|
|
22
18
|
*/
|
|
23
19
|
'errors'?: Array<Error>;
|
|
24
20
|
}
|
|
@@ -11,56 +11,38 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* A physical address with varying degrees of precision. A more precise address can provide more accurate results than country code and postal code alone.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface VariablePrecisionAddress
|
|
16
14
|
*/
|
|
17
15
|
export interface VariablePrecisionAddress {
|
|
18
16
|
/**
|
|
19
17
|
* The first line of the address.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof VariablePrecisionAddress
|
|
22
18
|
*/
|
|
23
19
|
'addressLine1'?: string;
|
|
24
20
|
/**
|
|
25
21
|
* Additional address information, if required.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof VariablePrecisionAddress
|
|
28
22
|
*/
|
|
29
23
|
'addressLine2'?: string;
|
|
30
24
|
/**
|
|
31
25
|
* Additional address information, if required.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof VariablePrecisionAddress
|
|
34
26
|
*/
|
|
35
27
|
'addressLine3'?: string;
|
|
36
28
|
/**
|
|
37
29
|
* The city where the person, business, or institution is located. This property should not be used in Japan.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof VariablePrecisionAddress
|
|
40
30
|
*/
|
|
41
31
|
'city'?: string;
|
|
42
32
|
/**
|
|
43
33
|
* The district or county where the person, business, or institution is located.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof VariablePrecisionAddress
|
|
46
34
|
*/
|
|
47
35
|
'districtOrCounty'?: string;
|
|
48
36
|
/**
|
|
49
37
|
* The state or region where the person, business or institution is located.
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof VariablePrecisionAddress
|
|
52
38
|
*/
|
|
53
39
|
'stateOrRegion'?: string;
|
|
54
40
|
/**
|
|
55
41
|
* The postal code of the address.
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof VariablePrecisionAddress
|
|
58
42
|
*/
|
|
59
43
|
'postalCode': string;
|
|
60
44
|
/**
|
|
61
45
|
* The two digit country code. In ISO 3166-1 alpha-2 format.
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof VariablePrecisionAddress
|
|
64
46
|
*/
|
|
65
47
|
'countryCode': string;
|
|
66
48
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The weight.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Weight
|
|
16
14
|
*/
|
|
17
15
|
export interface Weight {
|
|
18
16
|
/**
|
|
19
17
|
* The unit of weight.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Weight
|
|
22
18
|
*/
|
|
23
19
|
'unit': WeightUnitEnum;
|
|
24
20
|
/**
|
|
25
21
|
* The weight value.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Weight
|
|
28
22
|
*/
|
|
29
23
|
'value': string;
|
|
30
24
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/fulfillment-outbound-api-2020-07-01",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "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.",
|
|
5
|
-
"version": "4.0
|
|
5
|
+
"version": "4.1.0",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.1.
|
|
22
|
-
"axios": "^1.
|
|
21
|
+
"@sp-api-sdk/common": "2.1.17",
|
|
22
|
+
"axios": "^1.11.0"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,26 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"fulfillment outbound api"
|
|
42
42
|
],
|
|
43
|
-
"
|
|
43
|
+
"xo": {
|
|
44
|
+
"extends": [
|
|
45
|
+
"xo-bizon"
|
|
46
|
+
],
|
|
47
|
+
"settings": {
|
|
48
|
+
"import/internal-regex": "^@sp-api-sdk/"
|
|
49
|
+
},
|
|
50
|
+
"semicolon": false,
|
|
51
|
+
"space": 2,
|
|
52
|
+
"prettier": true,
|
|
53
|
+
"ignores": [
|
|
54
|
+
"src/api-model/**"
|
|
55
|
+
],
|
|
56
|
+
"rules": {
|
|
57
|
+
"unicorn/prevent-abbreviations": "off"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"prettier": {
|
|
61
|
+
"printWidth": 100,
|
|
62
|
+
"jsxSingleQuote": true
|
|
63
|
+
},
|
|
64
|
+
"gitHead": "961457650a65779f38e5d35547ca8cb2fb749943"
|
|
44
65
|
}
|