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.
Files changed (214) hide show
  1. {python_amazon_sp_api-2.0.15.dist-info → python_amazon_sp_api-2.1.3.dist-info}/METADATA +7 -7
  2. python_amazon_sp_api-2.1.3.dist-info/RECORD +350 -0
  3. sp_api/__version__.py +1 -1
  4. sp_api/api/__init__.py +160 -4
  5. sp_api/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu.py +85 -110
  6. sp_api/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu_2024_05_09.py +456 -0
  7. sp_api/api/aplus_content/aplus_content.py +176 -125
  8. sp_api/api/application_integrations/application_integrations.py +59 -68
  9. sp_api/api/application_management/application_management.py +20 -13
  10. sp_api/api/authorization/authorization.py +8 -26
  11. sp_api/api/catalog/catalog.py +27 -61
  12. sp_api/api/catalog_items/catalog_items.py +108 -78
  13. sp_api/api/catalog_items/catalog_items_2020_12_01.py +86 -0
  14. sp_api/api/catalog_items/catalog_items_2022_04_01.py +89 -0
  15. sp_api/api/customer_feedback/customer_feedback.py +100 -0
  16. sp_api/api/data_kiosk/data_kiosk.py +80 -75
  17. sp_api/api/delivery_by_amazon/__init__.py +0 -0
  18. sp_api/api/delivery_by_amazon/delivery_by_amazon.py +92 -0
  19. sp_api/api/delivery_by_amazon/delivery_by_amazon_2022_07_01.py +81 -0
  20. sp_api/api/easy_ship/easy_ship.py +121 -111
  21. sp_api/api/external_fulfillment/external_fulfillment.py +211 -434
  22. sp_api/api/external_fulfillment/inventory.py +120 -0
  23. sp_api/api/external_fulfillment/inventory_2021_01_06.py +71 -0
  24. sp_api/api/external_fulfillment/inventory_2024_09_11.py +96 -0
  25. sp_api/api/external_fulfillment/returns.py +120 -0
  26. sp_api/api/external_fulfillment/returns_2021_08_19.py +88 -0
  27. sp_api/api/external_fulfillment/returns_2024_09_11.py +141 -0
  28. sp_api/api/external_fulfillment/shipping.py +120 -0
  29. sp_api/api/external_fulfillment/shipping_2021_01_06.py +256 -0
  30. sp_api/api/external_fulfillment/shipping_2024_09_11.py +233 -0
  31. sp_api/api/fba_inbound_eligibility/fba_inbound_eligibility.py +30 -24
  32. sp_api/api/fba_small_and_light/fba_small_and_light.py +60 -99
  33. sp_api/api/feeds/feeds.py +75 -245
  34. sp_api/api/feeds/feeds_2021_06_30.py +320 -0
  35. sp_api/api/finances/finances.py +123 -90
  36. sp_api/api/finances/finances_2024_06_01.py +71 -0
  37. sp_api/api/finances/finances_2024_06_19.py +114 -0
  38. sp_api/api/finances/finances_v0.py +116 -0
  39. sp_api/api/fulfillment_inbound/fulfillment_inbound.py +107 -1784
  40. sp_api/api/fulfillment_inbound/fulfillment_inbound_2024_03_20.py +1722 -0
  41. sp_api/api/fulfillment_inbound/fulfillment_inbound_v0.py +1384 -0
  42. sp_api/api/fulfillment_outbound/fulfillment_outbound.py +256 -480
  43. sp_api/api/inventories/inventories.py +79 -42
  44. sp_api/api/invoices/__init__.py +0 -0
  45. sp_api/api/invoices/invoices.py +92 -0
  46. sp_api/api/invoices/invoices_2024_06_19.py +344 -0
  47. sp_api/api/listings_items/listings_items.py +110 -163
  48. sp_api/api/listings_items/listings_items_2020_09_01.py +189 -0
  49. sp_api/api/listings_items/listings_items_2021_08_01.py +233 -0
  50. sp_api/api/listings_restrictions/listings_restrictions.py +23 -10
  51. sp_api/api/merchant_fulfillment/merchant_fulfillment.py +107 -222
  52. sp_api/api/messaging/messaging.py +184 -198
  53. sp_api/api/notifications/notifications.py +144 -106
  54. sp_api/api/orders/orders.py +9 -46
  55. sp_api/api/orders/orders_2026_01_01.py +19 -65
  56. sp_api/api/orders/orders_v0.py +152 -184
  57. sp_api/api/product_fees/product_fees.py +101 -75
  58. sp_api/api/product_type_definitions/product_type_definitions.py +47 -36
  59. sp_api/api/products/products.py +94 -386
  60. sp_api/api/products/products_2022_05_01.py +96 -0
  61. sp_api/api/products/products_v0.py +389 -0
  62. sp_api/api/replenishment/replenishment.py +58 -69
  63. sp_api/api/reports/reports.py +124 -157
  64. sp_api/api/sales/sales.py +22 -39
  65. sp_api/api/seller_wallet/__init__.py +0 -0
  66. sp_api/api/seller_wallet/seller_wallet.py +92 -0
  67. sp_api/api/seller_wallet/seller_wallet_2024_03_01.py +300 -0
  68. sp_api/api/sellers/sellers.py +15 -35
  69. sp_api/api/services/services.py +479 -82
  70. sp_api/api/shipment_invoicing/__init__.py +0 -0
  71. sp_api/api/shipment_invoicing/shipment_invoicing.py +92 -0
  72. sp_api/api/shipment_invoicing/shipment_invoicing_v0.py +101 -0
  73. sp_api/api/shipping/shipping.py +94 -440
  74. sp_api/api/shipping/shippingV2.py +183 -474
  75. sp_api/api/shipping/shipping_v1.py +330 -0
  76. sp_api/api/shipping/shipping_v2.py +723 -0
  77. sp_api/api/solicitations/solicitations.py +28 -18
  78. sp_api/api/supply_sources/supply_sources.py +67 -57
  79. sp_api/api/tokens/tokens.py +14 -35
  80. sp_api/api/vehicles/__init__.py +0 -0
  81. sp_api/api/vehicles/vehicles.py +92 -0
  82. sp_api/api/vehicles/vehicles_2024_11_01.py +33 -0
  83. sp_api/api/vendor_direct_fulfillment_inventory/vendor_direct_fulfillment_inventory.py +16 -29
  84. sp_api/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders.py +116 -189
  85. sp_api/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders_2021_12_28.py +114 -0
  86. sp_api/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders_v1.py +114 -0
  87. sp_api/api/vendor_direct_fulfillment_payments/vendor_direct_fulfillment_payments.py +15 -225
  88. sp_api/api/vendor_direct_fulfillment_sandbox_test_data/__init__.py +0 -0
  89. sp_api/api/vendor_direct_fulfillment_sandbox_test_data/vendor_direct_fulfillment_sandbox_test_data.py +92 -0
  90. sp_api/api/vendor_direct_fulfillment_sandbox_test_data/vendor_direct_fulfillment_sandbox_test_data_2021_10_28.py +50 -0
  91. sp_api/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping.py +122 -624
  92. sp_api/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping_2021_12_28.py +390 -0
  93. sp_api/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping_v1.py +320 -0
  94. sp_api/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions.py +113 -29
  95. sp_api/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions_2021_12_28.py +47 -0
  96. sp_api/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions_v1.py +47 -0
  97. sp_api/api/vendor_invoices/vendor_invoices.py +15 -264
  98. sp_api/api/vendor_orders/vendor_orders.py +83 -131
  99. sp_api/api/vendor_shipments/vendor_shipments.py +149 -68
  100. sp_api/api/vendor_transaction_status/vendor_transaction_status.py +16 -11
  101. sp_api/asyncio/api/__init__.py +159 -4
  102. sp_api/asyncio/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu.py +84 -110
  103. sp_api/asyncio/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu_2024_05_09.py +457 -0
  104. sp_api/asyncio/api/aplus_content/aplus_content.py +176 -125
  105. sp_api/asyncio/api/application_integrations/application_integrations.py +59 -68
  106. sp_api/asyncio/api/application_management/application_management.py +20 -13
  107. sp_api/asyncio/api/authorization/authorization.py +8 -26
  108. sp_api/asyncio/api/catalog/catalog.py +27 -61
  109. sp_api/asyncio/api/catalog_items/catalog_items.py +94 -71
  110. sp_api/asyncio/api/catalog_items/catalog_items_2020_12_01.py +87 -0
  111. sp_api/asyncio/api/catalog_items/catalog_items_2022_04_01.py +90 -0
  112. sp_api/asyncio/api/customer_feedback/customer_feedback.py +100 -0
  113. sp_api/asyncio/api/data_kiosk/data_kiosk.py +80 -75
  114. sp_api/asyncio/api/delivery_by_amazon/__init__.py +0 -0
  115. sp_api/asyncio/api/delivery_by_amazon/delivery_by_amazon.py +92 -0
  116. sp_api/asyncio/api/delivery_by_amazon/delivery_by_amazon_2022_07_01.py +82 -0
  117. sp_api/asyncio/api/easy_ship/easy_ship.py +121 -111
  118. sp_api/asyncio/api/external_fulfillment/external_fulfillment.py +212 -435
  119. sp_api/asyncio/api/external_fulfillment/inventory.py +126 -0
  120. sp_api/asyncio/api/external_fulfillment/inventory_2021_01_06.py +73 -0
  121. sp_api/asyncio/api/external_fulfillment/inventory_2024_09_11.py +98 -0
  122. sp_api/asyncio/api/external_fulfillment/returns.py +124 -0
  123. sp_api/asyncio/api/external_fulfillment/returns_2021_08_19.py +90 -0
  124. sp_api/asyncio/api/external_fulfillment/returns_2024_09_11.py +143 -0
  125. sp_api/asyncio/api/external_fulfillment/shipping.py +124 -0
  126. sp_api/asyncio/api/external_fulfillment/shipping_2021_01_06.py +258 -0
  127. sp_api/asyncio/api/external_fulfillment/shipping_2024_09_11.py +235 -0
  128. sp_api/asyncio/api/fba_inbound_eligibility/fba_inbound_eligibility.py +31 -25
  129. sp_api/asyncio/api/fba_small_and_light/fba_small_and_light.py +61 -100
  130. sp_api/asyncio/api/feeds/feeds.py +75 -243
  131. sp_api/asyncio/api/feeds/feeds_2021_06_30.py +318 -0
  132. sp_api/asyncio/api/finances/finances.py +123 -91
  133. sp_api/asyncio/api/finances/finances_2024_06_01.py +72 -0
  134. sp_api/asyncio/api/finances/finances_2024_06_19.py +115 -0
  135. sp_api/asyncio/api/finances/finances_v0.py +117 -0
  136. sp_api/asyncio/api/fulfillment_inbound/fulfillment_inbound.py +107 -1785
  137. sp_api/asyncio/api/fulfillment_inbound/fulfillment_inbound_2024_03_20.py +1723 -0
  138. sp_api/asyncio/api/fulfillment_inbound/fulfillment_inbound_v0.py +1385 -0
  139. sp_api/asyncio/api/fulfillment_outbound/fulfillment_outbound.py +257 -481
  140. sp_api/asyncio/api/inventories/inventories.py +79 -42
  141. sp_api/asyncio/api/invoices/__init__.py +0 -0
  142. sp_api/asyncio/api/invoices/invoices.py +92 -0
  143. sp_api/asyncio/api/invoices/invoices_2024_06_19.py +345 -0
  144. sp_api/asyncio/api/listings_items/listings_items.py +109 -163
  145. sp_api/asyncio/api/listings_items/listings_items_2020_09_01.py +190 -0
  146. sp_api/asyncio/api/listings_items/listings_items_2021_08_01.py +233 -0
  147. sp_api/asyncio/api/listings_restrictions/listings_restrictions.py +23 -10
  148. sp_api/asyncio/api/merchant_fulfillment/merchant_fulfillment.py +110 -222
  149. sp_api/asyncio/api/messaging/messaging.py +185 -199
  150. sp_api/asyncio/api/notifications/notifications.py +145 -107
  151. sp_api/asyncio/api/orders/orders.py +9 -46
  152. sp_api/asyncio/api/orders/orders_2026_01_01.py +19 -65
  153. sp_api/asyncio/api/orders/orders_v0.py +152 -184
  154. sp_api/asyncio/api/product_fees/product_fees.py +101 -75
  155. sp_api/asyncio/api/product_type_definitions/product_type_definitions.py +47 -36
  156. sp_api/asyncio/api/products/products.py +94 -387
  157. sp_api/asyncio/api/products/products_2022_05_01.py +109 -0
  158. sp_api/asyncio/api/products/products_v0.py +388 -0
  159. sp_api/asyncio/api/replenishment/replenishment.py +59 -70
  160. sp_api/asyncio/api/reports/reports.py +124 -157
  161. sp_api/asyncio/api/sales/sales.py +22 -39
  162. sp_api/asyncio/api/seller_wallet/__init__.py +0 -0
  163. sp_api/asyncio/api/seller_wallet/seller_wallet.py +92 -0
  164. sp_api/asyncio/api/seller_wallet/seller_wallet_2024_03_01.py +301 -0
  165. sp_api/asyncio/api/sellers/sellers.py +16 -36
  166. sp_api/asyncio/api/services/services.py +479 -82
  167. sp_api/asyncio/api/shipment_invoicing/__init__.py +0 -0
  168. sp_api/asyncio/api/shipment_invoicing/shipment_invoicing.py +92 -0
  169. sp_api/asyncio/api/shipment_invoicing/shipment_invoicing_v0.py +102 -0
  170. sp_api/asyncio/api/shipping/shipping.py +94 -441
  171. sp_api/asyncio/api/shipping/shippingV2.py +181 -472
  172. sp_api/asyncio/api/shipping/shipping_v1.py +331 -0
  173. sp_api/asyncio/api/shipping/shipping_v2.py +717 -0
  174. sp_api/asyncio/api/solicitations/solicitations.py +29 -19
  175. sp_api/asyncio/api/supply_sources/supply_sources.py +67 -57
  176. sp_api/asyncio/api/tokens/tokens.py +14 -35
  177. sp_api/asyncio/api/vehicles/__init__.py +0 -0
  178. sp_api/asyncio/api/vehicles/vehicles.py +92 -0
  179. sp_api/asyncio/api/vehicles/vehicles_2024_11_01.py +34 -0
  180. sp_api/asyncio/api/vendor_direct_fulfillment_inventory/vendor_direct_fulfillment_inventory.py +16 -29
  181. sp_api/asyncio/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders.py +120 -192
  182. sp_api/asyncio/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders_2021_12_28.py +116 -0
  183. sp_api/asyncio/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders_v1.py +115 -0
  184. sp_api/asyncio/api/vendor_direct_fulfillment_payments/vendor_direct_fulfillment_payments.py +15 -225
  185. sp_api/asyncio/api/vendor_direct_fulfillment_sandbox_test_data/__init__.py +0 -0
  186. sp_api/asyncio/api/vendor_direct_fulfillment_sandbox_test_data/vendor_direct_fulfillment_sandbox_test_data.py +92 -0
  187. sp_api/asyncio/api/vendor_direct_fulfillment_sandbox_test_data/vendor_direct_fulfillment_sandbox_test_data_2021_10_28.py +51 -0
  188. sp_api/asyncio/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping.py +120 -623
  189. sp_api/asyncio/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping_2021_12_28.py +392 -0
  190. sp_api/asyncio/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping_v1.py +321 -0
  191. sp_api/asyncio/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions.py +112 -29
  192. sp_api/asyncio/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions_2021_12_28.py +49 -0
  193. sp_api/asyncio/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions_v1.py +48 -0
  194. sp_api/asyncio/api/vendor_invoices/vendor_invoices.py +16 -265
  195. sp_api/asyncio/api/vendor_orders/vendor_orders.py +84 -132
  196. sp_api/asyncio/api/vendor_shipments/vendor_shipments.py +150 -69
  197. sp_api/asyncio/api/vendor_transaction_status/vendor_transaction_status.py +17 -12
  198. sp_api/asyncio/base/client.py +2 -2
  199. sp_api/asyncio/util/load_date_bound.py +1 -1
  200. sp_api/base/__init__.py +10 -0
  201. sp_api/base/_core.py +2 -2
  202. sp_api/base/client.py +3 -3
  203. sp_api/base/helpers.py +12 -1
  204. sp_api/base/marketplaces.py +6 -3
  205. sp_api/util/__init__.py +2 -0
  206. sp_api/util/load_date_bound.py +1 -1
  207. sp_api/util/versioned_client.py +45 -0
  208. python_amazon_sp_api-2.0.15.dist-info/RECORD +0 -255
  209. sp_api/asyncio/api/models/__init__.py +0 -4
  210. sp_api/asyncio/api/overrides/__init__.py +0 -1
  211. {python_amazon_sp_api-2.0.15.data → python_amazon_sp_api-2.1.3.data}/scripts/make_endpoint +0 -0
  212. {python_amazon_sp_api-2.0.15.dist-info → python_amazon_sp_api-2.1.3.dist-info}/WHEEL +0 -0
  213. {python_amazon_sp_api-2.0.15.dist-info → python_amazon_sp_api-2.1.3.dist-info}/licenses/LICENSE +0 -0
  214. {python_amazon_sp_api-2.0.15.dist-info → python_amazon_sp_api-2.1.3.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,301 @@
1
+ from sp_api.base import ApiResponse, sp_endpoint, fill_query_params
2
+ from sp_api.asyncio.base import AsyncBaseClient
3
+
4
+
5
+ class SellerWalletV20240301(AsyncBaseClient):
6
+ """
7
+ SellerWallet SP-API Client
8
+ :link:
9
+
10
+ The Selling Partner API for Seller Wallet (Seller Wallet API) provides financial information that is relevant to a seller's Seller Wallet account. You can obtain financial events, balances, and transfer schedules for Seller Wallet accounts. You can also schedule and initiate transactions.
11
+ """
12
+
13
+ @sp_endpoint("/finances/transfers/wallet/2024-03-01/accounts", method="GET")
14
+ async def list_accounts(self, **kwargs) -> ApiResponse:
15
+ """
16
+ list_accounts(self, **kwargs) -> ApiResponse
17
+
18
+ Get Seller Wallet accounts for a seller.
19
+
20
+ Examples:
21
+ literal blocks::
22
+
23
+ await SellerWalletV20240301().list_accounts()
24
+
25
+ Args:
26
+ key marketplaceId: object | required A marketplace identifier. Specifies the marketplace for which items are returned.
27
+
28
+ Returns:
29
+ ApiResponse
30
+ """
31
+ return await self._request(kwargs.pop("path"), params=kwargs, add_marketplace=False)
32
+
33
+ @sp_endpoint("/finances/transfers/wallet/2024-03-01/accounts/{accountId}", method="GET")
34
+ async def get_account(self, accountId, **kwargs) -> ApiResponse:
35
+ """
36
+ get_account(self, accountId, **kwargs) -> ApiResponse
37
+
38
+ Retrieve a Seller Wallet bank account by Amazon account identifier.
39
+
40
+ Examples:
41
+ literal blocks::
42
+
43
+ await SellerWalletV20240301().get_account("value")
44
+
45
+ Args:
46
+ accountId: object | required ID of the Amazon SW account
47
+ key marketplaceId: object | required The marketplace for which items are returned. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
48
+
49
+ Returns:
50
+ ApiResponse
51
+ """
52
+ return await self._request(fill_query_params(kwargs.pop("path"), accountId), params=kwargs, add_marketplace=False)
53
+
54
+ @sp_endpoint("/finances/transfers/wallet/2024-03-01/accounts/{accountId}/balance", method="GET")
55
+ async def list_account_balances(self, accountId, **kwargs) -> ApiResponse:
56
+ """
57
+ list_account_balances(self, accountId, **kwargs) -> ApiResponse
58
+
59
+ Retrieve the balance in a given Seller Wallet bank account.
60
+
61
+ Examples:
62
+ literal blocks::
63
+
64
+ await SellerWalletV20240301().list_account_balances("value")
65
+
66
+ Args:
67
+ accountId: object | required ID of the Amazon SW account
68
+ key marketplaceId: object | required The marketplace for which items are returned. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
69
+
70
+ Returns:
71
+ ApiResponse
72
+ """
73
+ return await self._request(fill_query_params(kwargs.pop("path"), accountId), params=kwargs, add_marketplace=False)
74
+
75
+ @sp_endpoint("/finances/transfers/wallet/2024-03-01/transactions", method="GET")
76
+ async def list_account_transactions(self, **kwargs) -> ApiResponse:
77
+ """
78
+ list_account_transactions(self, **kwargs) -> ApiResponse
79
+
80
+ Retrieve a list of transactions for a given Seller Wallet bank account.
81
+
82
+ Examples:
83
+ literal blocks::
84
+
85
+ await SellerWalletV20240301().list_account_transactions()
86
+
87
+ Args:
88
+ key accountId: object | required ID of the Amazon SW account
89
+ key nextPageToken: object | Pagination token to retrieve a specific page of results.
90
+ key marketplaceId: object | required The marketplace for which items are returned. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
91
+
92
+ Returns:
93
+ ApiResponse
94
+ """
95
+ return await self._request(kwargs.pop("path"), params=kwargs, add_marketplace=False)
96
+
97
+ @sp_endpoint("/finances/transfers/wallet/2024-03-01/transactions", method="POST")
98
+ async def create_transaction(self, **kwargs) -> ApiResponse:
99
+ """
100
+ create_transaction(self, **kwargs) -> ApiResponse
101
+
102
+ Create a transaction request from a Seller Wallet account to another customer-provided account.
103
+
104
+ Examples:
105
+ literal blocks::
106
+
107
+ await SellerWalletV20240301().create_transaction()
108
+
109
+ Args:
110
+ body: TransactionInitiationRequest | required Defines the actual payload of the request
111
+ destAccountDigitalSignature: object | required Digital signature for the destination bank account details. For more information, refer to [Third-Party Provider Signature Guidance](https://developer-docs.amazon.com/sp-api/docs/tpp-registration-signature-guidance).
112
+ amountDigitalSignature: object | required Digital signature for the source currency transaction amount. Sign in the order of the request definitions. You can omit empty or optional fields. For more information, refer to [Third-Party Provider Signature Guidance](https://developer-docs.amazon.com/sp-api/docs/tpp-registration-signature-guidance).
113
+ key marketplaceId: object | required The marketplace for which items are returned. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
114
+
115
+ Returns:
116
+ ApiResponse
117
+ """
118
+ headers = await self._get_headers()
119
+ if "destAccountDigitalSignature" in kwargs:
120
+ headers["destAccountDigitalSignature"] = kwargs.pop("destAccountDigitalSignature")
121
+ if "amountDigitalSignature" in kwargs:
122
+ headers["amountDigitalSignature"] = kwargs.pop("amountDigitalSignature")
123
+ params = {}
124
+ if "marketplaceId" in kwargs:
125
+ params["marketplaceId"] = kwargs.pop("marketplaceId")
126
+ return await self._request(kwargs.pop("path"), params=params, data=kwargs, headers=headers, add_marketplace=False)
127
+
128
+ @sp_endpoint("/finances/transfers/wallet/2024-03-01/transactions/{transactionId}", method="GET")
129
+ async def get_transaction(self, transactionId, **kwargs) -> ApiResponse:
130
+ """
131
+ get_transaction(self, transactionId, **kwargs) -> ApiResponse
132
+
133
+ Returns a transaction
134
+
135
+ Examples:
136
+ literal blocks::
137
+
138
+ await SellerWalletV20240301().get_transaction("value")
139
+
140
+ Args:
141
+ transactionId: object | required ID of the Amazon SW transaction
142
+ key marketplaceId: object | required The marketplace for which items are returned. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
143
+
144
+ Returns:
145
+ ApiResponse
146
+ """
147
+ return await self._request(fill_query_params(kwargs.pop("path"), transactionId), params=kwargs, add_marketplace=False)
148
+
149
+ @sp_endpoint("/finances/transfers/wallet/2024-03-01/transferPreview", method="GET")
150
+ async def get_transfer_preview(self, **kwargs) -> ApiResponse:
151
+ """
152
+ get_transfer_preview(self, **kwargs) -> ApiResponse
153
+
154
+ Returns list of potential fees on a transaction based on the source and destination country currency code
155
+
156
+ Examples:
157
+ literal blocks::
158
+
159
+ await SellerWalletV20240301().get_transfer_preview()
160
+
161
+ Args:
162
+ key sourceCountryCode: object | required Represents 2 character country code of source transaction account in ISO 3166 standard format.
163
+ key sourceCurrencyCode: object | required Represents 3 letter currency code in ISO 4217 standard format of the source transaction country.
164
+ key destinationCountryCode: object | required Represents 2 character country code of destination transaction account in ISO 3166 standard format.
165
+ key destinationCurrencyCode: object | required Represents 3 letter currency code in ISO 4217 standard format of the destination transaction country.
166
+ key baseAmount: object | required Represents the base transaction amount without any markup fees, rates that will be used to get the transfer preview.
167
+ key marketplaceId: object | required The marketplace for which items are returned. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
168
+
169
+ Returns:
170
+ ApiResponse
171
+ """
172
+ return await self._request(kwargs.pop("path"), params=kwargs, add_marketplace=False)
173
+
174
+ @sp_endpoint("/finances/transfers/wallet/2024-03-01/transferSchedules", method="GET")
175
+ async def list_transfer_schedules(self, **kwargs) -> ApiResponse:
176
+ """
177
+ list_transfer_schedules(self, **kwargs) -> ApiResponse
178
+
179
+ Retrieve transfer schedules of a Seller Wallet bank account.
180
+
181
+ Examples:
182
+ literal blocks::
183
+
184
+ await SellerWalletV20240301().list_transfer_schedules()
185
+
186
+ Args:
187
+ key accountId: object | required ID of the Amazon SW account
188
+ key marketplaceId: object | required The marketplace for which items are returned. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
189
+ key nextPageToken: object | Pagination token to retrieve a specific page of results.
190
+
191
+ Returns:
192
+ ApiResponse
193
+ """
194
+ return await self._request(kwargs.pop("path"), params=kwargs, add_marketplace=False)
195
+
196
+ @sp_endpoint("/finances/transfers/wallet/2024-03-01/transferSchedules", method="POST")
197
+ async def create_transfer_schedule(self, **kwargs) -> ApiResponse:
198
+ """
199
+ create_transfer_schedule(self, **kwargs) -> ApiResponse
200
+
201
+ Create a transfer schedule request from a Seller Wallet account to another customer-provided account.
202
+
203
+ Examples:
204
+ literal blocks::
205
+
206
+ await SellerWalletV20240301().create_transfer_schedule()
207
+
208
+ Args:
209
+ body: TransferScheduleRequest | required Defines the actual payload of the request
210
+ destAccountDigitalSignature: object | required Digital signature for the destination bank account details.
211
+ amountDigitalSignature: object | required Digital signature for the source currency transaction amount.
212
+ key marketplaceId: object | required The marketplace for which items are returned. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
213
+
214
+ Returns:
215
+ ApiResponse
216
+ """
217
+ headers = await self._get_headers()
218
+ if "destAccountDigitalSignature" in kwargs:
219
+ headers["destAccountDigitalSignature"] = kwargs.pop("destAccountDigitalSignature")
220
+ if "amountDigitalSignature" in kwargs:
221
+ headers["amountDigitalSignature"] = kwargs.pop("amountDigitalSignature")
222
+ params = {}
223
+ if "marketplaceId" in kwargs:
224
+ params["marketplaceId"] = kwargs.pop("marketplaceId")
225
+ return await self._request(kwargs.pop("path"), params=params, data=kwargs, headers=headers, add_marketplace=False)
226
+
227
+ @sp_endpoint("/finances/transfers/wallet/2024-03-01/transferSchedules", method="PUT")
228
+ async def update_transfer_schedule(self, **kwargs) -> ApiResponse:
229
+ """
230
+ update_transfer_schedule(self, **kwargs) -> ApiResponse
231
+
232
+ Returns a transfer belonging to the updated scheduled transfer request
233
+
234
+ Examples:
235
+ literal blocks::
236
+
237
+ await SellerWalletV20240301().update_transfer_schedule()
238
+
239
+ Args:
240
+ body: TransferSchedule | required Defines the actual payload of the scheduled transfer request that is to be updated.
241
+ destAccountDigitalSignature: object | required Digital signature for the destination bank account details.
242
+ amountDigitalSignature: object | required Digital signature for the source currency transaction amount.
243
+ key marketplaceId: object | required The marketplace for which items are returned. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
244
+
245
+ Returns:
246
+ ApiResponse
247
+ """
248
+ headers = await self._get_headers()
249
+ if "destAccountDigitalSignature" in kwargs:
250
+ headers["destAccountDigitalSignature"] = kwargs.pop("destAccountDigitalSignature")
251
+ if "amountDigitalSignature" in kwargs:
252
+ headers["amountDigitalSignature"] = kwargs.pop("amountDigitalSignature")
253
+ params = {}
254
+ if "marketplaceId" in kwargs:
255
+ params["marketplaceId"] = kwargs.pop("marketplaceId")
256
+ return await self._request(kwargs.pop("path"), params=params, data=kwargs, headers=headers, add_marketplace=False)
257
+
258
+ @sp_endpoint("/finances/transfers/wallet/2024-03-01/transferSchedules/{transferScheduleId}", method="DELETE")
259
+ async def delete_schedule_transaction(self, transferScheduleId, **kwargs) -> ApiResponse:
260
+ """
261
+ delete_schedule_transaction(self, transferScheduleId, **kwargs) -> ApiResponse
262
+
263
+ Delete a transaction request that is scheduled from Amazon Seller Wallet account to another customer-provided account.
264
+
265
+ Examples:
266
+ literal blocks::
267
+
268
+ await SellerWalletV20240301().delete_schedule_transaction("value")
269
+
270
+ Args:
271
+ transferScheduleId: object | required A unique reference ID for a scheduled transfer.
272
+ key marketplaceId: object | required The marketplace for which items are returned. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
273
+
274
+ Returns:
275
+ ApiResponse
276
+ """
277
+ params = {}
278
+ if "marketplaceId" in kwargs:
279
+ params["marketplaceId"] = kwargs.pop("marketplaceId")
280
+ return await self._request(fill_query_params(kwargs.pop("path"), transferScheduleId), params=params, data=kwargs, add_marketplace=False)
281
+
282
+ @sp_endpoint("/finances/transfers/wallet/2024-03-01/transferSchedules/{transferScheduleId}", method="GET")
283
+ async def get_transfer_schedule(self, transferScheduleId, **kwargs) -> ApiResponse:
284
+ """
285
+ get_transfer_schedule(self, transferScheduleId, **kwargs) -> ApiResponse
286
+
287
+ Find a particular Amazon Seller Wallet account transfer schedule.
288
+
289
+ Examples:
290
+ literal blocks::
291
+
292
+ await SellerWalletV20240301().get_transfer_schedule("value")
293
+
294
+ Args:
295
+ transferScheduleId: object | required The schedule ID of the Amazon Seller Wallet transfer.
296
+ key marketplaceId: object | required The marketplace for which items are returned. The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
297
+
298
+ Returns:
299
+ ApiResponse
300
+ """
301
+ return await self._request(fill_query_params(kwargs.pop("path"), transferScheduleId), params=kwargs, add_marketplace=False)
@@ -13,29 +13,19 @@ class Sellers(AsyncBaseClient):
13
13
  async def get_marketplace_participation(self, **kwargs) -> ApiResponse:
14
14
  """
15
15
  get_marketplace_participation(self, **kwargs) -> ApiResponse
16
- Returns a list of marketplaces that the seller submitting the request can sell in and information about the seller's participation in those marketplaces.
17
-
18
- **Usage Plan:**
19
-
20
- ====================================== ==============
21
- Rate (requests per second) Burst
22
- ====================================== ==============
23
- .016 15
24
- ====================================== ==============
25
-
26
- For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
27
-
16
+
17
+ Returns a list of marketplaces where the seller can list items and information about the seller's participation in those marketplaces.
18
+
28
19
  Examples:
29
20
  literal blocks::
30
-
31
- res = Sellers().get_marketplace_participation()
32
-
21
+
22
+ await Sellers().get_marketplace_participation()
23
+
33
24
  Args:
34
25
  **kwargs:
35
-
26
+
36
27
  Returns:
37
- GetMarketplaceParticipationsResponse:
38
-
28
+ ApiResponse
39
29
  """
40
30
  return await self._request(kwargs.pop("path"), add_marketplace=False)
41
31
 
@@ -43,28 +33,18 @@ class Sellers(AsyncBaseClient):
43
33
  async def get_account(self, **kwargs) -> ApiResponse:
44
34
  """
45
35
  get_account(self, **kwargs) -> ApiResponse
36
+
46
37
  Returns information about a seller account and its marketplaces.
47
-
48
- **Usage Plan:**
49
-
50
- ====================================== ==============
51
- Rate (requests per second) Burst
52
- ====================================== ==============
53
- .016 15
54
- ====================================== ==============
55
-
56
- For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
57
-
38
+
58
39
  Examples:
59
40
  literal blocks::
60
-
61
- res = Sellers().get_account()
62
-
41
+
42
+ await Sellers().get_account()
43
+
63
44
  Args:
64
45
  **kwargs:
65
-
46
+
66
47
  Returns:
67
- GetAccountResponse:
68
-
48
+ ApiResponse
69
49
  """
70
- return await self._request(kwargs.pop("path"), add_marketplace=False)
50
+ return await self._request(kwargs.pop("path"), add_marketplace=False)