python-amazon-sp-api 2.0.15__py3-none-any.whl → 2.1.3__py3-none-any.whl
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.
- {python_amazon_sp_api-2.0.15.dist-info → python_amazon_sp_api-2.1.3.dist-info}/METADATA +7 -7
- python_amazon_sp_api-2.1.3.dist-info/RECORD +350 -0
- sp_api/__version__.py +1 -1
- sp_api/api/__init__.py +160 -4
- sp_api/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu.py +85 -110
- sp_api/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu_2024_05_09.py +456 -0
- sp_api/api/aplus_content/aplus_content.py +176 -125
- sp_api/api/application_integrations/application_integrations.py +59 -68
- sp_api/api/application_management/application_management.py +20 -13
- sp_api/api/authorization/authorization.py +8 -26
- sp_api/api/catalog/catalog.py +27 -61
- sp_api/api/catalog_items/catalog_items.py +108 -78
- sp_api/api/catalog_items/catalog_items_2020_12_01.py +86 -0
- sp_api/api/catalog_items/catalog_items_2022_04_01.py +89 -0
- sp_api/api/customer_feedback/customer_feedback.py +100 -0
- sp_api/api/data_kiosk/data_kiosk.py +80 -75
- sp_api/api/delivery_by_amazon/__init__.py +0 -0
- sp_api/api/delivery_by_amazon/delivery_by_amazon.py +92 -0
- sp_api/api/delivery_by_amazon/delivery_by_amazon_2022_07_01.py +81 -0
- sp_api/api/easy_ship/easy_ship.py +121 -111
- sp_api/api/external_fulfillment/external_fulfillment.py +211 -434
- sp_api/api/external_fulfillment/inventory.py +120 -0
- sp_api/api/external_fulfillment/inventory_2021_01_06.py +71 -0
- sp_api/api/external_fulfillment/inventory_2024_09_11.py +96 -0
- sp_api/api/external_fulfillment/returns.py +120 -0
- sp_api/api/external_fulfillment/returns_2021_08_19.py +88 -0
- sp_api/api/external_fulfillment/returns_2024_09_11.py +141 -0
- sp_api/api/external_fulfillment/shipping.py +120 -0
- sp_api/api/external_fulfillment/shipping_2021_01_06.py +256 -0
- sp_api/api/external_fulfillment/shipping_2024_09_11.py +233 -0
- sp_api/api/fba_inbound_eligibility/fba_inbound_eligibility.py +30 -24
- sp_api/api/fba_small_and_light/fba_small_and_light.py +60 -99
- sp_api/api/feeds/feeds.py +75 -245
- sp_api/api/feeds/feeds_2021_06_30.py +320 -0
- sp_api/api/finances/finances.py +123 -90
- sp_api/api/finances/finances_2024_06_01.py +71 -0
- sp_api/api/finances/finances_2024_06_19.py +114 -0
- sp_api/api/finances/finances_v0.py +116 -0
- sp_api/api/fulfillment_inbound/fulfillment_inbound.py +107 -1784
- sp_api/api/fulfillment_inbound/fulfillment_inbound_2024_03_20.py +1722 -0
- sp_api/api/fulfillment_inbound/fulfillment_inbound_v0.py +1384 -0
- sp_api/api/fulfillment_outbound/fulfillment_outbound.py +256 -480
- sp_api/api/inventories/inventories.py +79 -42
- sp_api/api/invoices/__init__.py +0 -0
- sp_api/api/invoices/invoices.py +92 -0
- sp_api/api/invoices/invoices_2024_06_19.py +344 -0
- sp_api/api/listings_items/listings_items.py +110 -163
- sp_api/api/listings_items/listings_items_2020_09_01.py +189 -0
- sp_api/api/listings_items/listings_items_2021_08_01.py +233 -0
- sp_api/api/listings_restrictions/listings_restrictions.py +23 -10
- sp_api/api/merchant_fulfillment/merchant_fulfillment.py +107 -222
- sp_api/api/messaging/messaging.py +184 -198
- sp_api/api/notifications/notifications.py +144 -106
- sp_api/api/orders/orders.py +9 -46
- sp_api/api/orders/orders_2026_01_01.py +19 -65
- sp_api/api/orders/orders_v0.py +152 -184
- sp_api/api/product_fees/product_fees.py +101 -75
- sp_api/api/product_type_definitions/product_type_definitions.py +47 -36
- sp_api/api/products/products.py +94 -386
- sp_api/api/products/products_2022_05_01.py +96 -0
- sp_api/api/products/products_v0.py +389 -0
- sp_api/api/replenishment/replenishment.py +58 -69
- sp_api/api/reports/reports.py +124 -157
- sp_api/api/sales/sales.py +22 -39
- sp_api/api/seller_wallet/__init__.py +0 -0
- sp_api/api/seller_wallet/seller_wallet.py +92 -0
- sp_api/api/seller_wallet/seller_wallet_2024_03_01.py +300 -0
- sp_api/api/sellers/sellers.py +15 -35
- sp_api/api/services/services.py +479 -82
- sp_api/api/shipment_invoicing/__init__.py +0 -0
- sp_api/api/shipment_invoicing/shipment_invoicing.py +92 -0
- sp_api/api/shipment_invoicing/shipment_invoicing_v0.py +101 -0
- sp_api/api/shipping/shipping.py +94 -440
- sp_api/api/shipping/shippingV2.py +183 -474
- sp_api/api/shipping/shipping_v1.py +330 -0
- sp_api/api/shipping/shipping_v2.py +723 -0
- sp_api/api/solicitations/solicitations.py +28 -18
- sp_api/api/supply_sources/supply_sources.py +67 -57
- sp_api/api/tokens/tokens.py +14 -35
- sp_api/api/vehicles/__init__.py +0 -0
- sp_api/api/vehicles/vehicles.py +92 -0
- sp_api/api/vehicles/vehicles_2024_11_01.py +33 -0
- sp_api/api/vendor_direct_fulfillment_inventory/vendor_direct_fulfillment_inventory.py +16 -29
- sp_api/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders.py +116 -189
- sp_api/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders_2021_12_28.py +114 -0
- sp_api/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders_v1.py +114 -0
- sp_api/api/vendor_direct_fulfillment_payments/vendor_direct_fulfillment_payments.py +15 -225
- sp_api/api/vendor_direct_fulfillment_sandbox_test_data/__init__.py +0 -0
- sp_api/api/vendor_direct_fulfillment_sandbox_test_data/vendor_direct_fulfillment_sandbox_test_data.py +92 -0
- sp_api/api/vendor_direct_fulfillment_sandbox_test_data/vendor_direct_fulfillment_sandbox_test_data_2021_10_28.py +50 -0
- sp_api/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping.py +122 -624
- sp_api/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping_2021_12_28.py +390 -0
- sp_api/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping_v1.py +320 -0
- sp_api/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions.py +113 -29
- sp_api/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions_2021_12_28.py +47 -0
- sp_api/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions_v1.py +47 -0
- sp_api/api/vendor_invoices/vendor_invoices.py +15 -264
- sp_api/api/vendor_orders/vendor_orders.py +83 -131
- sp_api/api/vendor_shipments/vendor_shipments.py +149 -68
- sp_api/api/vendor_transaction_status/vendor_transaction_status.py +16 -11
- sp_api/asyncio/api/__init__.py +159 -4
- sp_api/asyncio/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu.py +84 -110
- sp_api/asyncio/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu_2024_05_09.py +457 -0
- sp_api/asyncio/api/aplus_content/aplus_content.py +176 -125
- sp_api/asyncio/api/application_integrations/application_integrations.py +59 -68
- sp_api/asyncio/api/application_management/application_management.py +20 -13
- sp_api/asyncio/api/authorization/authorization.py +8 -26
- sp_api/asyncio/api/catalog/catalog.py +27 -61
- sp_api/asyncio/api/catalog_items/catalog_items.py +94 -71
- sp_api/asyncio/api/catalog_items/catalog_items_2020_12_01.py +87 -0
- sp_api/asyncio/api/catalog_items/catalog_items_2022_04_01.py +90 -0
- sp_api/asyncio/api/customer_feedback/customer_feedback.py +100 -0
- sp_api/asyncio/api/data_kiosk/data_kiosk.py +80 -75
- sp_api/asyncio/api/delivery_by_amazon/__init__.py +0 -0
- sp_api/asyncio/api/delivery_by_amazon/delivery_by_amazon.py +92 -0
- sp_api/asyncio/api/delivery_by_amazon/delivery_by_amazon_2022_07_01.py +82 -0
- sp_api/asyncio/api/easy_ship/easy_ship.py +121 -111
- sp_api/asyncio/api/external_fulfillment/external_fulfillment.py +212 -435
- sp_api/asyncio/api/external_fulfillment/inventory.py +126 -0
- sp_api/asyncio/api/external_fulfillment/inventory_2021_01_06.py +73 -0
- sp_api/asyncio/api/external_fulfillment/inventory_2024_09_11.py +98 -0
- sp_api/asyncio/api/external_fulfillment/returns.py +124 -0
- sp_api/asyncio/api/external_fulfillment/returns_2021_08_19.py +90 -0
- sp_api/asyncio/api/external_fulfillment/returns_2024_09_11.py +143 -0
- sp_api/asyncio/api/external_fulfillment/shipping.py +124 -0
- sp_api/asyncio/api/external_fulfillment/shipping_2021_01_06.py +258 -0
- sp_api/asyncio/api/external_fulfillment/shipping_2024_09_11.py +235 -0
- sp_api/asyncio/api/fba_inbound_eligibility/fba_inbound_eligibility.py +31 -25
- sp_api/asyncio/api/fba_small_and_light/fba_small_and_light.py +61 -100
- sp_api/asyncio/api/feeds/feeds.py +75 -243
- sp_api/asyncio/api/feeds/feeds_2021_06_30.py +318 -0
- sp_api/asyncio/api/finances/finances.py +123 -91
- sp_api/asyncio/api/finances/finances_2024_06_01.py +72 -0
- sp_api/asyncio/api/finances/finances_2024_06_19.py +115 -0
- sp_api/asyncio/api/finances/finances_v0.py +117 -0
- sp_api/asyncio/api/fulfillment_inbound/fulfillment_inbound.py +107 -1785
- sp_api/asyncio/api/fulfillment_inbound/fulfillment_inbound_2024_03_20.py +1723 -0
- sp_api/asyncio/api/fulfillment_inbound/fulfillment_inbound_v0.py +1385 -0
- sp_api/asyncio/api/fulfillment_outbound/fulfillment_outbound.py +257 -481
- sp_api/asyncio/api/inventories/inventories.py +79 -42
- sp_api/asyncio/api/invoices/__init__.py +0 -0
- sp_api/asyncio/api/invoices/invoices.py +92 -0
- sp_api/asyncio/api/invoices/invoices_2024_06_19.py +345 -0
- sp_api/asyncio/api/listings_items/listings_items.py +109 -163
- sp_api/asyncio/api/listings_items/listings_items_2020_09_01.py +190 -0
- sp_api/asyncio/api/listings_items/listings_items_2021_08_01.py +233 -0
- sp_api/asyncio/api/listings_restrictions/listings_restrictions.py +23 -10
- sp_api/asyncio/api/merchant_fulfillment/merchant_fulfillment.py +110 -222
- sp_api/asyncio/api/messaging/messaging.py +185 -199
- sp_api/asyncio/api/notifications/notifications.py +145 -107
- sp_api/asyncio/api/orders/orders.py +9 -46
- sp_api/asyncio/api/orders/orders_2026_01_01.py +19 -65
- sp_api/asyncio/api/orders/orders_v0.py +152 -184
- sp_api/asyncio/api/product_fees/product_fees.py +101 -75
- sp_api/asyncio/api/product_type_definitions/product_type_definitions.py +47 -36
- sp_api/asyncio/api/products/products.py +94 -387
- sp_api/asyncio/api/products/products_2022_05_01.py +109 -0
- sp_api/asyncio/api/products/products_v0.py +388 -0
- sp_api/asyncio/api/replenishment/replenishment.py +59 -70
- sp_api/asyncio/api/reports/reports.py +124 -157
- sp_api/asyncio/api/sales/sales.py +22 -39
- sp_api/asyncio/api/seller_wallet/__init__.py +0 -0
- sp_api/asyncio/api/seller_wallet/seller_wallet.py +92 -0
- sp_api/asyncio/api/seller_wallet/seller_wallet_2024_03_01.py +301 -0
- sp_api/asyncio/api/sellers/sellers.py +16 -36
- sp_api/asyncio/api/services/services.py +479 -82
- sp_api/asyncio/api/shipment_invoicing/__init__.py +0 -0
- sp_api/asyncio/api/shipment_invoicing/shipment_invoicing.py +92 -0
- sp_api/asyncio/api/shipment_invoicing/shipment_invoicing_v0.py +102 -0
- sp_api/asyncio/api/shipping/shipping.py +94 -441
- sp_api/asyncio/api/shipping/shippingV2.py +181 -472
- sp_api/asyncio/api/shipping/shipping_v1.py +331 -0
- sp_api/asyncio/api/shipping/shipping_v2.py +717 -0
- sp_api/asyncio/api/solicitations/solicitations.py +29 -19
- sp_api/asyncio/api/supply_sources/supply_sources.py +67 -57
- sp_api/asyncio/api/tokens/tokens.py +14 -35
- sp_api/asyncio/api/vehicles/__init__.py +0 -0
- sp_api/asyncio/api/vehicles/vehicles.py +92 -0
- sp_api/asyncio/api/vehicles/vehicles_2024_11_01.py +34 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_inventory/vendor_direct_fulfillment_inventory.py +16 -29
- sp_api/asyncio/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders.py +120 -192
- sp_api/asyncio/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders_2021_12_28.py +116 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders_v1.py +115 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_payments/vendor_direct_fulfillment_payments.py +15 -225
- sp_api/asyncio/api/vendor_direct_fulfillment_sandbox_test_data/__init__.py +0 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_sandbox_test_data/vendor_direct_fulfillment_sandbox_test_data.py +92 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_sandbox_test_data/vendor_direct_fulfillment_sandbox_test_data_2021_10_28.py +51 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping.py +120 -623
- sp_api/asyncio/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping_2021_12_28.py +392 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping_v1.py +321 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions.py +112 -29
- sp_api/asyncio/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions_2021_12_28.py +49 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions_v1.py +48 -0
- sp_api/asyncio/api/vendor_invoices/vendor_invoices.py +16 -265
- sp_api/asyncio/api/vendor_orders/vendor_orders.py +84 -132
- sp_api/asyncio/api/vendor_shipments/vendor_shipments.py +150 -69
- sp_api/asyncio/api/vendor_transaction_status/vendor_transaction_status.py +17 -12
- sp_api/asyncio/base/client.py +2 -2
- sp_api/asyncio/util/load_date_bound.py +1 -1
- sp_api/base/__init__.py +10 -0
- sp_api/base/_core.py +2 -2
- sp_api/base/client.py +3 -3
- sp_api/base/helpers.py +12 -1
- sp_api/base/marketplaces.py +6 -3
- sp_api/util/__init__.py +2 -0
- sp_api/util/load_date_bound.py +1 -1
- sp_api/util/versioned_client.py +45 -0
- python_amazon_sp_api-2.0.15.dist-info/RECORD +0 -255
- sp_api/asyncio/api/models/__init__.py +0 -4
- sp_api/asyncio/api/overrides/__init__.py +0 -1
- {python_amazon_sp_api-2.0.15.data → python_amazon_sp_api-2.1.3.data}/scripts/make_endpoint +0 -0
- {python_amazon_sp_api-2.0.15.dist-info → python_amazon_sp_api-2.1.3.dist-info}/WHEEL +0 -0
- {python_amazon_sp_api-2.0.15.dist-info → python_amazon_sp_api-2.1.3.dist-info}/licenses/LICENSE +0 -0
- {python_amazon_sp_api-2.0.15.dist-info → python_amazon_sp_api-2.1.3.dist-info}/top_level.txt +0 -0
|
@@ -15,102 +15,60 @@ class FulfillmentOutbound(Client):
|
|
|
15
15
|
def get_fulfillment_preview(self, **kwargs) -> ApiResponse:
|
|
16
16
|
"""
|
|
17
17
|
get_fulfillment_preview(self, **kwargs) -> ApiResponse
|
|
18
|
-
|
|
18
|
+
|
|
19
19
|
Returns a list of fulfillment order previews based on shipping criteria that you specify.
|
|
20
|
-
|
|
20
|
+
|
|
21
21
|
**Usage Plan:**
|
|
22
|
-
|
|
22
|
+
|
|
23
23
|
====================================== ==============
|
|
24
24
|
Rate (requests per second) Burst
|
|
25
25
|
====================================== ==============
|
|
26
26
|
2 30
|
|
27
27
|
====================================== ==============
|
|
28
|
-
|
|
28
|
+
|
|
29
29
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
30
|
-
|
|
30
|
+
|
|
31
31
|
Examples:
|
|
32
32
|
literal blocks::
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"address": {
|
|
37
|
-
"name": "string",
|
|
38
|
-
"addressLine1": "string",
|
|
39
|
-
"addressLine2": "string",
|
|
40
|
-
"addressLine3": "string",
|
|
41
|
-
"city": "string",
|
|
42
|
-
"districtOrCounty": "string",
|
|
43
|
-
"stateOrRegion": "string",
|
|
44
|
-
"postalCode": "string",
|
|
45
|
-
"countryCode": "string",
|
|
46
|
-
"phone": "string"
|
|
47
|
-
},
|
|
48
|
-
"items": [
|
|
49
|
-
{
|
|
50
|
-
"sellerSku": "string",
|
|
51
|
-
"quantity": 0,
|
|
52
|
-
"perUnitDeclaredValue": {
|
|
53
|
-
"currencyCode": "string",
|
|
54
|
-
"value": "string"
|
|
55
|
-
},
|
|
56
|
-
"sellerFulfillmentOrderItemId": "string"
|
|
57
|
-
}
|
|
58
|
-
],
|
|
59
|
-
"shippingSpeedCategories": [
|
|
60
|
-
"Standard"
|
|
61
|
-
],
|
|
62
|
-
"includeCODFulfillmentPreview": true,
|
|
63
|
-
"includeDeliveryWindows": true,
|
|
64
|
-
"featureConstraints": [
|
|
65
|
-
{
|
|
66
|
-
"featureName": "string",
|
|
67
|
-
"featureFulfillmentPolicy": "Required"
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
|
-
|
|
33
|
+
|
|
34
|
+
FulfillmentOutbound().get_fulfillment_preview()
|
|
35
|
+
|
|
72
36
|
Args:
|
|
73
|
-
body:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"addressLine2": "string",
|
|
79
|
-
"addressLine3": "string",
|
|
80
|
-
"city": "string",
|
|
81
|
-
"districtOrCounty": "string",
|
|
82
|
-
"stateOrRegion": "string",
|
|
83
|
-
"postalCode": "string",
|
|
84
|
-
"countryCode": "string",
|
|
85
|
-
"phone": "string"
|
|
86
|
-
},
|
|
87
|
-
"items": [
|
|
88
|
-
{
|
|
89
|
-
"sellerSku": "string",
|
|
90
|
-
"quantity": 0,
|
|
91
|
-
"perUnitDeclaredValue": {
|
|
92
|
-
"currencyCode": "string",
|
|
93
|
-
"value": "string"
|
|
94
|
-
},
|
|
95
|
-
"sellerFulfillmentOrderItemId": "string"
|
|
96
|
-
}
|
|
97
|
-
],
|
|
98
|
-
"shippingSpeedCategories": [
|
|
99
|
-
"Standard"
|
|
100
|
-
],
|
|
101
|
-
"includeCODFulfillmentPreview": true,
|
|
102
|
-
"includeDeliveryWindows": true,
|
|
103
|
-
"featureConstraints": [
|
|
104
|
-
{
|
|
105
|
-
"featureName": "string",
|
|
106
|
-
"featureFulfillmentPolicy": "Required"
|
|
107
|
-
}
|
|
108
|
-
]
|
|
109
|
-
}
|
|
37
|
+
body: GetFulfillmentPreviewRequest | required GetFulfillmentPreviewRequest parameter
|
|
38
|
+
|
|
39
|
+
Returns:
|
|
40
|
+
ApiResponse
|
|
41
|
+
"""
|
|
110
42
|
|
|
43
|
+
return self._request(kwargs.pop("path"), data=kwargs)
|
|
111
44
|
|
|
45
|
+
@sp_endpoint("/fba/outbound/2020-07-01/deliveryOffers", method="POST")
|
|
46
|
+
def delivery_offers(self, **kwargs) -> ApiResponse:
|
|
47
|
+
"""
|
|
48
|
+
delivery_offers(self, **kwargs) -> ApiResponse
|
|
49
|
+
|
|
50
|
+
Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify.
|
|
51
|
+
|
|
52
|
+
**Usage Plan:**
|
|
53
|
+
|
|
54
|
+
====================================== ==============
|
|
55
|
+
Rate (requests per second) Burst
|
|
56
|
+
====================================== ==============
|
|
57
|
+
5 30
|
|
58
|
+
====================================== ==============
|
|
59
|
+
|
|
60
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
61
|
+
|
|
62
|
+
Examples:
|
|
63
|
+
literal blocks::
|
|
64
|
+
|
|
65
|
+
FulfillmentOutbound().delivery_offers()
|
|
66
|
+
|
|
67
|
+
Args:
|
|
68
|
+
body: GetDeliveryOffersRequest | required GetDeliveryOffersRequest parameter
|
|
69
|
+
|
|
112
70
|
Returns:
|
|
113
|
-
ApiResponse
|
|
71
|
+
ApiResponse
|
|
114
72
|
"""
|
|
115
73
|
|
|
116
74
|
return self._request(kwargs.pop("path"), data=kwargs)
|
|
@@ -119,25 +77,30 @@ class FulfillmentOutbound(Client):
|
|
|
119
77
|
def list_all_fulfillment_orders(self, **kwargs) -> ApiResponse:
|
|
120
78
|
"""
|
|
121
79
|
list_all_fulfillment_orders(self, **kwargs) -> ApiResponse
|
|
122
|
-
|
|
123
|
-
Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the
|
|
124
|
-
|
|
80
|
+
|
|
81
|
+
Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter.
|
|
82
|
+
|
|
125
83
|
**Usage Plan:**
|
|
126
|
-
|
|
84
|
+
|
|
127
85
|
====================================== ==============
|
|
128
86
|
Rate (requests per second) Burst
|
|
129
87
|
====================================== ==============
|
|
130
88
|
2 30
|
|
131
89
|
====================================== ==============
|
|
132
|
-
|
|
90
|
+
|
|
133
91
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
134
|
-
|
|
92
|
+
|
|
93
|
+
Examples:
|
|
94
|
+
literal blocks::
|
|
95
|
+
|
|
96
|
+
FulfillmentOutbound().list_all_fulfillment_orders()
|
|
97
|
+
|
|
135
98
|
Args:
|
|
136
|
-
key queryStartDate:
|
|
137
|
-
key nextToken:
|
|
138
|
-
|
|
99
|
+
key queryStartDate: object | A date used to select fulfillment orders that were last updated after (or at) a specified time. An update is defined as any change in fulfillment order status, including the creation of a new fulfillment order.
|
|
100
|
+
key nextToken: object | A string token returned in the response to your previous request.
|
|
101
|
+
|
|
139
102
|
Returns:
|
|
140
|
-
ApiResponse
|
|
103
|
+
ApiResponse
|
|
141
104
|
"""
|
|
142
105
|
|
|
143
106
|
return self._request(kwargs.pop("path"), params=kwargs)
|
|
@@ -146,183 +109,29 @@ class FulfillmentOutbound(Client):
|
|
|
146
109
|
def create_fulfillment_order(self, **kwargs) -> ApiResponse:
|
|
147
110
|
"""
|
|
148
111
|
create_fulfillment_order(self, **kwargs) -> ApiResponse
|
|
149
|
-
|
|
112
|
+
|
|
150
113
|
Requests that Amazon ship items from the seller's inventory in Amazon's fulfillment network to a destination address.
|
|
151
|
-
|
|
114
|
+
|
|
152
115
|
**Usage Plan:**
|
|
153
|
-
|
|
154
|
-
|
|
116
|
+
|
|
155
117
|
====================================== ==============
|
|
156
118
|
Rate (requests per second) Burst
|
|
157
119
|
====================================== ==============
|
|
158
120
|
2 30
|
|
159
121
|
====================================== ==============
|
|
160
|
-
|
|
122
|
+
|
|
161
123
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
162
|
-
|
|
124
|
+
|
|
163
125
|
Examples:
|
|
164
126
|
literal blocks::
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
"sellerFulfillmentOrderId": "string",
|
|
169
|
-
"displayableOrderId": "string",
|
|
170
|
-
"displayableOrderDate": "2019-08-24T14:15:22Z",
|
|
171
|
-
"displayableOrderComment": "string",
|
|
172
|
-
"shippingSpeedCategory": "Standard",
|
|
173
|
-
"deliveryWindow": {
|
|
174
|
-
"startDate": "2019-08-24T14:15:22Z",
|
|
175
|
-
"endDate": "2019-08-24T14:15:22Z"
|
|
176
|
-
},
|
|
177
|
-
"destinationAddress": {
|
|
178
|
-
"name": "string",
|
|
179
|
-
"addressLine1": "string",
|
|
180
|
-
"addressLine2": "string",
|
|
181
|
-
"addressLine3": "string",
|
|
182
|
-
"city": "string",
|
|
183
|
-
"districtOrCounty": "string",
|
|
184
|
-
"stateOrRegion": "string",
|
|
185
|
-
"postalCode": "string",
|
|
186
|
-
"countryCode": "string",
|
|
187
|
-
"phone": "string"
|
|
188
|
-
},
|
|
189
|
-
"fulfillmentAction": "Ship",
|
|
190
|
-
"fulfillmentPolicy": "FillOrKill",
|
|
191
|
-
"codSettings": {
|
|
192
|
-
"isCodRequired": true,
|
|
193
|
-
"codCharge": {
|
|
194
|
-
"currencyCode": "string",
|
|
195
|
-
"value": "string"
|
|
196
|
-
},
|
|
197
|
-
"codChargeTax": {
|
|
198
|
-
"currencyCode": "string",
|
|
199
|
-
"value": "string"
|
|
200
|
-
},
|
|
201
|
-
"shippingCharge": {
|
|
202
|
-
"currencyCode": "string",
|
|
203
|
-
"value": "string"
|
|
204
|
-
},
|
|
205
|
-
"shippingChargeTax": {
|
|
206
|
-
"currencyCode": "string",
|
|
207
|
-
"value": "string"
|
|
208
|
-
}
|
|
209
|
-
},
|
|
210
|
-
"shipFromCountryCode": "string",
|
|
211
|
-
"notificationEmails": [
|
|
212
|
-
"string"
|
|
213
|
-
],
|
|
214
|
-
"featureConstraints": [
|
|
215
|
-
{
|
|
216
|
-
"featureName": "string",
|
|
217
|
-
"featureFulfillmentPolicy": "Required"
|
|
218
|
-
}
|
|
219
|
-
],
|
|
220
|
-
"items": [
|
|
221
|
-
{
|
|
222
|
-
"sellerSku": "string",
|
|
223
|
-
"sellerFulfillmentOrderItemId": "string",
|
|
224
|
-
"quantity": 0,
|
|
225
|
-
"giftMessage": "string",
|
|
226
|
-
"displayableComment": "string",
|
|
227
|
-
"fulfillmentNetworkSku": "string",
|
|
228
|
-
"perUnitDeclaredValue": {
|
|
229
|
-
"currencyCode": "string",
|
|
230
|
-
"value": "string"
|
|
231
|
-
},
|
|
232
|
-
"perUnitPrice": {
|
|
233
|
-
"currencyCode": "string",
|
|
234
|
-
"value": "string"
|
|
235
|
-
},
|
|
236
|
-
"perUnitTax": {
|
|
237
|
-
"currencyCode": "string",
|
|
238
|
-
"value": "string"
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
]
|
|
242
|
-
}
|
|
243
|
-
|
|
127
|
+
|
|
128
|
+
FulfillmentOutbound().create_fulfillment_order()
|
|
129
|
+
|
|
244
130
|
Args:
|
|
245
|
-
body:
|
|
246
|
-
|
|
247
|
-
"sellerFulfillmentOrderId": "string",
|
|
248
|
-
"displayableOrderId": "string",
|
|
249
|
-
"displayableOrderDate": "2019-08-24T14:15:22Z",
|
|
250
|
-
"displayableOrderComment": "string",
|
|
251
|
-
"shippingSpeedCategory": "Standard",
|
|
252
|
-
"deliveryWindow": {
|
|
253
|
-
"startDate": "2019-08-24T14:15:22Z",
|
|
254
|
-
"endDate": "2019-08-24T14:15:22Z"
|
|
255
|
-
},
|
|
256
|
-
"destinationAddress": {
|
|
257
|
-
"name": "string",
|
|
258
|
-
"addressLine1": "string",
|
|
259
|
-
"addressLine2": "string",
|
|
260
|
-
"addressLine3": "string",
|
|
261
|
-
"city": "string",
|
|
262
|
-
"districtOrCounty": "string",
|
|
263
|
-
"stateOrRegion": "string",
|
|
264
|
-
"postalCode": "string",
|
|
265
|
-
"countryCode": "string",
|
|
266
|
-
"phone": "string"
|
|
267
|
-
},
|
|
268
|
-
"fulfillmentAction": "Ship",
|
|
269
|
-
"fulfillmentPolicy": "FillOrKill",
|
|
270
|
-
"codSettings": {
|
|
271
|
-
"isCodRequired": true,
|
|
272
|
-
"codCharge": {
|
|
273
|
-
"currencyCode": "string",
|
|
274
|
-
"value": "string"
|
|
275
|
-
},
|
|
276
|
-
"codChargeTax": {
|
|
277
|
-
"currencyCode": "string",
|
|
278
|
-
"value": "string"
|
|
279
|
-
},
|
|
280
|
-
"shippingCharge": {
|
|
281
|
-
"currencyCode": "string",
|
|
282
|
-
"value": "string"
|
|
283
|
-
},
|
|
284
|
-
"shippingChargeTax": {
|
|
285
|
-
"currencyCode": "string",
|
|
286
|
-
"value": "string"
|
|
287
|
-
}
|
|
288
|
-
},
|
|
289
|
-
"shipFromCountryCode": "string",
|
|
290
|
-
"notificationEmails": [
|
|
291
|
-
"string"
|
|
292
|
-
],
|
|
293
|
-
"featureConstraints": [
|
|
294
|
-
{
|
|
295
|
-
"featureName": "string",
|
|
296
|
-
"featureFulfillmentPolicy": "Required"
|
|
297
|
-
}
|
|
298
|
-
],
|
|
299
|
-
"items": [
|
|
300
|
-
{
|
|
301
|
-
"sellerSku": "string",
|
|
302
|
-
"sellerFulfillmentOrderItemId": "string",
|
|
303
|
-
"quantity": 0,
|
|
304
|
-
"giftMessage": "string",
|
|
305
|
-
"displayableComment": "string",
|
|
306
|
-
"fulfillmentNetworkSku": "string",
|
|
307
|
-
"perUnitDeclaredValue": {
|
|
308
|
-
"currencyCode": "string",
|
|
309
|
-
"value": "string"
|
|
310
|
-
},
|
|
311
|
-
"perUnitPrice": {
|
|
312
|
-
"currencyCode": "string",
|
|
313
|
-
"value": "string"
|
|
314
|
-
},
|
|
315
|
-
"perUnitTax": {
|
|
316
|
-
"currencyCode": "string",
|
|
317
|
-
"value": "string"
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
]
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
|
|
131
|
+
body: CreateFulfillmentOrderRequest | required CreateFulfillmentOrderRequest parameter
|
|
132
|
+
|
|
324
133
|
Returns:
|
|
325
|
-
ApiResponse
|
|
134
|
+
ApiResponse
|
|
326
135
|
"""
|
|
327
136
|
|
|
328
137
|
return self._request(kwargs.pop("path"), data=kwargs)
|
|
@@ -331,24 +140,29 @@ class FulfillmentOutbound(Client):
|
|
|
331
140
|
def get_package_tracking_details(self, **kwargs) -> ApiResponse:
|
|
332
141
|
"""
|
|
333
142
|
get_package_tracking_details(self, **kwargs) -> ApiResponse
|
|
334
|
-
|
|
143
|
+
|
|
335
144
|
Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order.
|
|
336
|
-
|
|
145
|
+
|
|
337
146
|
**Usage Plan:**
|
|
338
|
-
|
|
147
|
+
|
|
339
148
|
====================================== ==============
|
|
340
149
|
Rate (requests per second) Burst
|
|
341
150
|
====================================== ==============
|
|
342
151
|
2 30
|
|
343
152
|
====================================== ==============
|
|
344
|
-
|
|
153
|
+
|
|
345
154
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
346
|
-
|
|
155
|
+
|
|
156
|
+
Examples:
|
|
157
|
+
literal blocks::
|
|
158
|
+
|
|
159
|
+
FulfillmentOutbound().get_package_tracking_details()
|
|
160
|
+
|
|
347
161
|
Args:
|
|
348
|
-
key packageNumber:
|
|
349
|
-
|
|
162
|
+
key packageNumber: object | required The unencrypted package identifier. You can obtain this value from the `getFulfillmentOrder` operation.
|
|
163
|
+
|
|
350
164
|
Returns:
|
|
351
|
-
ApiResponse
|
|
165
|
+
ApiResponse
|
|
352
166
|
"""
|
|
353
167
|
|
|
354
168
|
return self._request(kwargs.pop("path"), params=kwargs)
|
|
@@ -357,28 +171,32 @@ class FulfillmentOutbound(Client):
|
|
|
357
171
|
def list_return_reason_codes(self, **kwargs) -> ApiResponse:
|
|
358
172
|
"""
|
|
359
173
|
list_return_reason_codes(self, **kwargs) -> ApiResponse
|
|
360
|
-
|
|
361
|
-
Returns a list of return reason codes for a seller SKU in a given marketplace.
|
|
362
|
-
|
|
174
|
+
|
|
175
|
+
Returns a list of return reason codes for a seller SKU in a given marketplace. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).
|
|
176
|
+
|
|
363
177
|
**Usage Plan:**
|
|
364
|
-
|
|
365
|
-
|
|
178
|
+
|
|
366
179
|
====================================== ==============
|
|
367
180
|
Rate (requests per second) Burst
|
|
368
181
|
====================================== ==============
|
|
369
182
|
2 30
|
|
370
183
|
====================================== ==============
|
|
371
|
-
|
|
184
|
+
|
|
372
185
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
373
|
-
|
|
186
|
+
|
|
187
|
+
Examples:
|
|
188
|
+
literal blocks::
|
|
189
|
+
|
|
190
|
+
FulfillmentOutbound().list_return_reason_codes()
|
|
191
|
+
|
|
374
192
|
Args:
|
|
375
|
-
key sellerSku:
|
|
376
|
-
key marketplaceId:
|
|
377
|
-
key sellerFulfillmentOrderId:
|
|
378
|
-
key language:
|
|
379
|
-
|
|
193
|
+
key sellerSku: object | required The seller SKU for which return reason codes are required.
|
|
194
|
+
key marketplaceId: object | The marketplace for which the seller wants return reason codes.
|
|
195
|
+
key sellerFulfillmentOrderId: object | The identifier assigned to the item by the seller when the fulfillment order was created. The service uses this value to determine the marketplace for which the seller wants return reason codes.
|
|
196
|
+
key language: object | The language that the `TranslatedDescription` property of the `ReasonCodeDetails` response object should be translated into.
|
|
197
|
+
|
|
380
198
|
Returns:
|
|
381
|
-
ApiResponse
|
|
199
|
+
ApiResponse
|
|
382
200
|
"""
|
|
383
201
|
|
|
384
202
|
return self._request(kwargs.pop("path"), params=kwargs)
|
|
@@ -389,52 +207,30 @@ class FulfillmentOutbound(Client):
|
|
|
389
207
|
) -> ApiResponse:
|
|
390
208
|
"""
|
|
391
209
|
create_fulfillment_return(self, sellerFulfillmentOrderId, **kwargs) -> ApiResponse
|
|
392
|
-
|
|
210
|
+
|
|
393
211
|
Creates a fulfillment return.
|
|
394
|
-
|
|
212
|
+
|
|
395
213
|
**Usage Plan:**
|
|
396
|
-
|
|
397
|
-
|
|
214
|
+
|
|
398
215
|
====================================== ==============
|
|
399
216
|
Rate (requests per second) Burst
|
|
400
217
|
====================================== ==============
|
|
401
218
|
2 30
|
|
402
219
|
====================================== ==============
|
|
403
|
-
|
|
220
|
+
|
|
404
221
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
405
|
-
|
|
222
|
+
|
|
406
223
|
Examples:
|
|
407
224
|
literal blocks::
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
{
|
|
412
|
-
"sellerReturnItemId": "string",
|
|
413
|
-
"sellerFulfillmentOrderItemId": "string",
|
|
414
|
-
"amazonShipmentId": "string",
|
|
415
|
-
"returnReasonCode": "string",
|
|
416
|
-
"returnComment": "string"
|
|
417
|
-
}
|
|
418
|
-
]
|
|
419
|
-
}
|
|
420
|
-
|
|
225
|
+
|
|
226
|
+
FulfillmentOutbound().create_fulfillment_return("value")
|
|
227
|
+
|
|
421
228
|
Args:
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
"sellerFulfillmentOrderItemId": "string",
|
|
428
|
-
"amazonShipmentId": "string",
|
|
429
|
-
"returnReasonCode": "string",
|
|
430
|
-
"returnComment": "string"
|
|
431
|
-
}
|
|
432
|
-
]
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
Returns:
|
|
437
|
-
ApiResponse:
|
|
229
|
+
body: CreateFulfillmentReturnRequest | required The request body of the `createFulfillmentReturn` operation.
|
|
230
|
+
sellerFulfillmentOrderId: object | required An identifier the seller assigns to the fulfillment order at the time it was created. The seller uses their own records to find the correct `sellerFulfillmentOrderId` value based on the buyer's request to return items.
|
|
231
|
+
|
|
232
|
+
Returns:
|
|
233
|
+
ApiResponse
|
|
438
234
|
"""
|
|
439
235
|
|
|
440
236
|
return self._request(
|
|
@@ -445,24 +241,29 @@ class FulfillmentOutbound(Client):
|
|
|
445
241
|
def get_fulfillment_order(self, sellerFulfillmentOrderId, **kwargs) -> ApiResponse:
|
|
446
242
|
"""
|
|
447
243
|
get_fulfillment_order(self, sellerFulfillmentOrderId, **kwargs) -> ApiResponse
|
|
448
|
-
|
|
244
|
+
|
|
449
245
|
Returns the fulfillment order indicated by the specified order identifier.
|
|
450
|
-
|
|
246
|
+
|
|
451
247
|
**Usage Plan:**
|
|
452
|
-
|
|
248
|
+
|
|
453
249
|
====================================== ==============
|
|
454
250
|
Rate (requests per second) Burst
|
|
455
251
|
====================================== ==============
|
|
456
252
|
2 30
|
|
457
253
|
====================================== ==============
|
|
458
|
-
|
|
254
|
+
|
|
459
255
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
460
|
-
|
|
256
|
+
|
|
257
|
+
Examples:
|
|
258
|
+
literal blocks::
|
|
259
|
+
|
|
260
|
+
FulfillmentOutbound().get_fulfillment_order("value")
|
|
261
|
+
|
|
461
262
|
Args:
|
|
462
|
-
sellerFulfillmentOrderId:
|
|
463
|
-
|
|
263
|
+
sellerFulfillmentOrderId: object | required The identifier assigned to the item by the seller when the fulfillment order was created.
|
|
264
|
+
|
|
464
265
|
Returns:
|
|
465
|
-
ApiResponse
|
|
266
|
+
ApiResponse
|
|
466
267
|
"""
|
|
467
268
|
|
|
468
269
|
return self._request(
|
|
@@ -476,139 +277,58 @@ class FulfillmentOutbound(Client):
|
|
|
476
277
|
) -> ApiResponse:
|
|
477
278
|
"""
|
|
478
279
|
update_fulfillment_order(self, sellerFulfillmentOrderId, **kwargs) -> ApiResponse
|
|
479
|
-
|
|
280
|
+
|
|
480
281
|
Updates and/or requests shipment for a fulfillment order with an order hold on it.
|
|
481
|
-
|
|
282
|
+
|
|
482
283
|
**Usage Plan:**
|
|
483
|
-
|
|
484
|
-
|
|
284
|
+
|
|
485
285
|
====================================== ==============
|
|
486
286
|
Rate (requests per second) Burst
|
|
487
287
|
====================================== ==============
|
|
488
288
|
2 30
|
|
489
289
|
====================================== ==============
|
|
490
|
-
|
|
290
|
+
|
|
491
291
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
492
|
-
|
|
292
|
+
|
|
493
293
|
Examples:
|
|
494
294
|
literal blocks::
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
"displayableOrderId": "string",
|
|
499
|
-
"displayableOrderDate": "2019-08-24T14:15:22Z",
|
|
500
|
-
"displayableOrderComment": "string",
|
|
501
|
-
"shippingSpeedCategory": "Standard",
|
|
502
|
-
"destinationAddress": {
|
|
503
|
-
"name": "string",
|
|
504
|
-
"addressLine1": "string",
|
|
505
|
-
"addressLine2": "string",
|
|
506
|
-
"addressLine3": "string",
|
|
507
|
-
"city": "string",
|
|
508
|
-
"districtOrCounty": "string",
|
|
509
|
-
"stateOrRegion": "string",
|
|
510
|
-
"postalCode": "string",
|
|
511
|
-
"countryCode": "string",
|
|
512
|
-
"phone": "string"
|
|
513
|
-
},
|
|
514
|
-
"fulfillmentAction": "Ship",
|
|
515
|
-
"fulfillmentPolicy": "FillOrKill",
|
|
516
|
-
"shipFromCountryCode": "string",
|
|
517
|
-
"notificationEmails": [
|
|
518
|
-
"string"
|
|
519
|
-
],
|
|
520
|
-
"featureConstraints": [
|
|
521
|
-
{
|
|
522
|
-
"featureName": "string",
|
|
523
|
-
"featureFulfillmentPolicy": "Required"
|
|
524
|
-
}
|
|
525
|
-
],
|
|
526
|
-
"items": [
|
|
527
|
-
{
|
|
528
|
-
"sellerSku": "string",
|
|
529
|
-
"sellerFulfillmentOrderItemId": "string",
|
|
530
|
-
"quantity": 0,
|
|
531
|
-
"giftMessage": "string",
|
|
532
|
-
"displayableComment": "string",
|
|
533
|
-
"fulfillmentNetworkSku": "string",
|
|
534
|
-
"orderItemDisposition": "string",
|
|
535
|
-
"perUnitDeclaredValue": {
|
|
536
|
-
"currencyCode": "string",
|
|
537
|
-
"value": "string"
|
|
538
|
-
},
|
|
539
|
-
"perUnitPrice": {
|
|
540
|
-
"currencyCode": "string",
|
|
541
|
-
"value": "string"
|
|
542
|
-
},
|
|
543
|
-
"perUnitTax": {
|
|
544
|
-
"currencyCode": "string",
|
|
545
|
-
"value": "string"
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
]
|
|
549
|
-
}
|
|
550
|
-
|
|
295
|
+
|
|
296
|
+
FulfillmentOutbound().update_fulfillment_order("value")
|
|
297
|
+
|
|
551
298
|
Args:
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
"shippingSpeedCategory": "Standard",
|
|
559
|
-
"destinationAddress": {
|
|
560
|
-
"name": "string",
|
|
561
|
-
"addressLine1": "string",
|
|
562
|
-
"addressLine2": "string",
|
|
563
|
-
"addressLine3": "string",
|
|
564
|
-
"city": "string",
|
|
565
|
-
"districtOrCounty": "string",
|
|
566
|
-
"stateOrRegion": "string",
|
|
567
|
-
"postalCode": "string",
|
|
568
|
-
"countryCode": "string",
|
|
569
|
-
"phone": "string"
|
|
570
|
-
},
|
|
571
|
-
"fulfillmentAction": "Ship",
|
|
572
|
-
"fulfillmentPolicy": "FillOrKill",
|
|
573
|
-
"shipFromCountryCode": "string",
|
|
574
|
-
"notificationEmails": [
|
|
575
|
-
"string"
|
|
576
|
-
],
|
|
577
|
-
"featureConstraints": [
|
|
578
|
-
{
|
|
579
|
-
"featureName": "string",
|
|
580
|
-
"featureFulfillmentPolicy": "Required"
|
|
581
|
-
}
|
|
582
|
-
],
|
|
583
|
-
"items": [
|
|
584
|
-
{
|
|
585
|
-
"sellerSku": "string",
|
|
586
|
-
"sellerFulfillmentOrderItemId": "string",
|
|
587
|
-
"quantity": 0,
|
|
588
|
-
"giftMessage": "string",
|
|
589
|
-
"displayableComment": "string",
|
|
590
|
-
"fulfillmentNetworkSku": "string",
|
|
591
|
-
"orderItemDisposition": "string",
|
|
592
|
-
"perUnitDeclaredValue": {
|
|
593
|
-
"currencyCode": "string",
|
|
594
|
-
"value": "string"
|
|
595
|
-
},
|
|
596
|
-
"perUnitPrice": {
|
|
597
|
-
"currencyCode": "string",
|
|
598
|
-
"value": "string"
|
|
599
|
-
},
|
|
600
|
-
"perUnitTax": {
|
|
601
|
-
"currencyCode": "string",
|
|
602
|
-
"value": "string"
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
]
|
|
606
|
-
}
|
|
607
|
-
|
|
299
|
+
body: UpdateFulfillmentOrderRequest | required The request body of the `updateFulfillmentOrder` operation.
|
|
300
|
+
sellerFulfillmentOrderId: object | required The identifier assigned to the item by the seller when the fulfillment order was created.
|
|
301
|
+
|
|
302
|
+
Returns:
|
|
303
|
+
ApiResponse
|
|
304
|
+
"""
|
|
608
305
|
|
|
306
|
+
return self._request(
|
|
307
|
+
fill_query_params(kwargs.pop("path"), sellerFulfillmentOrderId), data=kwargs
|
|
308
|
+
)
|
|
609
309
|
|
|
310
|
+
@sp_endpoint(
|
|
311
|
+
"/fba/outbound/2020-07-01/fulfillmentOrders/{}/status", method="PUT"
|
|
312
|
+
)
|
|
313
|
+
def submit_fulfillment_order_status_update(
|
|
314
|
+
self, sellerFulfillmentOrderId, **kwargs
|
|
315
|
+
) -> ApiResponse:
|
|
316
|
+
"""
|
|
317
|
+
submit_fulfillment_order_status_update(self, sellerFulfillmentOrderId, **kwargs) -> ApiResponse
|
|
318
|
+
|
|
319
|
+
Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Fulfillment Outbound Dynamic Sandbox Guide](https://developer-docs.amazon.com/sp-api/docs/fulfillment-outbound-dynamic-sandbox-guide) and [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
|
|
320
|
+
|
|
321
|
+
Examples:
|
|
322
|
+
literal blocks::
|
|
323
|
+
|
|
324
|
+
FulfillmentOutbound().submit_fulfillment_order_status_update("value")
|
|
325
|
+
|
|
326
|
+
Args:
|
|
327
|
+
sellerFulfillmentOrderId: object | required The identifier assigned to the item by the seller when the fulfillment order was created.
|
|
328
|
+
body: SubmitFulfillmentOrderStatusUpdateRequest | required The identifier assigned to the item by the seller when the fulfillment order was created.
|
|
329
|
+
|
|
610
330
|
Returns:
|
|
611
|
-
ApiResponse
|
|
331
|
+
ApiResponse
|
|
612
332
|
"""
|
|
613
333
|
|
|
614
334
|
return self._request(
|
|
@@ -621,25 +341,29 @@ class FulfillmentOutbound(Client):
|
|
|
621
341
|
) -> ApiResponse:
|
|
622
342
|
"""
|
|
623
343
|
cancel_fulfillment_order(self, sellerFulfillmentOrderId, **kwargs) -> ApiResponse
|
|
624
|
-
|
|
344
|
+
|
|
625
345
|
Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier.
|
|
626
|
-
|
|
346
|
+
|
|
627
347
|
**Usage Plan:**
|
|
628
|
-
|
|
348
|
+
|
|
629
349
|
====================================== ==============
|
|
630
350
|
Rate (requests per second) Burst
|
|
631
351
|
====================================== ==============
|
|
632
352
|
2 30
|
|
633
353
|
====================================== ==============
|
|
634
|
-
|
|
354
|
+
|
|
635
355
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
636
|
-
|
|
356
|
+
|
|
357
|
+
Examples:
|
|
358
|
+
literal blocks::
|
|
359
|
+
|
|
360
|
+
FulfillmentOutbound().cancel_fulfillment_order("value")
|
|
361
|
+
|
|
637
362
|
Args:
|
|
638
|
-
sellerFulfillmentOrderId:
|
|
639
|
-
|
|
640
|
-
|
|
363
|
+
sellerFulfillmentOrderId: object | required The identifier assigned to the item by the seller when the fulfillment order was created.
|
|
364
|
+
|
|
641
365
|
Returns:
|
|
642
|
-
ApiResponse
|
|
366
|
+
ApiResponse
|
|
643
367
|
"""
|
|
644
368
|
|
|
645
369
|
return self._request(
|
|
@@ -650,25 +374,29 @@ class FulfillmentOutbound(Client):
|
|
|
650
374
|
def get_features(self, **kwargs) -> ApiResponse:
|
|
651
375
|
"""
|
|
652
376
|
get_features(self, **kwargs) -> ApiResponse
|
|
653
|
-
|
|
377
|
+
|
|
654
378
|
Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature.
|
|
655
|
-
|
|
379
|
+
|
|
656
380
|
**Usage Plan:**
|
|
657
|
-
|
|
658
|
-
|
|
381
|
+
|
|
659
382
|
====================================== ==============
|
|
660
383
|
Rate (requests per second) Burst
|
|
661
384
|
====================================== ==============
|
|
662
385
|
2 30
|
|
663
386
|
====================================== ==============
|
|
664
|
-
|
|
387
|
+
|
|
665
388
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
666
|
-
|
|
389
|
+
|
|
390
|
+
Examples:
|
|
391
|
+
literal blocks::
|
|
392
|
+
|
|
393
|
+
FulfillmentOutbound().get_features()
|
|
394
|
+
|
|
667
395
|
Args:
|
|
668
|
-
key marketplaceId:
|
|
669
|
-
|
|
396
|
+
key marketplaceId: object | required The marketplace for which to return the list of features.
|
|
397
|
+
|
|
670
398
|
Returns:
|
|
671
|
-
ApiResponse
|
|
399
|
+
ApiResponse
|
|
672
400
|
"""
|
|
673
401
|
|
|
674
402
|
return self._request(kwargs.pop("path"), params=kwargs)
|
|
@@ -677,57 +405,105 @@ class FulfillmentOutbound(Client):
|
|
|
677
405
|
def get_feature_inventory(self, featureName, **kwargs) -> ApiResponse:
|
|
678
406
|
"""
|
|
679
407
|
get_feature_inventory(self, featureName, **kwargs) -> ApiResponse
|
|
680
|
-
|
|
408
|
+
|
|
681
409
|
Returns a list of inventory items that are eligible for the fulfillment feature you specify.
|
|
682
|
-
|
|
410
|
+
|
|
683
411
|
**Usage Plan:**
|
|
684
|
-
|
|
412
|
+
|
|
685
413
|
====================================== ==============
|
|
686
414
|
Rate (requests per second) Burst
|
|
687
415
|
====================================== ==============
|
|
688
416
|
2 30
|
|
689
417
|
====================================== ==============
|
|
690
|
-
|
|
418
|
+
|
|
691
419
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
692
|
-
|
|
420
|
+
|
|
421
|
+
Examples:
|
|
422
|
+
literal blocks::
|
|
423
|
+
|
|
424
|
+
FulfillmentOutbound().get_feature_inventory("value")
|
|
425
|
+
|
|
693
426
|
Args:
|
|
694
|
-
key marketplaceId:
|
|
695
|
-
featureName:
|
|
696
|
-
key nextToken:
|
|
697
|
-
|
|
427
|
+
key marketplaceId: object | required The marketplace for which to return a list of the inventory that is eligible for the specified feature.
|
|
428
|
+
featureName: object | required The name of the feature for which to return a list of eligible inventory.
|
|
429
|
+
key nextToken: object | A string token returned in the response to your previous request that is used to return the next response page. A value of `null` will return the first page.
|
|
430
|
+
key queryStartDate: object | A date that you can use to select inventory that has been updated since a specified date. An update is defined as any change in feature-enabled inventory availability. The date must be in the format `yyyy-MM-ddTHH:mm:ss.sssZ`
|
|
431
|
+
|
|
698
432
|
Returns:
|
|
699
|
-
ApiResponse
|
|
433
|
+
ApiResponse
|
|
700
434
|
"""
|
|
701
435
|
|
|
702
436
|
return self._request(
|
|
703
437
|
fill_query_params(kwargs.pop("path"), featureName), params=kwargs
|
|
704
438
|
)
|
|
705
439
|
|
|
440
|
+
@sp_endpoint(
|
|
441
|
+
"/fba/outbound/2020-07-01/features/inventory/{}/{}", method="GET"
|
|
442
|
+
)
|
|
443
|
+
def get_feature_sku(self, featureName, sellerSku, **kwargs) -> ApiResponse:
|
|
444
|
+
"""
|
|
445
|
+
get_feature_sku(self, featureName, sellerSku, **kwargs) -> ApiResponse
|
|
446
|
+
|
|
447
|
+
Returns the number of items with the `sellerSku` you specify that can have orders fulfilled using the specified feature. Note that if the `sellerSku` isn't eligible, the response will contain an empty `skuInfo` object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).
|
|
448
|
+
|
|
449
|
+
**Usage Plan:**
|
|
450
|
+
|
|
451
|
+
====================================== ==============
|
|
452
|
+
Rate (requests per second) Burst
|
|
453
|
+
====================================== ==============
|
|
454
|
+
2 30
|
|
455
|
+
====================================== ==============
|
|
456
|
+
|
|
457
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
458
|
+
|
|
459
|
+
Examples:
|
|
460
|
+
literal blocks::
|
|
461
|
+
|
|
462
|
+
FulfillmentOutbound().get_feature_sku("value", "value")
|
|
463
|
+
|
|
464
|
+
Args:
|
|
465
|
+
key marketplaceId: object | required The marketplace for which to return the count.
|
|
466
|
+
featureName: object | required The name of the feature.
|
|
467
|
+
sellerSku: object | required 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.
|
|
468
|
+
|
|
469
|
+
Returns:
|
|
470
|
+
ApiResponse
|
|
471
|
+
"""
|
|
472
|
+
|
|
473
|
+
return self._request(
|
|
474
|
+
fill_query_params(kwargs.pop("path"), featureName, sellerSku), params=kwargs
|
|
475
|
+
)
|
|
476
|
+
|
|
706
477
|
@sp_endpoint("/fba/outbound/2020-07-01/features/inventory/{}", method="GET")
|
|
707
478
|
def get_feature_s_k_u(self, featureName, **kwargs) -> ApiResponse:
|
|
708
479
|
"""
|
|
709
480
|
get_feature_s_k_u(self, featureName, **kwargs) -> ApiResponse
|
|
710
|
-
|
|
711
|
-
Returns
|
|
712
|
-
|
|
481
|
+
|
|
482
|
+
Returns a list of inventory items that are eligible for the fulfillment feature you specify.
|
|
483
|
+
|
|
713
484
|
**Usage Plan:**
|
|
714
|
-
|
|
715
|
-
|
|
485
|
+
|
|
716
486
|
====================================== ==============
|
|
717
487
|
Rate (requests per second) Burst
|
|
718
488
|
====================================== ==============
|
|
719
489
|
2 30
|
|
720
490
|
====================================== ==============
|
|
721
|
-
|
|
491
|
+
|
|
722
492
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
723
|
-
|
|
493
|
+
|
|
494
|
+
Examples:
|
|
495
|
+
literal blocks::
|
|
496
|
+
|
|
497
|
+
FulfillmentOutbound().get_feature_s_k_u("value")
|
|
498
|
+
|
|
724
499
|
Args:
|
|
725
|
-
key marketplaceId:
|
|
726
|
-
featureName:
|
|
727
|
-
|
|
728
|
-
|
|
500
|
+
key marketplaceId: object | required The marketplace for which to return a list of the inventory that is eligible for the specified feature.
|
|
501
|
+
featureName: object | required The name of the feature for which to return a list of eligible inventory.
|
|
502
|
+
key nextToken: object | A string token returned in the response to your previous request that is used to return the next response page. A value of `null` will return the first page.
|
|
503
|
+
key queryStartDate: object | A date that you can use to select inventory that has been updated since a specified date. An update is defined as any change in feature-enabled inventory availability. The date must be in the format `yyyy-MM-ddTHH:mm:ss.sssZ`
|
|
504
|
+
|
|
729
505
|
Returns:
|
|
730
|
-
ApiResponse
|
|
506
|
+
ApiResponse
|
|
731
507
|
"""
|
|
732
508
|
|
|
733
509
|
return self._request(
|