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
|
@@ -17,31 +17,33 @@ class EasyShip(AsyncBaseClient):
|
|
|
17
17
|
async def list_handover_slots(self, **kwargs) -> ApiResponse:
|
|
18
18
|
"""
|
|
19
19
|
list_handover_slots(self, **kwargs) -> ApiResponse
|
|
20
|
-
|
|
20
|
+
|
|
21
21
|
Returns time slots available for Easy Ship orders to be scheduled based on the package weight and dimensions that the seller specifies.
|
|
22
|
-
|
|
23
|
-
This operation is available for scheduled and unscheduled orders based on marketplace support. See **Get Time Slots** in the [Marketplace Support Table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table).
|
|
24
|
-
|
|
25
|
-
This operation can return time slots that have either pickup or drop-off handover methods - see **Supported Handover Methods** in the [Marketplace Support Table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table).
|
|
26
|
-
|
|
27
|
-
**Usage Plan:**
|
|
28
|
-
|
|
29
|
-
| Rate (requests per second) | Burst |
|
|
30
|
-
| ---- | ---- |
|
|
31
|
-
| 1 | 5 |
|
|
32
|
-
|
|
33
|
-
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
|
|
34
|
-
|
|
35
|
-
Args:
|
|
36
22
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
23
|
+
This operation is available for scheduled and unscheduled orders based on marketplace support. See **Get Time Slots** in the [Marketplace Support Table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table).
|
|
24
|
+
|
|
25
|
+
This operation can return time slots that have either pickup or drop-off handover methods - see **Supported Handover Methods** in the [Marketplace Support Table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table).
|
|
26
|
+
|
|
27
|
+
**Usage Plan:**
|
|
28
|
+
|
|
29
|
+
====================================== ==============
|
|
30
|
+
Rate (requests per second) Burst
|
|
31
|
+
====================================== ==============
|
|
32
|
+
1 5
|
|
33
|
+
====================================== ==============
|
|
34
|
+
|
|
35
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
36
|
+
|
|
37
|
+
Examples:
|
|
38
|
+
literal blocks::
|
|
39
|
+
|
|
40
|
+
await EasyShip().list_handover_slots()
|
|
41
|
+
|
|
42
|
+
Args:
|
|
43
|
+
ListHandoverSlotsRequest: ListHandoverSlotsRequest | The request schema for the `listHandoverSlots` operation.
|
|
41
44
|
|
|
42
|
-
|
|
43
45
|
Returns:
|
|
44
|
-
ApiResponse
|
|
46
|
+
ApiResponse
|
|
45
47
|
"""
|
|
46
48
|
|
|
47
49
|
return await self._request(kwargs.pop('path'), data=kwargs)
|
|
@@ -51,26 +53,30 @@ The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits
|
|
|
51
53
|
async def get_scheduled_package(self, **kwargs) -> ApiResponse:
|
|
52
54
|
"""
|
|
53
55
|
get_scheduled_package(self, **kwargs) -> ApiResponse
|
|
54
|
-
|
|
56
|
+
|
|
55
57
|
Returns information about a package, including dimensions, weight, time slot information for handover, invoice and item information, and status.
|
|
56
|
-
|
|
57
|
-
**Usage Plan:**
|
|
58
|
-
|
|
59
|
-
| Rate (requests per second) | Burst |
|
|
60
|
-
| ---- | ---- |
|
|
61
|
-
| 1 | 5 |
|
|
62
|
-
|
|
63
|
-
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
|
|
64
|
-
|
|
65
|
-
Args:
|
|
66
58
|
|
|
67
|
-
|
|
59
|
+
**Usage Plan:**
|
|
68
60
|
|
|
69
|
-
|
|
61
|
+
====================================== ==============
|
|
62
|
+
Rate (requests per second) Burst
|
|
63
|
+
====================================== ==============
|
|
64
|
+
1 5
|
|
65
|
+
====================================== ==============
|
|
66
|
+
|
|
67
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
68
|
+
|
|
69
|
+
Examples:
|
|
70
|
+
literal blocks::
|
|
71
|
+
|
|
72
|
+
await EasyShip().get_scheduled_package()
|
|
73
|
+
|
|
74
|
+
Args:
|
|
75
|
+
key amazonOrderId: object | required An Amazon-defined order identifier. Identifies the order that the seller wants to deliver using Amazon Easy Ship.
|
|
76
|
+
key marketplaceId: object | required An identifier for the marketplace in which the seller is selling.
|
|
70
77
|
|
|
71
|
-
|
|
72
78
|
Returns:
|
|
73
|
-
ApiResponse
|
|
79
|
+
ApiResponse
|
|
74
80
|
"""
|
|
75
81
|
|
|
76
82
|
return await self._request(kwargs.pop('path'), params=kwargs)
|
|
@@ -80,39 +86,41 @@ The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits
|
|
|
80
86
|
async def create_scheduled_package(self, **kwargs) -> ApiResponse:
|
|
81
87
|
"""
|
|
82
88
|
create_scheduled_package(self, **kwargs) -> ApiResponse
|
|
83
|
-
|
|
89
|
+
|
|
84
90
|
Schedules an Easy Ship order and returns the scheduled package information.
|
|
85
|
-
|
|
86
|
-
This operation does the following:
|
|
87
|
-
|
|
88
|
-
* Specifies the time slot and handover method for the order to be scheduled for delivery.
|
|
89
|
-
|
|
90
|
-
* Updates the Easy Ship order status.
|
|
91
|
-
|
|
92
|
-
* Generates a shipping label and an invoice. Calling `createScheduledPackage` also generates a warranty document if you specify a `SerialNumber` value. To get these documents, see [How to get invoice, shipping label, and warranty documents](doc:easyship-api-v2022-03-23-use-case-guide).
|
|
93
|
-
|
|
94
|
-
* Shows the status of Easy Ship orders when you call the `getOrders` operation of the Selling Partner API for Orders and examine the `EasyShipShipmentStatus` property in the response body.
|
|
95
|
-
|
|
96
|
-
See the **Shipping Label**, **Invoice**, and **Warranty** columns in the [Marketplace Support Table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) to see which documents are supported in each marketplace.
|
|
97
|
-
|
|
98
|
-
**Usage Plan:**
|
|
99
|
-
|
|
100
|
-
| Rate (requests per second) | Burst |
|
|
101
|
-
| ---- | ---- |
|
|
102
|
-
| 1 | 5 |
|
|
103
|
-
|
|
104
|
-
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
|
|
105
|
-
|
|
106
|
-
Args:
|
|
107
91
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
92
|
+
This operation does the following:
|
|
93
|
+
|
|
94
|
+
* Specifies the time slot and handover method for the order to be scheduled for delivery.
|
|
95
|
+
|
|
96
|
+
* Updates the Easy Ship order status.
|
|
97
|
+
|
|
98
|
+
* Generates a shipping label and an invoice. Calling `createScheduledPackage` also generates a warranty document if you specify a `SerialNumber` value. To get these documents, see [How to get invoice, shipping label, and warranty documents](doc:easyship-api-v2022-03-23-use-case-guide).
|
|
99
|
+
|
|
100
|
+
* Shows the status of Easy Ship orders when you call the `getOrders` operation of the Selling Partner API for Orders and examine the `EasyShipShipmentStatus` property in the response body.
|
|
101
|
+
|
|
102
|
+
See the **Shipping Label**, **Invoice**, and **Warranty** columns in the [Marketplace Support Table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) to see which documents are supported in each marketplace.
|
|
103
|
+
|
|
104
|
+
**Usage Plan:**
|
|
105
|
+
|
|
106
|
+
====================================== ==============
|
|
107
|
+
Rate (requests per second) Burst
|
|
108
|
+
====================================== ==============
|
|
109
|
+
1 5
|
|
110
|
+
====================================== ==============
|
|
111
|
+
|
|
112
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
113
|
+
|
|
114
|
+
Examples:
|
|
115
|
+
literal blocks::
|
|
116
|
+
|
|
117
|
+
await EasyShip().create_scheduled_package()
|
|
118
|
+
|
|
119
|
+
Args:
|
|
120
|
+
CreateScheduledPackageRequest: CreateScheduledPackageRequest | required The request schema for the `createScheduledPackage` operation.
|
|
112
121
|
|
|
113
|
-
|
|
114
122
|
Returns:
|
|
115
|
-
ApiResponse
|
|
123
|
+
ApiResponse
|
|
116
124
|
"""
|
|
117
125
|
|
|
118
126
|
return await self._request(kwargs.pop('path'), data=kwargs)
|
|
@@ -122,29 +130,31 @@ The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits
|
|
|
122
130
|
async def update_scheduled_packages(self, **kwargs) -> ApiResponse:
|
|
123
131
|
"""
|
|
124
132
|
update_scheduled_packages(self, **kwargs) -> ApiResponse
|
|
125
|
-
|
|
133
|
+
|
|
126
134
|
Updates the time slot for handing over the package indicated by the specified `scheduledPackageId`. You can get the new `slotId` value for the time slot by calling the `listHandoverSlots` operation before making another `patch` call.
|
|
127
|
-
|
|
128
|
-
See the **Update Package** column in the [Marketplace Support Table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) to see which marketplaces this operation is supported in.
|
|
129
|
-
|
|
130
|
-
**Usage Plan:**
|
|
131
|
-
|
|
132
|
-
| Rate (requests per second) | Burst |
|
|
133
|
-
| ---- | ---- |
|
|
134
|
-
| 1 | 5 |
|
|
135
|
-
|
|
136
|
-
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
|
|
137
|
-
|
|
138
|
-
Args:
|
|
139
135
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
136
|
+
See the **Update Package** column in the [Marketplace Support Table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table) to see which marketplaces this operation is supported in.
|
|
137
|
+
|
|
138
|
+
**Usage Plan:**
|
|
139
|
+
|
|
140
|
+
====================================== ==============
|
|
141
|
+
Rate (requests per second) Burst
|
|
142
|
+
====================================== ==============
|
|
143
|
+
1 5
|
|
144
|
+
====================================== ==============
|
|
145
|
+
|
|
146
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
147
|
+
|
|
148
|
+
Examples:
|
|
149
|
+
literal blocks::
|
|
150
|
+
|
|
151
|
+
await EasyShip().update_scheduled_packages()
|
|
152
|
+
|
|
153
|
+
Args:
|
|
154
|
+
UpdateScheduledPackagesRequest: UpdateScheduledPackagesRequest | The request schema for the `updateScheduledPackages` operation.
|
|
144
155
|
|
|
145
|
-
|
|
146
156
|
Returns:
|
|
147
|
-
ApiResponse
|
|
157
|
+
ApiResponse
|
|
148
158
|
"""
|
|
149
159
|
|
|
150
160
|
return await self._request(kwargs.pop('path'), data=kwargs)
|
|
@@ -154,37 +164,37 @@ The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits
|
|
|
154
164
|
async def create_scheduled_package_bulk(self, **kwargs) -> ApiResponse:
|
|
155
165
|
"""
|
|
156
166
|
create_scheduled_package_bulk(self, **kwargs) -> ApiResponse
|
|
157
|
-
|
|
167
|
+
|
|
158
168
|
This operation automatically schedules a time slot for all the `amazonOrderId`s given as input, generating the associated shipping labels, along with other compliance documents according to the marketplace (refer to the [marketplace document support table](doc:easyship-api-v2022-03-23-use-case-guide#marketplace-support-table)).
|
|
159
|
-
|
|
160
|
-
Developers calling this operation may optionally assign a `packageDetails` object, allowing them to input a preferred time slot for each order in their request. In this case, Amazon will try to schedule the respective packages using their optional settings. On the other hand, *i.e.*, if the time slot is not provided, Amazon will then pick the earliest time slot possible.
|
|
161
|
-
|
|
162
|
-
Regarding the shipping label's file format, external developers are able to choose between PDF or ZPL, and Amazon will create the label accordingly.
|
|
163
|
-
|
|
164
|
-
This operation returns an array composed of the scheduled packages, and a short-lived URL pointing to a zip file containing the generated shipping labels and the other documents enabled for your marketplace. If at least an order couldn't be scheduled, then Amazon adds the `rejectedOrders` list into the response, which contains an entry for each order we couldn't process. Each entry is composed of an error message describing the reason of the failure, so that sellers can take action.
|
|
165
|
-
|
|
166
|
-
The table below displays the supported request and burst maximum rates:
|
|
167
|
-
|
|
168
|
-
**Usage Plan:**
|
|
169
|
-
|
|
170
|
-
| Rate (requests per second) | Burst |
|
|
171
|
-
| ---- | ---- |
|
|
172
|
-
| 1 | 5 |
|
|
173
|
-
|
|
174
|
-
The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](doc:usage-plans-and-rate-limits-in-the-sp-api).
|
|
175
|
-
|
|
176
|
-
Args:
|
|
177
169
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
170
|
+
Developers calling this operation may optionally assign a `packageDetails` object, allowing them to input a preferred time slot for each order in ther request. In this case, Amazon will try to schedule the respective packages using their optional settings. On the other hand, *i.e.*, if the time slot is not provided, Amazon will then pick the earliest time slot possible.
|
|
171
|
+
|
|
172
|
+
Regarding the shipping label's file format, external developers are able to choose between PDF or ZPL, and Amazon will create the label accordingly.
|
|
173
|
+
|
|
174
|
+
This operation returns an array composed of the scheduled packages, and a short-lived URL pointing to a zip file containing the generated shipping labels and the other documents enabled for your marketplace. If at least an order couldn't be scheduled, then Amazon adds the `rejectedOrders` list into the response, which contains an entry for each order we couldn't process. Each entry is composed of an error message describing the reason of the failure, so that sellers can take action.
|
|
175
|
+
|
|
176
|
+
The table below displays the supported request and burst maximum rates:
|
|
177
|
+
|
|
178
|
+
**Usage Plan:**
|
|
179
|
+
|
|
180
|
+
====================================== ==============
|
|
181
|
+
Rate (requests per second) Burst
|
|
182
|
+
====================================== ==============
|
|
183
|
+
1 5
|
|
184
|
+
====================================== ==============
|
|
185
|
+
|
|
186
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
187
|
+
|
|
188
|
+
Examples:
|
|
189
|
+
literal blocks::
|
|
190
|
+
|
|
191
|
+
await EasyShip().create_scheduled_package_bulk()
|
|
192
|
+
|
|
193
|
+
Args:
|
|
194
|
+
CreateScheduledPackagesRequest: CreateScheduledPackagesRequest | required The request schema for the `createScheduledPackageBulk` operation.
|
|
184
195
|
|
|
185
|
-
|
|
186
196
|
Returns:
|
|
187
|
-
ApiResponse
|
|
197
|
+
ApiResponse
|
|
188
198
|
"""
|
|
189
199
|
|
|
190
200
|
return await self._request(kwargs.pop('path'), data=kwargs)
|