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
sp_api/api/__init__.py
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
from .finances.finances import Finances, FinancesVersion
|
|
2
|
+
from .finances.finances_2024_06_01 import FinancesV20240601
|
|
3
|
+
from .finances.finances_2024_06_19 import FinancesV20240619
|
|
4
|
+
from .finances.finances_v0 import FinancesV0
|
|
2
5
|
from .notifications.notifications import Notifications
|
|
3
6
|
from .orders.orders import Orders, OrdersVersion
|
|
4
7
|
from .orders.orders_2026_01_01 import OrdersV20260101
|
|
@@ -8,22 +11,57 @@ from .sellers.sellers import Sellers
|
|
|
8
11
|
from .reports.reports import Reports
|
|
9
12
|
from .reports.reports import Reports as ReportsV2
|
|
10
13
|
|
|
11
|
-
from .products.products import Products
|
|
14
|
+
from .products.products import Products, ProductsVersion
|
|
15
|
+
from .products.products_2022_05_01 import ProductsV20220501
|
|
16
|
+
from .products.products_v0 import ProductsV0
|
|
12
17
|
from .sales.sales import Sales
|
|
13
18
|
from .catalog.catalog import Catalog
|
|
14
|
-
from .feeds.feeds import Feeds
|
|
19
|
+
from .feeds.feeds import Feeds, FeedsVersion
|
|
15
20
|
from .feeds.feeds import Feeds as FeedsV2
|
|
21
|
+
from .feeds.feeds_2021_06_30 import FeedsV20210630
|
|
16
22
|
|
|
17
23
|
from .inventories.inventories import Inventories
|
|
18
24
|
from .fulfillment_inbound.fulfillment_inbound import (
|
|
19
25
|
FulfillmentInbound,
|
|
20
26
|
FulfillmentInboundVersion,
|
|
21
27
|
)
|
|
28
|
+
from .fulfillment_inbound.fulfillment_inbound_2024_03_20 import (
|
|
29
|
+
FulfillmentInboundV20240320,
|
|
30
|
+
)
|
|
31
|
+
from .fulfillment_inbound.fulfillment_inbound_v0 import FulfillmentInboundV0
|
|
22
32
|
from .upload.upload import Upload
|
|
23
33
|
from .messaging.messaging import Messaging
|
|
24
34
|
from .merchant_fulfillment.merchant_fulfillment import MerchantFulfillment
|
|
25
35
|
|
|
26
36
|
##### DO NOT DELETE ########## INSERT IMPORT HERE #######
|
|
37
|
+
from .delivery_by_amazon.delivery_by_amazon import (
|
|
38
|
+
DeliveryByAmazon,
|
|
39
|
+
DeliveryByAmazonVersion,
|
|
40
|
+
)
|
|
41
|
+
from .delivery_by_amazon.delivery_by_amazon_2022_07_01 import DeliveryByAmazonV20220701
|
|
42
|
+
|
|
43
|
+
from .invoices.invoices import Invoices, InvoicesVersion
|
|
44
|
+
from .invoices.invoices_2024_06_19 import InvoicesV20240619
|
|
45
|
+
|
|
46
|
+
from .seller_wallet.seller_wallet import SellerWallet, SellerWalletVersion
|
|
47
|
+
from .seller_wallet.seller_wallet_2024_03_01 import SellerWalletV20240301
|
|
48
|
+
|
|
49
|
+
from .shipment_invoicing.shipment_invoicing import (
|
|
50
|
+
ShipmentInvoicing,
|
|
51
|
+
ShipmentInvoicingVersion,
|
|
52
|
+
)
|
|
53
|
+
from .shipment_invoicing.shipment_invoicing_v0 import ShipmentInvoicingV0
|
|
54
|
+
|
|
55
|
+
from .vehicles.vehicles import Vehicles, VehiclesVersion
|
|
56
|
+
from .vehicles.vehicles_2024_11_01 import VehiclesV20241101
|
|
57
|
+
|
|
58
|
+
from .vendor_direct_fulfillment_sandbox_test_data.vendor_direct_fulfillment_sandbox_test_data import (
|
|
59
|
+
VendorDirectFulfillmentSandboxTestData,
|
|
60
|
+
VendorDirectFulfillmentSandboxTestDataVersion,
|
|
61
|
+
)
|
|
62
|
+
from .vendor_direct_fulfillment_sandbox_test_data.vendor_direct_fulfillment_sandbox_test_data_2021_10_28 import (
|
|
63
|
+
VendorDirectFulfillmentSandboxTestDataV20211028,
|
|
64
|
+
)
|
|
27
65
|
from .application_integrations.application_integrations import ApplicationIntegrations
|
|
28
66
|
|
|
29
67
|
from .easy_ship.easy_ship import EasyShip
|
|
@@ -35,10 +73,14 @@ from .listings_restrictions.listings_restrictions import ListingsRestrictions
|
|
|
35
73
|
from .messaging.messaging import Messaging
|
|
36
74
|
|
|
37
75
|
from .catalog_items.catalog_items import CatalogItems, CatalogItemsVersion
|
|
76
|
+
from .catalog_items.catalog_items_2020_12_01 import CatalogItemsV20201201
|
|
77
|
+
from .catalog_items.catalog_items_2022_04_01 import CatalogItemsV20220401
|
|
38
78
|
|
|
39
79
|
from .product_type_definitions.product_type_definitions import ProductTypeDefinitions
|
|
40
80
|
|
|
41
|
-
from .listings_items.listings_items import ListingsItems
|
|
81
|
+
from .listings_items.listings_items import ListingsItems, ListingsItemsVersion
|
|
82
|
+
from .listings_items.listings_items_2020_09_01 import ListingsItemsV20200901
|
|
83
|
+
from .listings_items.listings_items_2021_08_01 import ListingsItemsV20210801
|
|
42
84
|
|
|
43
85
|
from .vendor_transaction_status.vendor_transaction_status import VendorTransactionStatus
|
|
44
86
|
|
|
@@ -50,10 +92,24 @@ from .vendor_invoices.vendor_invoices import VendorInvoices
|
|
|
50
92
|
|
|
51
93
|
from .vendor_direct_fulfillment_transactions.vendor_direct_fulfillment_transactions import (
|
|
52
94
|
VendorDirectFulfillmentTransactions,
|
|
95
|
+
VendorDirectFulfillmentTransactionsVersion,
|
|
96
|
+
)
|
|
97
|
+
from .vendor_direct_fulfillment_transactions.vendor_direct_fulfillment_transactions_2021_12_28 import (
|
|
98
|
+
VendorDirectFulfillmentTransactionsV20211228,
|
|
99
|
+
)
|
|
100
|
+
from .vendor_direct_fulfillment_transactions.vendor_direct_fulfillment_transactions_v1 import (
|
|
101
|
+
VendorDirectFulfillmentTransactionsV1,
|
|
53
102
|
)
|
|
54
103
|
|
|
55
104
|
from .vendor_direct_fulfillment_shipping.vendor_direct_fulfillment_shipping import (
|
|
56
105
|
VendorDirectFulfillmentShipping,
|
|
106
|
+
VendorDirectFulfillmentShippingVersion,
|
|
107
|
+
)
|
|
108
|
+
from .vendor_direct_fulfillment_shipping.vendor_direct_fulfillment_shipping_2021_12_28 import (
|
|
109
|
+
VendorDirectFulfillmentShippingV20211228,
|
|
110
|
+
)
|
|
111
|
+
from .vendor_direct_fulfillment_shipping.vendor_direct_fulfillment_shipping_v1 import (
|
|
112
|
+
VendorDirectFulfillmentShippingV1,
|
|
57
113
|
)
|
|
58
114
|
|
|
59
115
|
from .vendor_direct_fulfillment_payments.vendor_direct_fulfillment_payments import (
|
|
@@ -62,6 +118,13 @@ from .vendor_direct_fulfillment_payments.vendor_direct_fulfillment_payments impo
|
|
|
62
118
|
|
|
63
119
|
from .vendor_direct_fulfillment_orders.vendor_direct_fulfillment_orders import (
|
|
64
120
|
VendorDirectFulfillmentOrders,
|
|
121
|
+
VendorDirectFulfillmentOrdersVersion,
|
|
122
|
+
)
|
|
123
|
+
from .vendor_direct_fulfillment_orders.vendor_direct_fulfillment_orders_2021_12_28 import (
|
|
124
|
+
VendorDirectFulfillmentOrdersV20211228,
|
|
125
|
+
)
|
|
126
|
+
from .vendor_direct_fulfillment_orders.vendor_direct_fulfillment_orders_v1 import (
|
|
127
|
+
VendorDirectFulfillmentOrdersV1,
|
|
65
128
|
)
|
|
66
129
|
|
|
67
130
|
from .vendor_direct_fulfillment_inventory.vendor_direct_fulfillment_inventory import (
|
|
@@ -72,7 +135,9 @@ from .tokens.tokens import Tokens
|
|
|
72
135
|
|
|
73
136
|
from .solicitations.solicitations import Solicitations
|
|
74
137
|
|
|
75
|
-
from .shipping.shipping import Shipping
|
|
138
|
+
from .shipping.shipping import Shipping, ShippingVersion
|
|
139
|
+
from .shipping.shipping_v1 import ShippingV1
|
|
140
|
+
from .shipping.shipping_v2 import ShippingV2
|
|
76
141
|
|
|
77
142
|
from .services.services import Services
|
|
78
143
|
|
|
@@ -98,12 +163,48 @@ from .amazon_warehousing_and_distribu.amazon_warehousing_and_distribu import (
|
|
|
98
163
|
AmazonWarehousingAndDistribution,
|
|
99
164
|
AmazonWarehousingAndDistributionVersion,
|
|
100
165
|
)
|
|
166
|
+
from .amazon_warehousing_and_distribu.amazon_warehousing_and_distribu_2024_05_09 import (
|
|
167
|
+
AmazonWarehousingAndDistributionV20240509,
|
|
168
|
+
)
|
|
101
169
|
|
|
102
170
|
from .external_fulfillment.external_fulfillment import ExternalFulfillment
|
|
171
|
+
from .external_fulfillment.inventory import (
|
|
172
|
+
ExternalFulfillmentInventory,
|
|
173
|
+
ExternalFulfillmentInventoryVersion,
|
|
174
|
+
)
|
|
175
|
+
from .external_fulfillment.inventory_2021_01_06 import (
|
|
176
|
+
ExternalFulfillmentInventoryV20210106,
|
|
177
|
+
)
|
|
178
|
+
from .external_fulfillment.inventory_2024_09_11 import (
|
|
179
|
+
ExternalFulfillmentInventoryV20240911,
|
|
180
|
+
)
|
|
181
|
+
from .external_fulfillment.returns import (
|
|
182
|
+
ExternalFulfillmentReturns,
|
|
183
|
+
ExternalFulfillmentReturnsVersion,
|
|
184
|
+
)
|
|
185
|
+
from .external_fulfillment.returns_2021_08_19 import (
|
|
186
|
+
ExternalFulfillmentReturnsV20210819,
|
|
187
|
+
)
|
|
188
|
+
from .external_fulfillment.returns_2024_09_11 import (
|
|
189
|
+
ExternalFulfillmentReturnsV20240911,
|
|
190
|
+
)
|
|
191
|
+
from .external_fulfillment.shipping import (
|
|
192
|
+
ExternalFulfillmentShipping,
|
|
193
|
+
ExternalFulfillmentShippingVersion,
|
|
194
|
+
)
|
|
195
|
+
from .external_fulfillment.shipping_2021_01_06 import (
|
|
196
|
+
ExternalFulfillmentShippingV20210106,
|
|
197
|
+
)
|
|
198
|
+
from .external_fulfillment.shipping_2024_09_11 import (
|
|
199
|
+
ExternalFulfillmentShippingV20240911,
|
|
200
|
+
)
|
|
103
201
|
|
|
104
202
|
__all__ = [
|
|
105
203
|
"Sales",
|
|
106
204
|
"Products",
|
|
205
|
+
"ProductsVersion",
|
|
206
|
+
"ProductsV0",
|
|
207
|
+
"ProductsV20220501",
|
|
107
208
|
"Reports",
|
|
108
209
|
"Orders",
|
|
109
210
|
"OrdersVersion",
|
|
@@ -113,16 +214,51 @@ __all__ = [
|
|
|
113
214
|
"Notifications",
|
|
114
215
|
"ProductFees",
|
|
115
216
|
"Finances",
|
|
217
|
+
"FinancesV0",
|
|
218
|
+
"FinancesV20240601",
|
|
219
|
+
"FinancesV20240619",
|
|
116
220
|
"Catalog",
|
|
117
221
|
"Feeds",
|
|
118
222
|
"Inventories",
|
|
119
223
|
"FulfillmentInbound",
|
|
224
|
+
"FulfillmentInboundV0",
|
|
225
|
+
"FulfillmentInboundV20240320",
|
|
120
226
|
"Upload",
|
|
121
227
|
"Messaging",
|
|
122
228
|
"FulfillmentInbound",
|
|
123
229
|
"MerchantFulfillment",
|
|
124
230
|
##### DO NOT DELETE ########## INSERT TITLE HERE #######
|
|
231
|
+
"DeliveryByAmazon",
|
|
232
|
+
"DeliveryByAmazonVersion",
|
|
233
|
+
"DeliveryByAmazonV20220701",
|
|
234
|
+
"Invoices",
|
|
235
|
+
"InvoicesVersion",
|
|
236
|
+
"InvoicesV20240619",
|
|
237
|
+
"SellerWallet",
|
|
238
|
+
"SellerWalletVersion",
|
|
239
|
+
"SellerWalletV20240301",
|
|
240
|
+
"ShipmentInvoicing",
|
|
241
|
+
"ShipmentInvoicingVersion",
|
|
242
|
+
"ShipmentInvoicingV0",
|
|
243
|
+
"Vehicles",
|
|
244
|
+
"VehiclesVersion",
|
|
245
|
+
"VehiclesV20241101",
|
|
246
|
+
"VendorDirectFulfillmentSandboxTestData",
|
|
247
|
+
"VendorDirectFulfillmentSandboxTestDataVersion",
|
|
248
|
+
"VendorDirectFulfillmentSandboxTestDataV20211028",
|
|
125
249
|
"ExternalFulfillment",
|
|
250
|
+
"ExternalFulfillmentInventory",
|
|
251
|
+
"ExternalFulfillmentInventoryVersion",
|
|
252
|
+
"ExternalFulfillmentInventoryV20210106",
|
|
253
|
+
"ExternalFulfillmentInventoryV20240911",
|
|
254
|
+
"ExternalFulfillmentReturns",
|
|
255
|
+
"ExternalFulfillmentReturnsVersion",
|
|
256
|
+
"ExternalFulfillmentReturnsV20210819",
|
|
257
|
+
"ExternalFulfillmentReturnsV20240911",
|
|
258
|
+
"ExternalFulfillmentShipping",
|
|
259
|
+
"ExternalFulfillmentShippingVersion",
|
|
260
|
+
"ExternalFulfillmentShippingV20210106",
|
|
261
|
+
"ExternalFulfillmentShippingV20240911",
|
|
126
262
|
"ApplicationIntegrations",
|
|
127
263
|
"CustomerFeedback",
|
|
128
264
|
"FulfillmentInbound",
|
|
@@ -137,24 +273,43 @@ __all__ = [
|
|
|
137
273
|
"AmazonWarehousingAndDistributionVersion",
|
|
138
274
|
"FulfillmentInboundVersion",
|
|
139
275
|
"Feeds",
|
|
276
|
+
"FeedsVersion",
|
|
277
|
+
"FeedsV20210630",
|
|
140
278
|
"FeedsV2",
|
|
141
279
|
"ReportsV2",
|
|
142
280
|
"Messaging",
|
|
143
281
|
"CatalogItems",
|
|
282
|
+
"CatalogItemsV20201201",
|
|
283
|
+
"CatalogItemsV20220401",
|
|
144
284
|
"ProductTypeDefinitions",
|
|
145
285
|
"ListingsItems",
|
|
286
|
+
"ListingsItemsVersion",
|
|
287
|
+
"ListingsItemsV20200901",
|
|
288
|
+
"ListingsItemsV20210801",
|
|
146
289
|
"VendorTransactionStatus",
|
|
147
290
|
"VendorShipments",
|
|
148
291
|
"VendorOrders",
|
|
149
292
|
"VendorInvoices",
|
|
150
293
|
"VendorDirectFulfillmentTransactions",
|
|
294
|
+
"VendorDirectFulfillmentTransactionsVersion",
|
|
295
|
+
"VendorDirectFulfillmentTransactionsV1",
|
|
296
|
+
"VendorDirectFulfillmentTransactionsV20211228",
|
|
151
297
|
"VendorDirectFulfillmentShipping",
|
|
298
|
+
"VendorDirectFulfillmentShippingVersion",
|
|
299
|
+
"VendorDirectFulfillmentShippingV1",
|
|
300
|
+
"VendorDirectFulfillmentShippingV20211228",
|
|
152
301
|
"VendorDirectFulfillmentPayments",
|
|
153
302
|
"VendorDirectFulfillmentOrders",
|
|
303
|
+
"VendorDirectFulfillmentOrdersVersion",
|
|
304
|
+
"VendorDirectFulfillmentOrdersV1",
|
|
305
|
+
"VendorDirectFulfillmentOrdersV20211228",
|
|
154
306
|
"VendorDirectFulfillmentInventory",
|
|
155
307
|
"Tokens",
|
|
156
308
|
"Solicitations",
|
|
157
309
|
"Shipping",
|
|
310
|
+
"ShippingVersion",
|
|
311
|
+
"ShippingV1",
|
|
312
|
+
"ShippingV2",
|
|
158
313
|
"Services",
|
|
159
314
|
"FbaSmallAndLight",
|
|
160
315
|
"FbaInboundEligibility",
|
|
@@ -166,4 +321,5 @@ __all__ = [
|
|
|
166
321
|
"DataKiosk",
|
|
167
322
|
"ApplicationManagement",
|
|
168
323
|
"AmazonWarehousingAndDistribution",
|
|
324
|
+
"AmazonWarehousingAndDistributionV20240509",
|
|
169
325
|
]
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
1
3
|
import enum
|
|
2
|
-
import
|
|
4
|
+
from typing import Any, Literal, TYPE_CHECKING, overload
|
|
5
|
+
from sp_api.util.versioned_client import VersionedClientMeta
|
|
6
|
+
|
|
7
|
+
from sp_api.base import Client
|
|
3
8
|
|
|
4
|
-
from
|
|
9
|
+
from .amazon_warehousing_and_distribu_2024_05_09 import (
|
|
10
|
+
AmazonWarehousingAndDistributionV20240509,
|
|
11
|
+
)
|
|
5
12
|
|
|
6
13
|
|
|
7
14
|
class AmazonWarehousingAndDistributionVersion(str, enum.Enum):
|
|
@@ -9,121 +16,89 @@ class AmazonWarehousingAndDistributionVersion(str, enum.Enum):
|
|
|
9
16
|
LATEST = "2024-05-09"
|
|
10
17
|
|
|
11
18
|
|
|
12
|
-
|
|
13
|
-
"""
|
|
14
|
-
AmazonWarehousingAndDistribu SP-API Client
|
|
15
|
-
:link:
|
|
16
|
-
|
|
17
|
-
The Selling Partner API for Amazon Warehousing and Distribution (AWD).
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
version: AmazonWarehousingAndDistributionVersion = (
|
|
21
|
-
AmazonWarehousingAndDistributionVersion.V_2024_05_09
|
|
22
|
-
)
|
|
23
|
-
|
|
24
|
-
def __init__(self, *args, **kwargs):
|
|
25
|
-
if "version" in kwargs:
|
|
26
|
-
self.version = kwargs.get(
|
|
27
|
-
"version", AmazonWarehousingAndDistributionVersion.V_2024_05_09
|
|
28
|
-
)
|
|
29
|
-
super().__init__(*args, **{**kwargs, "version": self.version})
|
|
30
|
-
|
|
31
|
-
@sp_endpoint("/awd/<version>/inboundShipments/{}", method="GET")
|
|
32
|
-
def get_inbound_shipment(self, shipmentId, **kwargs) -> ApiResponse:
|
|
33
|
-
"""
|
|
34
|
-
get_inbound_shipment(self, shipmentId, **kwargs) -> ApiResponse
|
|
35
|
-
|
|
36
|
-
Retrieves an AWD inbound shipment.
|
|
37
|
-
|
|
38
|
-
**Usage Plan:**
|
|
39
|
-
|
|
40
|
-
| Rate (requests per second) | Burst |
|
|
41
|
-
| ---- | ---- |
|
|
42
|
-
| 2 | 2 |
|
|
43
|
-
|
|
44
|
-
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, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
|
|
45
|
-
|
|
46
|
-
Args:
|
|
47
|
-
|
|
48
|
-
shipmentId:string | * REQUIRED ID for the shipment. A shipment contains the cases being inbounded.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
Returns:
|
|
52
|
-
ApiResponse:
|
|
53
|
-
"""
|
|
54
|
-
|
|
55
|
-
return self._request(
|
|
56
|
-
fill_query_params(kwargs.pop("path"), shipmentId), params=kwargs
|
|
57
|
-
)
|
|
58
|
-
|
|
59
|
-
@sp_endpoint("/awd/<version>/inboundShipments", method="GET")
|
|
60
|
-
def list_inbound_shipments(self, **kwargs) -> ApiResponse:
|
|
61
|
-
"""
|
|
62
|
-
list_inbound_shipments(self, **kwargs) -> ApiResponse
|
|
63
|
-
|
|
64
|
-
Retrieves a summary for all the inbound AWD shipments associated with a merchant, with the ability to apply optional filters.
|
|
19
|
+
if TYPE_CHECKING:
|
|
65
20
|
|
|
66
|
-
|
|
21
|
+
class _AmazonWarehousingAndDistributionMeta(VersionedClientMeta):
|
|
22
|
+
@overload
|
|
23
|
+
def __call__(
|
|
24
|
+
cls,
|
|
25
|
+
*args: Any,
|
|
26
|
+
version: Literal[
|
|
27
|
+
AmazonWarehousingAndDistributionVersion.V_2024_05_09,
|
|
28
|
+
AmazonWarehousingAndDistributionVersion.LATEST,
|
|
29
|
+
"2024-05-09",
|
|
30
|
+
],
|
|
31
|
+
**kwargs: Any,
|
|
32
|
+
) -> AmazonWarehousingAndDistributionV20240509: ...
|
|
67
33
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
34
|
+
@overload
|
|
35
|
+
def __call__(
|
|
36
|
+
cls,
|
|
37
|
+
*args: Any,
|
|
38
|
+
version: None = None,
|
|
39
|
+
**kwargs: Any,
|
|
40
|
+
) -> AmazonWarehousingAndDistributionV20240509: ...
|
|
71
41
|
|
|
72
|
-
|
|
42
|
+
@overload
|
|
43
|
+
def __call__(
|
|
44
|
+
cls,
|
|
45
|
+
*args: Any,
|
|
46
|
+
version: str | AmazonWarehousingAndDistributionVersion,
|
|
47
|
+
**kwargs: Any,
|
|
48
|
+
) -> Client: ...
|
|
73
49
|
|
|
74
|
-
Args:
|
|
75
50
|
|
|
76
|
-
|
|
51
|
+
else:
|
|
52
|
+
_AmazonWarehousingAndDistributionMeta = VersionedClientMeta
|
|
77
53
|
|
|
78
|
-
key sortOrder:string | Sort the response in `ASCENDING` or `DESCENDING` order.
|
|
79
54
|
|
|
80
|
-
|
|
55
|
+
class AmazonWarehousingAndDistribution(
|
|
56
|
+
Client, metaclass=_AmazonWarehousingAndDistributionMeta
|
|
57
|
+
):
|
|
58
|
+
"""Amazon Warehousing and Distribution API client.
|
|
81
59
|
|
|
82
|
-
|
|
60
|
+
This class dispatches to a versioned Amazon Warehousing and Distribution API client.
|
|
83
61
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
key maxResults:integer | Maximum number of results to return.
|
|
87
|
-
|
|
88
|
-
key nextToken:string | Token to retrieve the next set of paginated results.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
Returns:
|
|
92
|
-
ApiResponse:
|
|
93
|
-
"""
|
|
94
|
-
|
|
95
|
-
return self._request(kwargs.pop("path"), params=kwargs)
|
|
96
|
-
|
|
97
|
-
@sp_endpoint("/awd/<version>/inventory", method="GET")
|
|
98
|
-
def list_inventory(self, **kwargs) -> ApiResponse:
|
|
99
|
-
"""
|
|
100
|
-
list_inventory(self, **kwargs) -> ApiResponse
|
|
101
|
-
|
|
102
|
-
Lists AWD inventory associated with a merchant with the ability to apply optional filters.
|
|
103
|
-
|
|
104
|
-
**Usage Plan:**
|
|
105
|
-
|
|
106
|
-
| Rate (requests per second) | Burst |
|
|
107
|
-
| ---- | ---- |
|
|
108
|
-
| 2 | 2 |
|
|
109
|
-
|
|
110
|
-
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, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
111
|
-
|
|
112
|
-
Args:
|
|
113
|
-
|
|
114
|
-
key sku:string | Filter by seller or merchant SKU for the item.
|
|
115
|
-
|
|
116
|
-
key sortOrder:string | Sort the response in `ASCENDING` or `DESCENDING` order.
|
|
117
|
-
|
|
118
|
-
key details:string | Set to `SHOW` to return summaries with additional inventory details. Defaults to `HIDE,` which returns only inventory summary totals.
|
|
119
|
-
|
|
120
|
-
key nextToken:string | Token to retrieve the next set of paginated results.
|
|
121
|
-
|
|
122
|
-
key maxResults:integer | Maximum number of results to return.
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
Returns:
|
|
126
|
-
ApiResponse:
|
|
127
|
-
"""
|
|
62
|
+
If you do not pass a version, the constructor returns the oldest supported implementation ("2024-05-09").
|
|
63
|
+
"""
|
|
128
64
|
|
|
129
|
-
|
|
65
|
+
if TYPE_CHECKING:
|
|
66
|
+
@overload
|
|
67
|
+
def __new__(
|
|
68
|
+
cls,
|
|
69
|
+
*args: Any,
|
|
70
|
+
version: Literal[
|
|
71
|
+
AmazonWarehousingAndDistributionVersion.V_2024_05_09,
|
|
72
|
+
AmazonWarehousingAndDistributionVersion.LATEST,
|
|
73
|
+
"2024-05-09",
|
|
74
|
+
],
|
|
75
|
+
**kwargs: Any,
|
|
76
|
+
) -> AmazonWarehousingAndDistributionV20240509: ...
|
|
77
|
+
|
|
78
|
+
@overload
|
|
79
|
+
def __new__(
|
|
80
|
+
cls,
|
|
81
|
+
*args: Any,
|
|
82
|
+
version: None = None,
|
|
83
|
+
**kwargs: Any,
|
|
84
|
+
) -> AmazonWarehousingAndDistributionV20240509: ...
|
|
85
|
+
|
|
86
|
+
@overload
|
|
87
|
+
def __new__(
|
|
88
|
+
cls,
|
|
89
|
+
*args: Any,
|
|
90
|
+
version: str | AmazonWarehousingAndDistributionVersion,
|
|
91
|
+
**kwargs: Any,
|
|
92
|
+
) -> Client: ...
|
|
93
|
+
|
|
94
|
+
_DISPATCH = True
|
|
95
|
+
|
|
96
|
+
_DEFAULT_VERSION = "2024-05-09"
|
|
97
|
+
|
|
98
|
+
_VERSION_MAP = {
|
|
99
|
+
"2024-05-09": AmazonWarehousingAndDistributionV20240509,
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
_VERSION_ALIASES = {
|
|
103
|
+
"2024-05-09": "2024-05-09",
|
|
104
|
+
}
|