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
|
@@ -16,102 +16,60 @@ class FulfillmentOutbound(AsyncBaseClient):
|
|
|
16
16
|
async def get_fulfillment_preview(self, **kwargs) -> ApiResponse:
|
|
17
17
|
"""
|
|
18
18
|
get_fulfillment_preview(self, **kwargs) -> ApiResponse
|
|
19
|
-
|
|
19
|
+
|
|
20
20
|
Returns a list of fulfillment order previews based on shipping criteria that you specify.
|
|
21
|
-
|
|
21
|
+
|
|
22
22
|
**Usage Plan:**
|
|
23
|
-
|
|
23
|
+
|
|
24
24
|
====================================== ==============
|
|
25
25
|
Rate (requests per second) Burst
|
|
26
26
|
====================================== ==============
|
|
27
27
|
2 30
|
|
28
28
|
====================================== ==============
|
|
29
|
-
|
|
29
|
+
|
|
30
30
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
31
|
-
|
|
31
|
+
|
|
32
32
|
Examples:
|
|
33
33
|
literal blocks::
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"address": {
|
|
38
|
-
"name": "string",
|
|
39
|
-
"addressLine1": "string",
|
|
40
|
-
"addressLine2": "string",
|
|
41
|
-
"addressLine3": "string",
|
|
42
|
-
"city": "string",
|
|
43
|
-
"districtOrCounty": "string",
|
|
44
|
-
"stateOrRegion": "string",
|
|
45
|
-
"postalCode": "string",
|
|
46
|
-
"countryCode": "string",
|
|
47
|
-
"phone": "string"
|
|
48
|
-
},
|
|
49
|
-
"items": [
|
|
50
|
-
{
|
|
51
|
-
"sellerSku": "string",
|
|
52
|
-
"quantity": 0,
|
|
53
|
-
"perUnitDeclaredValue": {
|
|
54
|
-
"currencyCode": "string",
|
|
55
|
-
"value": "string"
|
|
56
|
-
},
|
|
57
|
-
"sellerFulfillmentOrderItemId": "string"
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
"shippingSpeedCategories": [
|
|
61
|
-
"Standard"
|
|
62
|
-
],
|
|
63
|
-
"includeCODFulfillmentPreview": true,
|
|
64
|
-
"includeDeliveryWindows": true,
|
|
65
|
-
"featureConstraints": [
|
|
66
|
-
{
|
|
67
|
-
"featureName": "string",
|
|
68
|
-
"featureFulfillmentPolicy": "Required"
|
|
69
|
-
}
|
|
70
|
-
]
|
|
71
|
-
}
|
|
72
|
-
|
|
34
|
+
|
|
35
|
+
await FulfillmentOutbound().get_fulfillment_preview()
|
|
36
|
+
|
|
73
37
|
Args:
|
|
74
|
-
body:
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"addressLine2": "string",
|
|
80
|
-
"addressLine3": "string",
|
|
81
|
-
"city": "string",
|
|
82
|
-
"districtOrCounty": "string",
|
|
83
|
-
"stateOrRegion": "string",
|
|
84
|
-
"postalCode": "string",
|
|
85
|
-
"countryCode": "string",
|
|
86
|
-
"phone": "string"
|
|
87
|
-
},
|
|
88
|
-
"items": [
|
|
89
|
-
{
|
|
90
|
-
"sellerSku": "string",
|
|
91
|
-
"quantity": 0,
|
|
92
|
-
"perUnitDeclaredValue": {
|
|
93
|
-
"currencyCode": "string",
|
|
94
|
-
"value": "string"
|
|
95
|
-
},
|
|
96
|
-
"sellerFulfillmentOrderItemId": "string"
|
|
97
|
-
}
|
|
98
|
-
],
|
|
99
|
-
"shippingSpeedCategories": [
|
|
100
|
-
"Standard"
|
|
101
|
-
],
|
|
102
|
-
"includeCODFulfillmentPreview": true,
|
|
103
|
-
"includeDeliveryWindows": true,
|
|
104
|
-
"featureConstraints": [
|
|
105
|
-
{
|
|
106
|
-
"featureName": "string",
|
|
107
|
-
"featureFulfillmentPolicy": "Required"
|
|
108
|
-
}
|
|
109
|
-
]
|
|
110
|
-
}
|
|
38
|
+
body: GetFulfillmentPreviewRequest | required GetFulfillmentPreviewRequest parameter
|
|
39
|
+
|
|
40
|
+
Returns:
|
|
41
|
+
ApiResponse
|
|
42
|
+
"""
|
|
111
43
|
|
|
44
|
+
return await self._request(kwargs.pop("path"), data=kwargs)
|
|
112
45
|
|
|
46
|
+
@sp_endpoint("/fba/outbound/2020-07-01/deliveryOffers", method="POST")
|
|
47
|
+
async def delivery_offers(self, **kwargs) -> ApiResponse:
|
|
48
|
+
"""
|
|
49
|
+
delivery_offers(self, **kwargs) -> ApiResponse
|
|
50
|
+
|
|
51
|
+
Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify.
|
|
52
|
+
|
|
53
|
+
**Usage Plan:**
|
|
54
|
+
|
|
55
|
+
====================================== ==============
|
|
56
|
+
Rate (requests per second) Burst
|
|
57
|
+
====================================== ==============
|
|
58
|
+
5 30
|
|
59
|
+
====================================== ==============
|
|
60
|
+
|
|
61
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
62
|
+
|
|
63
|
+
Examples:
|
|
64
|
+
literal blocks::
|
|
65
|
+
|
|
66
|
+
await FulfillmentOutbound().delivery_offers()
|
|
67
|
+
|
|
68
|
+
Args:
|
|
69
|
+
body: GetDeliveryOffersRequest | required GetDeliveryOffersRequest parameter
|
|
70
|
+
|
|
113
71
|
Returns:
|
|
114
|
-
ApiResponse
|
|
72
|
+
ApiResponse
|
|
115
73
|
"""
|
|
116
74
|
|
|
117
75
|
return await self._request(kwargs.pop("path"), data=kwargs)
|
|
@@ -120,25 +78,30 @@ class FulfillmentOutbound(AsyncBaseClient):
|
|
|
120
78
|
async def list_all_fulfillment_orders(self, **kwargs) -> ApiResponse:
|
|
121
79
|
"""
|
|
122
80
|
list_all_fulfillment_orders(self, **kwargs) -> ApiResponse
|
|
123
|
-
|
|
124
|
-
Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the
|
|
125
|
-
|
|
81
|
+
|
|
82
|
+
Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter.
|
|
83
|
+
|
|
126
84
|
**Usage Plan:**
|
|
127
|
-
|
|
85
|
+
|
|
128
86
|
====================================== ==============
|
|
129
87
|
Rate (requests per second) Burst
|
|
130
88
|
====================================== ==============
|
|
131
89
|
2 30
|
|
132
90
|
====================================== ==============
|
|
133
|
-
|
|
91
|
+
|
|
134
92
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
135
|
-
|
|
93
|
+
|
|
94
|
+
Examples:
|
|
95
|
+
literal blocks::
|
|
96
|
+
|
|
97
|
+
await FulfillmentOutbound().list_all_fulfillment_orders()
|
|
98
|
+
|
|
136
99
|
Args:
|
|
137
|
-
key queryStartDate:
|
|
138
|
-
key nextToken:
|
|
139
|
-
|
|
100
|
+
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.
|
|
101
|
+
key nextToken: object | A string token returned in the response to your previous request.
|
|
102
|
+
|
|
140
103
|
Returns:
|
|
141
|
-
ApiResponse
|
|
104
|
+
ApiResponse
|
|
142
105
|
"""
|
|
143
106
|
|
|
144
107
|
return await self._request(kwargs.pop("path"), params=kwargs)
|
|
@@ -147,183 +110,29 @@ class FulfillmentOutbound(AsyncBaseClient):
|
|
|
147
110
|
async def create_fulfillment_order(self, **kwargs) -> ApiResponse:
|
|
148
111
|
"""
|
|
149
112
|
create_fulfillment_order(self, **kwargs) -> ApiResponse
|
|
150
|
-
|
|
113
|
+
|
|
151
114
|
Requests that Amazon ship items from the seller's inventory in Amazon's fulfillment network to a destination address.
|
|
152
|
-
|
|
115
|
+
|
|
153
116
|
**Usage Plan:**
|
|
154
|
-
|
|
155
|
-
|
|
117
|
+
|
|
156
118
|
====================================== ==============
|
|
157
119
|
Rate (requests per second) Burst
|
|
158
120
|
====================================== ==============
|
|
159
121
|
2 30
|
|
160
122
|
====================================== ==============
|
|
161
|
-
|
|
123
|
+
|
|
162
124
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
163
|
-
|
|
125
|
+
|
|
164
126
|
Examples:
|
|
165
127
|
literal blocks::
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
"sellerFulfillmentOrderId": "string",
|
|
170
|
-
"displayableOrderId": "string",
|
|
171
|
-
"displayableOrderDate": "2019-08-24T14:15:22Z",
|
|
172
|
-
"displayableOrderComment": "string",
|
|
173
|
-
"shippingSpeedCategory": "Standard",
|
|
174
|
-
"deliveryWindow": {
|
|
175
|
-
"startDate": "2019-08-24T14:15:22Z",
|
|
176
|
-
"endDate": "2019-08-24T14:15:22Z"
|
|
177
|
-
},
|
|
178
|
-
"destinationAddress": {
|
|
179
|
-
"name": "string",
|
|
180
|
-
"addressLine1": "string",
|
|
181
|
-
"addressLine2": "string",
|
|
182
|
-
"addressLine3": "string",
|
|
183
|
-
"city": "string",
|
|
184
|
-
"districtOrCounty": "string",
|
|
185
|
-
"stateOrRegion": "string",
|
|
186
|
-
"postalCode": "string",
|
|
187
|
-
"countryCode": "string",
|
|
188
|
-
"phone": "string"
|
|
189
|
-
},
|
|
190
|
-
"fulfillmentAction": "Ship",
|
|
191
|
-
"fulfillmentPolicy": "FillOrKill",
|
|
192
|
-
"codSettings": {
|
|
193
|
-
"isCodRequired": true,
|
|
194
|
-
"codCharge": {
|
|
195
|
-
"currencyCode": "string",
|
|
196
|
-
"value": "string"
|
|
197
|
-
},
|
|
198
|
-
"codChargeTax": {
|
|
199
|
-
"currencyCode": "string",
|
|
200
|
-
"value": "string"
|
|
201
|
-
},
|
|
202
|
-
"shippingCharge": {
|
|
203
|
-
"currencyCode": "string",
|
|
204
|
-
"value": "string"
|
|
205
|
-
},
|
|
206
|
-
"shippingChargeTax": {
|
|
207
|
-
"currencyCode": "string",
|
|
208
|
-
"value": "string"
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
"shipFromCountryCode": "string",
|
|
212
|
-
"notificationEmails": [
|
|
213
|
-
"string"
|
|
214
|
-
],
|
|
215
|
-
"featureConstraints": [
|
|
216
|
-
{
|
|
217
|
-
"featureName": "string",
|
|
218
|
-
"featureFulfillmentPolicy": "Required"
|
|
219
|
-
}
|
|
220
|
-
],
|
|
221
|
-
"items": [
|
|
222
|
-
{
|
|
223
|
-
"sellerSku": "string",
|
|
224
|
-
"sellerFulfillmentOrderItemId": "string",
|
|
225
|
-
"quantity": 0,
|
|
226
|
-
"giftMessage": "string",
|
|
227
|
-
"displayableComment": "string",
|
|
228
|
-
"fulfillmentNetworkSku": "string",
|
|
229
|
-
"perUnitDeclaredValue": {
|
|
230
|
-
"currencyCode": "string",
|
|
231
|
-
"value": "string"
|
|
232
|
-
},
|
|
233
|
-
"perUnitPrice": {
|
|
234
|
-
"currencyCode": "string",
|
|
235
|
-
"value": "string"
|
|
236
|
-
},
|
|
237
|
-
"perUnitTax": {
|
|
238
|
-
"currencyCode": "string",
|
|
239
|
-
"value": "string"
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
]
|
|
243
|
-
}
|
|
244
|
-
|
|
128
|
+
|
|
129
|
+
await FulfillmentOutbound().create_fulfillment_order()
|
|
130
|
+
|
|
245
131
|
Args:
|
|
246
|
-
body:
|
|
247
|
-
|
|
248
|
-
"sellerFulfillmentOrderId": "string",
|
|
249
|
-
"displayableOrderId": "string",
|
|
250
|
-
"displayableOrderDate": "2019-08-24T14:15:22Z",
|
|
251
|
-
"displayableOrderComment": "string",
|
|
252
|
-
"shippingSpeedCategory": "Standard",
|
|
253
|
-
"deliveryWindow": {
|
|
254
|
-
"startDate": "2019-08-24T14:15:22Z",
|
|
255
|
-
"endDate": "2019-08-24T14:15:22Z"
|
|
256
|
-
},
|
|
257
|
-
"destinationAddress": {
|
|
258
|
-
"name": "string",
|
|
259
|
-
"addressLine1": "string",
|
|
260
|
-
"addressLine2": "string",
|
|
261
|
-
"addressLine3": "string",
|
|
262
|
-
"city": "string",
|
|
263
|
-
"districtOrCounty": "string",
|
|
264
|
-
"stateOrRegion": "string",
|
|
265
|
-
"postalCode": "string",
|
|
266
|
-
"countryCode": "string",
|
|
267
|
-
"phone": "string"
|
|
268
|
-
},
|
|
269
|
-
"fulfillmentAction": "Ship",
|
|
270
|
-
"fulfillmentPolicy": "FillOrKill",
|
|
271
|
-
"codSettings": {
|
|
272
|
-
"isCodRequired": true,
|
|
273
|
-
"codCharge": {
|
|
274
|
-
"currencyCode": "string",
|
|
275
|
-
"value": "string"
|
|
276
|
-
},
|
|
277
|
-
"codChargeTax": {
|
|
278
|
-
"currencyCode": "string",
|
|
279
|
-
"value": "string"
|
|
280
|
-
},
|
|
281
|
-
"shippingCharge": {
|
|
282
|
-
"currencyCode": "string",
|
|
283
|
-
"value": "string"
|
|
284
|
-
},
|
|
285
|
-
"shippingChargeTax": {
|
|
286
|
-
"currencyCode": "string",
|
|
287
|
-
"value": "string"
|
|
288
|
-
}
|
|
289
|
-
},
|
|
290
|
-
"shipFromCountryCode": "string",
|
|
291
|
-
"notificationEmails": [
|
|
292
|
-
"string"
|
|
293
|
-
],
|
|
294
|
-
"featureConstraints": [
|
|
295
|
-
{
|
|
296
|
-
"featureName": "string",
|
|
297
|
-
"featureFulfillmentPolicy": "Required"
|
|
298
|
-
}
|
|
299
|
-
],
|
|
300
|
-
"items": [
|
|
301
|
-
{
|
|
302
|
-
"sellerSku": "string",
|
|
303
|
-
"sellerFulfillmentOrderItemId": "string",
|
|
304
|
-
"quantity": 0,
|
|
305
|
-
"giftMessage": "string",
|
|
306
|
-
"displayableComment": "string",
|
|
307
|
-
"fulfillmentNetworkSku": "string",
|
|
308
|
-
"perUnitDeclaredValue": {
|
|
309
|
-
"currencyCode": "string",
|
|
310
|
-
"value": "string"
|
|
311
|
-
},
|
|
312
|
-
"perUnitPrice": {
|
|
313
|
-
"currencyCode": "string",
|
|
314
|
-
"value": "string"
|
|
315
|
-
},
|
|
316
|
-
"perUnitTax": {
|
|
317
|
-
"currencyCode": "string",
|
|
318
|
-
"value": "string"
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
]
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
|
|
132
|
+
body: CreateFulfillmentOrderRequest | required CreateFulfillmentOrderRequest parameter
|
|
133
|
+
|
|
325
134
|
Returns:
|
|
326
|
-
ApiResponse
|
|
135
|
+
ApiResponse
|
|
327
136
|
"""
|
|
328
137
|
|
|
329
138
|
return await self._request(kwargs.pop("path"), data=kwargs)
|
|
@@ -332,24 +141,29 @@ class FulfillmentOutbound(AsyncBaseClient):
|
|
|
332
141
|
async def get_package_tracking_details(self, **kwargs) -> ApiResponse:
|
|
333
142
|
"""
|
|
334
143
|
get_package_tracking_details(self, **kwargs) -> ApiResponse
|
|
335
|
-
|
|
144
|
+
|
|
336
145
|
Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order.
|
|
337
|
-
|
|
146
|
+
|
|
338
147
|
**Usage Plan:**
|
|
339
|
-
|
|
148
|
+
|
|
340
149
|
====================================== ==============
|
|
341
150
|
Rate (requests per second) Burst
|
|
342
151
|
====================================== ==============
|
|
343
152
|
2 30
|
|
344
153
|
====================================== ==============
|
|
345
|
-
|
|
154
|
+
|
|
346
155
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
347
|
-
|
|
156
|
+
|
|
157
|
+
Examples:
|
|
158
|
+
literal blocks::
|
|
159
|
+
|
|
160
|
+
await FulfillmentOutbound().get_package_tracking_details()
|
|
161
|
+
|
|
348
162
|
Args:
|
|
349
|
-
key packageNumber:
|
|
350
|
-
|
|
163
|
+
key packageNumber: object | required The unencrypted package identifier. You can obtain this value from the `getFulfillmentOrder` operation.
|
|
164
|
+
|
|
351
165
|
Returns:
|
|
352
|
-
ApiResponse
|
|
166
|
+
ApiResponse
|
|
353
167
|
"""
|
|
354
168
|
|
|
355
169
|
return await self._request(kwargs.pop("path"), params=kwargs)
|
|
@@ -358,28 +172,32 @@ class FulfillmentOutbound(AsyncBaseClient):
|
|
|
358
172
|
async def list_return_reason_codes(self, **kwargs) -> ApiResponse:
|
|
359
173
|
"""
|
|
360
174
|
list_return_reason_codes(self, **kwargs) -> ApiResponse
|
|
361
|
-
|
|
362
|
-
Returns a list of return reason codes for a seller SKU in a given marketplace.
|
|
363
|
-
|
|
175
|
+
|
|
176
|
+
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).
|
|
177
|
+
|
|
364
178
|
**Usage Plan:**
|
|
365
|
-
|
|
366
|
-
|
|
179
|
+
|
|
367
180
|
====================================== ==============
|
|
368
181
|
Rate (requests per second) Burst
|
|
369
182
|
====================================== ==============
|
|
370
183
|
2 30
|
|
371
184
|
====================================== ==============
|
|
372
|
-
|
|
185
|
+
|
|
373
186
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
374
|
-
|
|
187
|
+
|
|
188
|
+
Examples:
|
|
189
|
+
literal blocks::
|
|
190
|
+
|
|
191
|
+
await FulfillmentOutbound().list_return_reason_codes()
|
|
192
|
+
|
|
375
193
|
Args:
|
|
376
|
-
key sellerSku:
|
|
377
|
-
key marketplaceId:
|
|
378
|
-
key sellerFulfillmentOrderId:
|
|
379
|
-
key language:
|
|
380
|
-
|
|
194
|
+
key sellerSku: object | required The seller SKU for which return reason codes are required.
|
|
195
|
+
key marketplaceId: object | The marketplace for which the seller wants return reason codes.
|
|
196
|
+
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.
|
|
197
|
+
key language: object | The language that the `TranslatedDescription` property of the `ReasonCodeDetails` response object should be translated into.
|
|
198
|
+
|
|
381
199
|
Returns:
|
|
382
|
-
ApiResponse
|
|
200
|
+
ApiResponse
|
|
383
201
|
"""
|
|
384
202
|
|
|
385
203
|
return await self._request(kwargs.pop("path"), params=kwargs)
|
|
@@ -390,52 +208,30 @@ class FulfillmentOutbound(AsyncBaseClient):
|
|
|
390
208
|
) -> ApiResponse:
|
|
391
209
|
"""
|
|
392
210
|
create_fulfillment_return(self, sellerFulfillmentOrderId, **kwargs) -> ApiResponse
|
|
393
|
-
|
|
211
|
+
|
|
394
212
|
Creates a fulfillment return.
|
|
395
|
-
|
|
213
|
+
|
|
396
214
|
**Usage Plan:**
|
|
397
|
-
|
|
398
|
-
|
|
215
|
+
|
|
399
216
|
====================================== ==============
|
|
400
217
|
Rate (requests per second) Burst
|
|
401
218
|
====================================== ==============
|
|
402
219
|
2 30
|
|
403
220
|
====================================== ==============
|
|
404
|
-
|
|
221
|
+
|
|
405
222
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
406
|
-
|
|
223
|
+
|
|
407
224
|
Examples:
|
|
408
225
|
literal blocks::
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
{
|
|
413
|
-
"sellerReturnItemId": "string",
|
|
414
|
-
"sellerFulfillmentOrderItemId": "string",
|
|
415
|
-
"amazonShipmentId": "string",
|
|
416
|
-
"returnReasonCode": "string",
|
|
417
|
-
"returnComment": "string"
|
|
418
|
-
}
|
|
419
|
-
]
|
|
420
|
-
}
|
|
421
|
-
|
|
226
|
+
|
|
227
|
+
await FulfillmentOutbound().create_fulfillment_return("value")
|
|
228
|
+
|
|
422
229
|
Args:
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
"sellerFulfillmentOrderItemId": "string",
|
|
429
|
-
"amazonShipmentId": "string",
|
|
430
|
-
"returnReasonCode": "string",
|
|
431
|
-
"returnComment": "string"
|
|
432
|
-
}
|
|
433
|
-
]
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
Returns:
|
|
438
|
-
ApiResponse:
|
|
230
|
+
body: CreateFulfillmentReturnRequest | required The request body of the `createFulfillmentReturn` operation.
|
|
231
|
+
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.
|
|
232
|
+
|
|
233
|
+
Returns:
|
|
234
|
+
ApiResponse
|
|
439
235
|
"""
|
|
440
236
|
|
|
441
237
|
return await self._request(
|
|
@@ -446,24 +242,29 @@ class FulfillmentOutbound(AsyncBaseClient):
|
|
|
446
242
|
async def get_fulfillment_order(self, sellerFulfillmentOrderId, **kwargs) -> ApiResponse:
|
|
447
243
|
"""
|
|
448
244
|
get_fulfillment_order(self, sellerFulfillmentOrderId, **kwargs) -> ApiResponse
|
|
449
|
-
|
|
245
|
+
|
|
450
246
|
Returns the fulfillment order indicated by the specified order identifier.
|
|
451
|
-
|
|
247
|
+
|
|
452
248
|
**Usage Plan:**
|
|
453
|
-
|
|
249
|
+
|
|
454
250
|
====================================== ==============
|
|
455
251
|
Rate (requests per second) Burst
|
|
456
252
|
====================================== ==============
|
|
457
253
|
2 30
|
|
458
254
|
====================================== ==============
|
|
459
|
-
|
|
255
|
+
|
|
460
256
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
461
|
-
|
|
257
|
+
|
|
258
|
+
Examples:
|
|
259
|
+
literal blocks::
|
|
260
|
+
|
|
261
|
+
await FulfillmentOutbound().get_fulfillment_order("value")
|
|
262
|
+
|
|
462
263
|
Args:
|
|
463
|
-
sellerFulfillmentOrderId:
|
|
464
|
-
|
|
264
|
+
sellerFulfillmentOrderId: object | required The identifier assigned to the item by the seller when the fulfillment order was created.
|
|
265
|
+
|
|
465
266
|
Returns:
|
|
466
|
-
ApiResponse
|
|
267
|
+
ApiResponse
|
|
467
268
|
"""
|
|
468
269
|
|
|
469
270
|
return await self._request(
|
|
@@ -477,139 +278,58 @@ class FulfillmentOutbound(AsyncBaseClient):
|
|
|
477
278
|
) -> ApiResponse:
|
|
478
279
|
"""
|
|
479
280
|
update_fulfillment_order(self, sellerFulfillmentOrderId, **kwargs) -> ApiResponse
|
|
480
|
-
|
|
281
|
+
|
|
481
282
|
Updates and/or requests shipment for a fulfillment order with an order hold on it.
|
|
482
|
-
|
|
283
|
+
|
|
483
284
|
**Usage Plan:**
|
|
484
|
-
|
|
485
|
-
|
|
285
|
+
|
|
486
286
|
====================================== ==============
|
|
487
287
|
Rate (requests per second) Burst
|
|
488
288
|
====================================== ==============
|
|
489
289
|
2 30
|
|
490
290
|
====================================== ==============
|
|
491
|
-
|
|
291
|
+
|
|
492
292
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
493
|
-
|
|
293
|
+
|
|
494
294
|
Examples:
|
|
495
295
|
literal blocks::
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
"displayableOrderId": "string",
|
|
500
|
-
"displayableOrderDate": "2019-08-24T14:15:22Z",
|
|
501
|
-
"displayableOrderComment": "string",
|
|
502
|
-
"shippingSpeedCategory": "Standard",
|
|
503
|
-
"destinationAddress": {
|
|
504
|
-
"name": "string",
|
|
505
|
-
"addressLine1": "string",
|
|
506
|
-
"addressLine2": "string",
|
|
507
|
-
"addressLine3": "string",
|
|
508
|
-
"city": "string",
|
|
509
|
-
"districtOrCounty": "string",
|
|
510
|
-
"stateOrRegion": "string",
|
|
511
|
-
"postalCode": "string",
|
|
512
|
-
"countryCode": "string",
|
|
513
|
-
"phone": "string"
|
|
514
|
-
},
|
|
515
|
-
"fulfillmentAction": "Ship",
|
|
516
|
-
"fulfillmentPolicy": "FillOrKill",
|
|
517
|
-
"shipFromCountryCode": "string",
|
|
518
|
-
"notificationEmails": [
|
|
519
|
-
"string"
|
|
520
|
-
],
|
|
521
|
-
"featureConstraints": [
|
|
522
|
-
{
|
|
523
|
-
"featureName": "string",
|
|
524
|
-
"featureFulfillmentPolicy": "Required"
|
|
525
|
-
}
|
|
526
|
-
],
|
|
527
|
-
"items": [
|
|
528
|
-
{
|
|
529
|
-
"sellerSku": "string",
|
|
530
|
-
"sellerFulfillmentOrderItemId": "string",
|
|
531
|
-
"quantity": 0,
|
|
532
|
-
"giftMessage": "string",
|
|
533
|
-
"displayableComment": "string",
|
|
534
|
-
"fulfillmentNetworkSku": "string",
|
|
535
|
-
"orderItemDisposition": "string",
|
|
536
|
-
"perUnitDeclaredValue": {
|
|
537
|
-
"currencyCode": "string",
|
|
538
|
-
"value": "string"
|
|
539
|
-
},
|
|
540
|
-
"perUnitPrice": {
|
|
541
|
-
"currencyCode": "string",
|
|
542
|
-
"value": "string"
|
|
543
|
-
},
|
|
544
|
-
"perUnitTax": {
|
|
545
|
-
"currencyCode": "string",
|
|
546
|
-
"value": "string"
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
]
|
|
550
|
-
}
|
|
551
|
-
|
|
296
|
+
|
|
297
|
+
await FulfillmentOutbound().update_fulfillment_order("value")
|
|
298
|
+
|
|
552
299
|
Args:
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
"shippingSpeedCategory": "Standard",
|
|
560
|
-
"destinationAddress": {
|
|
561
|
-
"name": "string",
|
|
562
|
-
"addressLine1": "string",
|
|
563
|
-
"addressLine2": "string",
|
|
564
|
-
"addressLine3": "string",
|
|
565
|
-
"city": "string",
|
|
566
|
-
"districtOrCounty": "string",
|
|
567
|
-
"stateOrRegion": "string",
|
|
568
|
-
"postalCode": "string",
|
|
569
|
-
"countryCode": "string",
|
|
570
|
-
"phone": "string"
|
|
571
|
-
},
|
|
572
|
-
"fulfillmentAction": "Ship",
|
|
573
|
-
"fulfillmentPolicy": "FillOrKill",
|
|
574
|
-
"shipFromCountryCode": "string",
|
|
575
|
-
"notificationEmails": [
|
|
576
|
-
"string"
|
|
577
|
-
],
|
|
578
|
-
"featureConstraints": [
|
|
579
|
-
{
|
|
580
|
-
"featureName": "string",
|
|
581
|
-
"featureFulfillmentPolicy": "Required"
|
|
582
|
-
}
|
|
583
|
-
],
|
|
584
|
-
"items": [
|
|
585
|
-
{
|
|
586
|
-
"sellerSku": "string",
|
|
587
|
-
"sellerFulfillmentOrderItemId": "string",
|
|
588
|
-
"quantity": 0,
|
|
589
|
-
"giftMessage": "string",
|
|
590
|
-
"displayableComment": "string",
|
|
591
|
-
"fulfillmentNetworkSku": "string",
|
|
592
|
-
"orderItemDisposition": "string",
|
|
593
|
-
"perUnitDeclaredValue": {
|
|
594
|
-
"currencyCode": "string",
|
|
595
|
-
"value": "string"
|
|
596
|
-
},
|
|
597
|
-
"perUnitPrice": {
|
|
598
|
-
"currencyCode": "string",
|
|
599
|
-
"value": "string"
|
|
600
|
-
},
|
|
601
|
-
"perUnitTax": {
|
|
602
|
-
"currencyCode": "string",
|
|
603
|
-
"value": "string"
|
|
604
|
-
}
|
|
605
|
-
}
|
|
606
|
-
]
|
|
607
|
-
}
|
|
608
|
-
|
|
300
|
+
body: UpdateFulfillmentOrderRequest | required The request body of the `updateFulfillmentOrder` operation.
|
|
301
|
+
sellerFulfillmentOrderId: object | required The identifier assigned to the item by the seller when the fulfillment order was created.
|
|
302
|
+
|
|
303
|
+
Returns:
|
|
304
|
+
ApiResponse
|
|
305
|
+
"""
|
|
609
306
|
|
|
307
|
+
return await self._request(
|
|
308
|
+
fill_query_params(kwargs.pop("path"), sellerFulfillmentOrderId), data=kwargs
|
|
309
|
+
)
|
|
610
310
|
|
|
311
|
+
@sp_endpoint(
|
|
312
|
+
"/fba/outbound/2020-07-01/fulfillmentOrders/{}/status", method="PUT"
|
|
313
|
+
)
|
|
314
|
+
async def submit_fulfillment_order_status_update(
|
|
315
|
+
self, sellerFulfillmentOrderId, **kwargs
|
|
316
|
+
) -> ApiResponse:
|
|
317
|
+
"""
|
|
318
|
+
submit_fulfillment_order_status_update(self, sellerFulfillmentOrderId, **kwargs) -> ApiResponse
|
|
319
|
+
|
|
320
|
+
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.
|
|
321
|
+
|
|
322
|
+
Examples:
|
|
323
|
+
literal blocks::
|
|
324
|
+
|
|
325
|
+
await FulfillmentOutbound().submit_fulfillment_order_status_update("value")
|
|
326
|
+
|
|
327
|
+
Args:
|
|
328
|
+
sellerFulfillmentOrderId: object | required The identifier assigned to the item by the seller when the fulfillment order was created.
|
|
329
|
+
body: SubmitFulfillmentOrderStatusUpdateRequest | required The identifier assigned to the item by the seller when the fulfillment order was created.
|
|
330
|
+
|
|
611
331
|
Returns:
|
|
612
|
-
ApiResponse
|
|
332
|
+
ApiResponse
|
|
613
333
|
"""
|
|
614
334
|
|
|
615
335
|
return await self._request(
|
|
@@ -622,25 +342,29 @@ class FulfillmentOutbound(AsyncBaseClient):
|
|
|
622
342
|
) -> ApiResponse:
|
|
623
343
|
"""
|
|
624
344
|
cancel_fulfillment_order(self, sellerFulfillmentOrderId, **kwargs) -> ApiResponse
|
|
625
|
-
|
|
345
|
+
|
|
626
346
|
Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier.
|
|
627
|
-
|
|
347
|
+
|
|
628
348
|
**Usage Plan:**
|
|
629
|
-
|
|
349
|
+
|
|
630
350
|
====================================== ==============
|
|
631
351
|
Rate (requests per second) Burst
|
|
632
352
|
====================================== ==============
|
|
633
353
|
2 30
|
|
634
354
|
====================================== ==============
|
|
635
|
-
|
|
355
|
+
|
|
636
356
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
637
|
-
|
|
357
|
+
|
|
358
|
+
Examples:
|
|
359
|
+
literal blocks::
|
|
360
|
+
|
|
361
|
+
await FulfillmentOutbound().cancel_fulfillment_order("value")
|
|
362
|
+
|
|
638
363
|
Args:
|
|
639
|
-
sellerFulfillmentOrderId:
|
|
640
|
-
|
|
641
|
-
|
|
364
|
+
sellerFulfillmentOrderId: object | required The identifier assigned to the item by the seller when the fulfillment order was created.
|
|
365
|
+
|
|
642
366
|
Returns:
|
|
643
|
-
ApiResponse
|
|
367
|
+
ApiResponse
|
|
644
368
|
"""
|
|
645
369
|
|
|
646
370
|
return await self._request(
|
|
@@ -651,25 +375,29 @@ class FulfillmentOutbound(AsyncBaseClient):
|
|
|
651
375
|
async def get_features(self, **kwargs) -> ApiResponse:
|
|
652
376
|
"""
|
|
653
377
|
get_features(self, **kwargs) -> ApiResponse
|
|
654
|
-
|
|
378
|
+
|
|
655
379
|
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.
|
|
656
|
-
|
|
380
|
+
|
|
657
381
|
**Usage Plan:**
|
|
658
|
-
|
|
659
|
-
|
|
382
|
+
|
|
660
383
|
====================================== ==============
|
|
661
384
|
Rate (requests per second) Burst
|
|
662
385
|
====================================== ==============
|
|
663
386
|
2 30
|
|
664
387
|
====================================== ==============
|
|
665
|
-
|
|
388
|
+
|
|
666
389
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
667
|
-
|
|
390
|
+
|
|
391
|
+
Examples:
|
|
392
|
+
literal blocks::
|
|
393
|
+
|
|
394
|
+
await FulfillmentOutbound().get_features()
|
|
395
|
+
|
|
668
396
|
Args:
|
|
669
|
-
key marketplaceId:
|
|
670
|
-
|
|
397
|
+
key marketplaceId: object | required The marketplace for which to return the list of features.
|
|
398
|
+
|
|
671
399
|
Returns:
|
|
672
|
-
ApiResponse
|
|
400
|
+
ApiResponse
|
|
673
401
|
"""
|
|
674
402
|
|
|
675
403
|
return await self._request(kwargs.pop("path"), params=kwargs)
|
|
@@ -678,59 +406,107 @@ class FulfillmentOutbound(AsyncBaseClient):
|
|
|
678
406
|
async def get_feature_inventory(self, featureName, **kwargs) -> ApiResponse:
|
|
679
407
|
"""
|
|
680
408
|
get_feature_inventory(self, featureName, **kwargs) -> ApiResponse
|
|
681
|
-
|
|
409
|
+
|
|
682
410
|
Returns a list of inventory items that are eligible for the fulfillment feature you specify.
|
|
683
|
-
|
|
411
|
+
|
|
684
412
|
**Usage Plan:**
|
|
685
|
-
|
|
413
|
+
|
|
686
414
|
====================================== ==============
|
|
687
415
|
Rate (requests per second) Burst
|
|
688
416
|
====================================== ==============
|
|
689
417
|
2 30
|
|
690
418
|
====================================== ==============
|
|
691
|
-
|
|
419
|
+
|
|
692
420
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
693
|
-
|
|
421
|
+
|
|
422
|
+
Examples:
|
|
423
|
+
literal blocks::
|
|
424
|
+
|
|
425
|
+
await FulfillmentOutbound().get_feature_inventory("value")
|
|
426
|
+
|
|
694
427
|
Args:
|
|
695
|
-
key marketplaceId:
|
|
696
|
-
featureName:
|
|
697
|
-
key nextToken:
|
|
698
|
-
|
|
428
|
+
key marketplaceId: object | required The marketplace for which to return a list of the inventory that is eligible for the specified feature.
|
|
429
|
+
featureName: object | required The name of the feature for which to return a list of eligible inventory.
|
|
430
|
+
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.
|
|
431
|
+
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`
|
|
432
|
+
|
|
699
433
|
Returns:
|
|
700
|
-
ApiResponse
|
|
434
|
+
ApiResponse
|
|
701
435
|
"""
|
|
702
436
|
|
|
703
437
|
return await self._request(
|
|
704
438
|
fill_query_params(kwargs.pop("path"), featureName), params=kwargs
|
|
705
439
|
)
|
|
706
440
|
|
|
441
|
+
@sp_endpoint(
|
|
442
|
+
"/fba/outbound/2020-07-01/features/inventory/{}/{}", method="GET"
|
|
443
|
+
)
|
|
444
|
+
async def get_feature_sku(self, featureName, sellerSku, **kwargs) -> ApiResponse:
|
|
445
|
+
"""
|
|
446
|
+
get_feature_sku(self, featureName, sellerSku, **kwargs) -> ApiResponse
|
|
447
|
+
|
|
448
|
+
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).
|
|
449
|
+
|
|
450
|
+
**Usage Plan:**
|
|
451
|
+
|
|
452
|
+
====================================== ==============
|
|
453
|
+
Rate (requests per second) Burst
|
|
454
|
+
====================================== ==============
|
|
455
|
+
2 30
|
|
456
|
+
====================================== ==============
|
|
457
|
+
|
|
458
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
459
|
+
|
|
460
|
+
Examples:
|
|
461
|
+
literal blocks::
|
|
462
|
+
|
|
463
|
+
await FulfillmentOutbound().get_feature_sku("value", "value")
|
|
464
|
+
|
|
465
|
+
Args:
|
|
466
|
+
key marketplaceId: object | required The marketplace for which to return the count.
|
|
467
|
+
featureName: object | required The name of the feature.
|
|
468
|
+
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.
|
|
469
|
+
|
|
470
|
+
Returns:
|
|
471
|
+
ApiResponse
|
|
472
|
+
"""
|
|
473
|
+
|
|
474
|
+
return await self._request(
|
|
475
|
+
fill_query_params(kwargs.pop("path"), featureName, sellerSku), params=kwargs
|
|
476
|
+
)
|
|
477
|
+
|
|
707
478
|
@sp_endpoint("/fba/outbound/2020-07-01/features/inventory/{}", method="GET")
|
|
708
479
|
async def get_feature_s_k_u(self, featureName, **kwargs) -> ApiResponse:
|
|
709
480
|
"""
|
|
710
481
|
get_feature_s_k_u(self, featureName, **kwargs) -> ApiResponse
|
|
711
|
-
|
|
712
|
-
Returns
|
|
713
|
-
|
|
482
|
+
|
|
483
|
+
Returns a list of inventory items that are eligible for the fulfillment feature you specify.
|
|
484
|
+
|
|
714
485
|
**Usage Plan:**
|
|
715
|
-
|
|
716
|
-
|
|
486
|
+
|
|
717
487
|
====================================== ==============
|
|
718
488
|
Rate (requests per second) Burst
|
|
719
489
|
====================================== ==============
|
|
720
490
|
2 30
|
|
721
491
|
====================================== ==============
|
|
722
|
-
|
|
492
|
+
|
|
723
493
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
724
|
-
|
|
494
|
+
|
|
495
|
+
Examples:
|
|
496
|
+
literal blocks::
|
|
497
|
+
|
|
498
|
+
await FulfillmentOutbound().get_feature_s_k_u("value")
|
|
499
|
+
|
|
725
500
|
Args:
|
|
726
|
-
key marketplaceId:
|
|
727
|
-
featureName:
|
|
728
|
-
|
|
729
|
-
|
|
501
|
+
key marketplaceId: object | required The marketplace for which to return a list of the inventory that is eligible for the specified feature.
|
|
502
|
+
featureName: object | required The name of the feature for which to return a list of eligible inventory.
|
|
503
|
+
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.
|
|
504
|
+
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`
|
|
505
|
+
|
|
730
506
|
Returns:
|
|
731
|
-
ApiResponse
|
|
507
|
+
ApiResponse
|
|
732
508
|
"""
|
|
733
509
|
|
|
734
510
|
return await self._request(
|
|
735
511
|
fill_query_params(kwargs.pop("path"), featureName), params=kwargs
|
|
736
|
-
)
|
|
512
|
+
)
|