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,109 @@
1
+ from typing import Optional, List, Dict, Union
2
+
3
+ from sp_api.base import ApiResponse, sp_endpoint
4
+ from sp_api.asyncio.base import AsyncBaseClient
5
+ from sp_api.api.products.products_definitions import (
6
+ GetCompetitiveSummaryBatch,
7
+ GetFeaturedOfferExpectedPriceBatch,
8
+ )
9
+
10
+
11
+ class ProductsV20220501(AsyncBaseClient):
12
+ """
13
+ :links:
14
+ https://github.com/amzn/selling-partner-api-docs/blob/main/references/product-pricing-api/productPricingV0.md
15
+ https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-reference
16
+ """
17
+
18
+ @sp_endpoint(
19
+ "/batches/products/pricing/2022-05-01/offer/featuredOfferExpectedPrice",
20
+ method="POST",
21
+ )
22
+ async def get_featured_offer_expected_price_batch(
23
+ self,
24
+ requests_: Optional[Union[List[Dict], GetFeaturedOfferExpectedPriceBatch]],
25
+ **kwargs,
26
+ ) -> ApiResponse:
27
+ """
28
+ get_featured_offer_expected_price_batch(self, requests_, **kwargs) -> ApiResponse
29
+
30
+ Returns the set of responses that correspond to the batched list of up to 40 requests defined in the request body. The response for each successful (HTTP status code 200) request in the set includes the computed listing price at or below which a seller can expect to become the featured offer (before applicable promotions). This is called the featured offer expected price (FOEP). Featured offer is not guaranteed because competing offers might change. Other offers might be featured based on factors such as fulfillment capabilities to a specific customer. The response to an unsuccessful request includes the available error text.
31
+
32
+ **Usage Plan:**
33
+
34
+ ====================================== ==============
35
+ Rate (requests per second) Burst
36
+ ====================================== ==============
37
+ 0.033 1
38
+ ====================================== ==============
39
+
40
+ For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
41
+
42
+ Examples:
43
+ literal blocks::
44
+
45
+ await ProductsV20220501().get_featured_offer_expected_price_batch("value")
46
+
47
+ Args:
48
+ getFeaturedOfferExpectedPriceBatchRequestBody: GetFeaturedOfferExpectedPriceBatchRequest | required The batch of `getFeaturedOfferExpectedPrice` requests.
49
+
50
+ Returns:
51
+ ApiResponse
52
+ """
53
+ if isinstance(requests_, GetFeaturedOfferExpectedPriceBatch):
54
+ get_featured_offer_expected_price_batch_request = requests_.to_dict()
55
+ else:
56
+ get_featured_offer_expected_price_batch_request = {"requests": requests_}
57
+
58
+ return await self._request(
59
+ kwargs.pop("path"),
60
+ data=get_featured_offer_expected_price_batch_request,
61
+ params={**kwargs},
62
+ add_marketplace=False,
63
+ )
64
+
65
+ @sp_endpoint(
66
+ "/batches/products/pricing/2022-05-01/items/competitiveSummary", method="POST"
67
+ )
68
+ async def get_competitive_summary_batch(
69
+ self,
70
+ requests_: Optional[Union[List[Dict], GetCompetitiveSummaryBatch]],
71
+ **kwargs,
72
+ ) -> ApiResponse:
73
+ """
74
+ get_competitive_summary_batch(self, requests_, **kwargs) -> ApiResponse
75
+
76
+ Returns the competitive summary response, including featured buying options for the ASIN and `marketplaceId` combination.
77
+
78
+ **Usage Plan:**
79
+
80
+ ====================================== ==============
81
+ Rate (requests per second) Burst
82
+ ====================================== ==============
83
+ 0.033 1
84
+ ====================================== ==============
85
+
86
+ For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
87
+
88
+ Examples:
89
+ literal blocks::
90
+
91
+ await ProductsV20220501().get_competitive_summary_batch("value")
92
+
93
+ Args:
94
+ requests: CompetitiveSummaryBatchRequest | required The batch of `getCompetitiveSummary` requests.
95
+
96
+ Returns:
97
+ ApiResponse
98
+ """
99
+ if isinstance(requests_, GetCompetitiveSummaryBatch):
100
+ get_competitive_summary_batch_request = requests_.to_dict()
101
+ else:
102
+ get_competitive_summary_batch_request = {"requests": requests_}
103
+
104
+ return await self._request(
105
+ kwargs.pop("path"),
106
+ data=get_competitive_summary_batch_request,
107
+ params={**kwargs},
108
+ add_marketplace=False,
109
+ )
@@ -0,0 +1,388 @@
1
+ from typing import Optional, List, Dict, Union
2
+
3
+ from sp_api.base import ApiResponse, fill_query_params, sp_endpoint
4
+ from sp_api.asyncio.base import AsyncBaseClient
5
+ from sp_api.api.products.products_definitions import (
6
+ GetItemOffersBatchRequest,
7
+ GetListingOffersBatchRequest,
8
+ )
9
+ from sp_api.util import ensure_csv
10
+
11
+
12
+ class ProductsV0(AsyncBaseClient):
13
+ """
14
+ :links:
15
+ https://github.com/amzn/selling-partner-api-docs/blob/main/references/product-pricing-api/productPricingV0.md
16
+ https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-reference
17
+ """
18
+
19
+ @sp_endpoint("/products/pricing/v0/price", method="GET")
20
+ async def get_product_pricing_for_skus(
21
+ self, seller_sku_list: [str], item_condition=None, offer_type=None, **kwargs
22
+ ) -> ApiResponse:
23
+ """
24
+ get_product_pricing_for_skus(self, seller_sku_list, item_condition, offer_type, **kwargs) -> ApiResponse
25
+
26
+ Returns pricing information for a seller's offer listings based on seller SKU or ASIN.
27
+
28
+ **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).
29
+
30
+ **Usage Plan:**
31
+
32
+ ====================================== ==============
33
+ Rate (requests per second) Burst
34
+ ====================================== ==============
35
+ 0.5 1
36
+ ====================================== ==============
37
+
38
+ For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
39
+
40
+ Examples:
41
+ literal blocks::
42
+
43
+ await ProductsV0().get_product_pricing_for_skus("value", "value", "value")
44
+
45
+ Args:
46
+ key MarketplaceId: object | required A marketplace identifier. Specifies the marketplace for which prices are returned.
47
+ key Asins: object | A list of up to twenty Amazon Standard Identification Number (ASIN) values used to identify items in the given marketplace.
48
+ key Skus: object | A list of up to twenty seller SKU values used to identify items in the given marketplace.
49
+ key ItemType: object | required Indicates whether ASIN values or seller SKU values are used to identify items. If you specify Asin, the information in the response will be dependent on the list of Asins you provide in the Asins parameter. If you specify Sku, the information in the response will be dependent on the list of Skus you provide in the Skus parameter.
50
+ key ItemCondition: object | Filters the offer listings based on item condition. Possible values: New, Used, Collectible, Refurbished, Club.
51
+ key OfferType: object | Indicates whether to request pricing information for the seller's B2C or B2B offers. Default is B2C.
52
+
53
+ Returns:
54
+ ApiResponse
55
+ """
56
+ if item_condition is not None:
57
+ kwargs["ItemCondition"] = item_condition
58
+ if offer_type is not None:
59
+ kwargs["OfferType"] = offer_type
60
+
61
+ return await self._create_get_pricing_request(seller_sku_list, "Sku", **kwargs)
62
+
63
+ @sp_endpoint("/products/pricing/v0/price", method="GET")
64
+ async def get_product_pricing_for_asins(
65
+ self, asin_list: [str], item_condition=None, offer_type=None, **kwargs
66
+ ) -> ApiResponse:
67
+ """
68
+ get_product_pricing_for_asins(self, asin_list, item_condition, offer_type, **kwargs) -> ApiResponse
69
+
70
+ Returns pricing information for a seller's offer listings based on seller SKU or ASIN.
71
+
72
+ **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).
73
+
74
+ **Usage Plan:**
75
+
76
+ ====================================== ==============
77
+ Rate (requests per second) Burst
78
+ ====================================== ==============
79
+ 0.5 1
80
+ ====================================== ==============
81
+
82
+ For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
83
+
84
+ Examples:
85
+ literal blocks::
86
+
87
+ await ProductsV0().get_product_pricing_for_asins("value", "value", "value")
88
+
89
+ Args:
90
+ key MarketplaceId: object | required A marketplace identifier. Specifies the marketplace for which prices are returned.
91
+ key Asins: object | A list of up to twenty Amazon Standard Identification Number (ASIN) values used to identify items in the given marketplace.
92
+ key Skus: object | A list of up to twenty seller SKU values used to identify items in the given marketplace.
93
+ key ItemType: object | required Indicates whether ASIN values or seller SKU values are used to identify items. If you specify Asin, the information in the response will be dependent on the list of Asins you provide in the Asins parameter. If you specify Sku, the information in the response will be dependent on the list of Skus you provide in the Skus parameter.
94
+ key ItemCondition: object | Filters the offer listings based on item condition. Possible values: New, Used, Collectible, Refurbished, Club.
95
+ key OfferType: object | Indicates whether to request pricing information for the seller's B2C or B2B offers. Default is B2C.
96
+
97
+ Returns:
98
+ ApiResponse
99
+ """
100
+ if item_condition is not None:
101
+ kwargs["ItemCondition"] = item_condition
102
+ if offer_type is not None:
103
+ kwargs["OfferType"] = offer_type
104
+
105
+ return await self._create_get_pricing_request(asin_list, "Asin", **kwargs)
106
+
107
+ @sp_endpoint("/products/pricing/v0/competitivePrice", method="GET")
108
+ async def get_competitive_pricing_for_skus(
109
+ self, seller_sku_list: [str], customer_type=None, **kwargs
110
+ ) -> ApiResponse:
111
+ """
112
+ get_competitive_pricing_for_skus(self, seller_sku_list, customer_type, **kwargs) -> ApiResponse
113
+
114
+ Returns competitive pricing information for a seller's offer listings based on seller SKU or ASIN.
115
+
116
+ **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).
117
+
118
+ **Usage Plan:**
119
+
120
+ ====================================== ==============
121
+ Rate (requests per second) Burst
122
+ ====================================== ==============
123
+ 0.5 1
124
+ ====================================== ==============
125
+
126
+ For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
127
+
128
+ Examples:
129
+ literal blocks::
130
+
131
+ await ProductsV0().get_competitive_pricing_for_skus("value", "value")
132
+
133
+ Args:
134
+ key MarketplaceId: object | required A marketplace identifier. Specifies the marketplace for which prices are returned.
135
+ key Asins: object | A list of up to twenty Amazon Standard Identification Number (ASIN) values used to identify items in the given marketplace.
136
+ key Skus: object | A list of up to twenty seller SKU values used to identify items in the given marketplace.
137
+ key ItemType: object | required Indicates whether ASIN values or seller SKU values are used to identify items. If you specify Asin, the information in the response will be dependent on the list of Asins you provide in the Asins parameter. If you specify Sku, the information in the response will be dependent on the list of Skus you provide in the Skus parameter. Possible values: Asin, Sku.
138
+ key CustomerType: object | Indicates whether to request pricing information from the point of view of Consumer or Business buyers. Default is Consumer.
139
+
140
+ Returns:
141
+ ApiResponse
142
+ """
143
+
144
+ if customer_type is not None:
145
+ kwargs["CustomerType"] = customer_type
146
+
147
+ return await self._create_get_pricing_request(seller_sku_list, "Sku", **kwargs)
148
+
149
+ @sp_endpoint("/products/pricing/v0/competitivePrice", method="GET")
150
+ async def get_competitive_pricing_for_asins(
151
+ self, asin_list: [str], customer_type=None, **kwargs
152
+ ) -> ApiResponse:
153
+ """
154
+ get_competitive_pricing_for_asins(self, asin_list, customer_type, **kwargs) -> ApiResponse
155
+
156
+ Returns competitive pricing information for a seller's offer listings based on seller SKU or ASIN.
157
+
158
+ **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).
159
+
160
+ **Usage Plan:**
161
+
162
+ ====================================== ==============
163
+ Rate (requests per second) Burst
164
+ ====================================== ==============
165
+ 0.5 1
166
+ ====================================== ==============
167
+
168
+ For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
169
+
170
+ Examples:
171
+ literal blocks::
172
+
173
+ await ProductsV0().get_competitive_pricing_for_asins("value", "value")
174
+
175
+ Args:
176
+ key MarketplaceId: object | required A marketplace identifier. Specifies the marketplace for which prices are returned.
177
+ key Asins: object | A list of up to twenty Amazon Standard Identification Number (ASIN) values used to identify items in the given marketplace.
178
+ key Skus: object | A list of up to twenty seller SKU values used to identify items in the given marketplace.
179
+ key ItemType: object | required Indicates whether ASIN values or seller SKU values are used to identify items. If you specify Asin, the information in the response will be dependent on the list of Asins you provide in the Asins parameter. If you specify Sku, the information in the response will be dependent on the list of Skus you provide in the Skus parameter. Possible values: Asin, Sku.
180
+ key CustomerType: object | Indicates whether to request pricing information from the point of view of Consumer or Business buyers. Default is Consumer.
181
+
182
+ Returns:
183
+ ApiResponse
184
+ """
185
+ if customer_type is not None:
186
+ kwargs["CustomerType"] = customer_type
187
+
188
+ return await self._create_get_pricing_request(asin_list, "Asin", **kwargs)
189
+
190
+ @sp_endpoint("/products/pricing/v0/listings/{}/offers", method="GET")
191
+ async def get_listings_offer(
192
+ self, seller_sku: str, item_condition: str, customer_type: str = None, **kwargs
193
+ ) -> ApiResponse:
194
+ """
195
+ get_listings_offer(self, seller_sku, item_condition, customer_type, **kwargs) -> ApiResponse
196
+
197
+ Returns the lowest priced offers for a single SKU listing.
198
+
199
+ **Note:** The parameters associated with this operation may contain special characters that require URL encoding to call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding).
200
+
201
+ **Usage Plan:**
202
+
203
+ ====================================== ==============
204
+ Rate (requests per second) Burst
205
+ ====================================== ==============
206
+ 1 2
207
+ ====================================== ==============
208
+
209
+ For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
210
+
211
+ Examples:
212
+ literal blocks::
213
+
214
+ await ProductsV0().get_listings_offer("value", "value", "value")
215
+
216
+ Args:
217
+ key MarketplaceId: object | required A marketplace identifier. Specifies the marketplace for which prices are returned.
218
+ key ItemCondition: object | required Filters the offer listings based on item condition. Possible values: New, Used, Collectible, Refurbished, Club.
219
+ SellerSKU: object | required Identifies an item in the given marketplace. SellerSKU is qualified by the seller's SellerId, which is included with every operation that you submit.
220
+ key CustomerType: object | Indicates whether to request Consumer or Business offers. Default is Consumer.
221
+
222
+ Returns:
223
+ ApiResponse
224
+ """
225
+ kwargs["ItemCondition"] = item_condition
226
+
227
+ if customer_type is not None:
228
+ kwargs["CustomerType"] = customer_type
229
+
230
+ return await self._request(
231
+ fill_query_params(kwargs.pop("path"), seller_sku), params={**kwargs}
232
+ )
233
+
234
+ @sp_endpoint("/products/pricing/v0/items/{}/offers", method="GET")
235
+ async def get_item_offers(
236
+ self, asin: str, item_condition: str, customer_type: str = None, **kwargs
237
+ ) -> ApiResponse:
238
+ """
239
+ get_item_offers(self, asin, item_condition, customer_type, **kwargs) -> ApiResponse
240
+
241
+ Returns the lowest priced offers for a single item based on ASIN.
242
+
243
+ **Usage Plan:**
244
+
245
+ ====================================== ==============
246
+ Rate (requests per second) Burst
247
+ ====================================== ==============
248
+ 0.5 1
249
+ ====================================== ==============
250
+
251
+ For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
252
+
253
+ Examples:
254
+ literal blocks::
255
+
256
+ await ProductsV0().get_item_offers("value", "value", "value")
257
+
258
+ Args:
259
+ key MarketplaceId: object | required A marketplace identifier. Specifies the marketplace for which prices are returned.
260
+ key ItemCondition: object | required Filters the offer listings to be considered based on item condition. Possible values: New, Used, Collectible, Refurbished, Club.
261
+ Asin: object | required The Amazon Standard Identification Number (ASIN) of the item.
262
+ key CustomerType: object | Indicates whether to request Consumer or Business offers. Default is Consumer.
263
+
264
+ Returns:
265
+ ApiResponse
266
+ """
267
+ kwargs["ItemCondition"] = item_condition
268
+
269
+ if customer_type is not None:
270
+ kwargs["CustomerType"] = customer_type
271
+
272
+ return await self._request(
273
+ fill_query_params(kwargs.pop("path"), asin), params={**kwargs}
274
+ )
275
+
276
+ @sp_endpoint("/batches/products/pricing/v0/itemOffers", method="POST")
277
+ async def get_item_offers_batch(
278
+ self,
279
+ requests_: Optional[Union[List[Dict], GetItemOffersBatchRequest]] = None,
280
+ **kwargs,
281
+ ) -> ApiResponse:
282
+ """
283
+ get_item_offers_batch(self, requests_, **kwargs) -> ApiResponse
284
+
285
+ Returns the lowest priced offers for a batch of items based on ASIN.
286
+
287
+ **Usage Plan:**
288
+
289
+ ====================================== ==============
290
+ Rate (requests per second) Burst
291
+ ====================================== ==============
292
+ 0.1 1
293
+ ====================================== ==============
294
+
295
+ For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
296
+
297
+ Examples:
298
+ literal blocks::
299
+
300
+ await ProductsV0().get_item_offers_batch("value")
301
+
302
+ Args:
303
+ getItemOffersBatchRequestBody: GetItemOffersBatchRequest | required The request associated with the `getItemOffersBatch` API call.
304
+
305
+ Returns:
306
+ ApiResponse
307
+ """
308
+ if isinstance(requests_, GetItemOffersBatchRequest):
309
+ get_item_offers_batch_request = requests_.to_dict()
310
+ else:
311
+ get_item_offers_batch_request = {"requests": requests_}
312
+
313
+ return await self._request(
314
+ kwargs.pop("path"),
315
+ data=get_item_offers_batch_request,
316
+ params={**kwargs},
317
+ add_marketplace=False,
318
+ )
319
+
320
+ @sp_endpoint("/batches/products/pricing/v0/listingOffers", method="POST")
321
+ async def get_listing_offers_batch(
322
+ self,
323
+ requests_: Optional[Union[List[Dict], GetListingOffersBatchRequest]] = None,
324
+ **kwargs,
325
+ ) -> ApiResponse:
326
+ """
327
+ get_listing_offers_batch(self, requests_, **kwargs) -> ApiResponse
328
+
329
+ Returns the lowest priced offers for a batch of listings by SKU.
330
+
331
+ **Usage Plan:**
332
+
333
+ ====================================== ==============
334
+ Rate (requests per second) Burst
335
+ ====================================== ==============
336
+ 0.5 1
337
+ ====================================== ==============
338
+
339
+ For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
340
+
341
+ Examples:
342
+ literal blocks::
343
+
344
+ await ProductsV0().get_listing_offers_batch("value")
345
+
346
+ Args:
347
+ getListingOffersBatchRequestBody: GetListingOffersBatchRequest | required The request associated with the `getListingOffersBatch` API call.
348
+
349
+ Returns:
350
+ ApiResponse
351
+ """
352
+ if isinstance(requests_, GetListingOffersBatchRequest):
353
+ get_listing_offers_batch_request = requests_.to_dict()
354
+ else:
355
+ get_listing_offers_batch_request = {"requests": requests_}
356
+
357
+ return await self._request(
358
+ kwargs.pop("path"),
359
+ data=get_listing_offers_batch_request,
360
+ params={**kwargs},
361
+ add_marketplace=False,
362
+ )
363
+
364
+ async def _create_get_pricing_request(self, item_list, item_type, **kwargs):
365
+ items_csv = ensure_csv(item_list)
366
+ return await self._request(
367
+ kwargs.pop("path"),
368
+ params={
369
+ **{f"{item_type}s": items_csv},
370
+ "ItemType": item_type,
371
+ **(
372
+ {"ItemCondition": kwargs.pop("ItemCondition")}
373
+ if "ItemCondition" in kwargs
374
+ else {}
375
+ ),
376
+ **(
377
+ {"CustomerType": kwargs.pop("CustomerType")}
378
+ if "CustomerType" in kwargs
379
+ else {}
380
+ ),
381
+ **(
382
+ {"OfferType": kwargs.pop("OfferType")}
383
+ if "OfferType" in kwargs
384
+ else {}
385
+ ),
386
+ "MarketplaceId": kwargs.get("MarketplaceId", self.marketplace_id),
387
+ },
388
+ )
@@ -20,38 +20,29 @@ class Replenishment(AsyncBaseClient):
20
20
  async def get_selling_partner_metrics(self, **kwargs) -> ApiResponse:
21
21
  """
22
22
  get_selling_partner_metrics(self, **kwargs) -> ApiResponse
23
-
23
+
24
24
  Returns aggregated replenishment program metrics for a selling partner.
25
-
25
+
26
26
  **Usage Plan:**
27
-
28
- | Rate (requests per second) | Burst |
29
- | ---- | ---- |
30
- | 1 | 1 |
31
-
32
- 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
33
-
27
+
28
+ ====================================== ==============
29
+ Rate (requests per second) Burst
30
+ ====================================== ==============
31
+ 1 1
32
+ ====================================== ==============
33
+
34
+ For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
35
+
36
+ Examples:
37
+ literal blocks::
38
+
39
+ await Replenishment().get_selling_partner_metrics()
40
+
34
41
  Args:
35
-
36
- body: | {'description': 'The request body for the `getSellingPartnerMetrics` operation.',
37
- 'properties': {'aggregationFrequency': {'$ref': '#/definitions/AggregationFrequency'},
38
- 'marketplaceId': {'$ref': '#/definitions/MarketplaceId',
39
- 'description': 'The marketplace identifier. The supported marketplaces for both sellers and vendors are US, CA, ES, UK, FR, IT, IN, DE and JP. The supported marketplaces for vendors only are BR, AU, MX, AE and NL. '
40
- 'Refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids) to find the identifier for the marketplace.'},
41
- 'metrics': {'description': 'The list of metrics requested. If no metric value is provided, data for all of the metrics will be returned.',
42
- 'items': {'$ref': '#/definitions/Metric'},
43
- 'minItems': 1,
44
- 'type': 'array',
45
- 'uniqueItems': True},
46
- 'programTypes': {'$ref': '#/definitions/ProgramTypes', 'description': 'The list of replenishment program types for which to return metrics.'},
47
- 'timeInterval': {'$ref': '#/definitions/TimeInterval', 'description': 'A time interval used to compute metrics.'},
48
- 'timePeriodType': {'$ref': '#/definitions/TimePeriodType'}},
49
- 'required': ['timeInterval', 'timePeriodType', 'programTypes', 'marketplaceId'],
50
- 'type': 'object'}
51
-
52
-
42
+ body: GetSellingPartnerMetricsRequest | The request body for the `getSellingPartnerMetrics` operation.
43
+
53
44
  Returns:
54
- ApiResponse:
45
+ ApiResponse
55
46
  """
56
47
 
57
48
  return await self._request(kwargs.pop("path"), data=kwargs)
@@ -60,30 +51,29 @@ class Replenishment(AsyncBaseClient):
60
51
  async def list_offer_metrics(self, **kwargs) -> ApiResponse:
61
52
  """
62
53
  list_offer_metrics(self, **kwargs) -> ApiResponse
63
-
54
+
64
55
  Returns aggregated replenishment program metrics for a selling partner's offers.
65
-
56
+
66
57
  **Usage Plan:**
67
-
68
- | Rate (requests per second) | Burst |
69
- | ---- | ---- |
70
- | 1 | 1 |
71
-
72
- 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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
73
-
58
+
59
+ ====================================== ==============
60
+ Rate (requests per second) Burst
61
+ ====================================== ==============
62
+ 1 1
63
+ ====================================== ==============
64
+
65
+ For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
66
+
67
+ Examples:
68
+ literal blocks::
69
+
70
+ await Replenishment().list_offer_metrics()
71
+
74
72
  Args:
75
-
76
- body: | {'description': 'The request body for the `listOfferMetrics` operation.',
77
- 'properties': {'filters': {'$ref': '#/definitions/ListOfferMetricsRequestFilters',
78
- 'description': 'Use these parameters to filter results. Any result must match all provided parameters. For any parameter that is an array, the result must match at least one element in the provided array.'},
79
- 'pagination': {'$ref': '#/definitions/ListOfferMetricsRequestPagination', 'description': 'Use these parameters to paginate through the response.'},
80
- 'sort': {'$ref': '#/definitions/ListOfferMetricsRequestSort', 'description': 'Use these parameters to sort the response.'}},
81
- 'required': ['pagination', 'filters'],
82
- 'type': 'object'}
83
-
84
-
73
+ body: ListOfferMetricsRequest | The request body for the `listOfferMetrics` operation.
74
+
85
75
  Returns:
86
- ApiResponse:
76
+ ApiResponse
87
77
  """
88
78
 
89
79
  return await self._request(kwargs.pop("path"), data=kwargs)
@@ -92,30 +82,29 @@ class Replenishment(AsyncBaseClient):
92
82
  async def list_offers(self, **kwargs) -> ApiResponse:
93
83
  """
94
84
  list_offers(self, **kwargs) -> ApiResponse
95
-
96
- Returns the details of a selling partner's replenishment program offers. Note that this operation only supports sellers at this time.
97
-
85
+
86
+ Returns the details of a selling partner's replenishment program offers.
87
+
98
88
  **Usage Plan:**
99
-
100
- | Rate (requests per second) | Burst |
101
- | ---- | ---- |
102
- | 1 | 1 |
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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
105
-
89
+
90
+ ====================================== ==============
91
+ Rate (requests per second) Burst
92
+ ====================================== ==============
93
+ 1 1
94
+ ====================================== ==============
95
+
96
+ For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
97
+
98
+ Examples:
99
+ literal blocks::
100
+
101
+ await Replenishment().list_offers()
102
+
106
103
  Args:
107
-
108
- body: | {'description': 'The request body for the `listOffers` operation.',
109
- 'properties': {'filters': {'$ref': '#/definitions/ListOffersRequestFilters',
110
- 'description': 'Use these parameters to filter results. Any result must match all provided parameters. For any parameter that is an array, the result must match at least one element in the provided array.'},
111
- 'pagination': {'$ref': '#/definitions/ListOffersRequestPagination', 'description': 'Use these parameters to paginate through the response.'},
112
- 'sort': {'$ref': '#/definitions/ListOffersRequestSort', 'description': 'Use these parameters to sort the response.'}},
113
- 'required': ['pagination', 'filters'],
114
- 'type': 'object'}
115
-
116
-
104
+ body: ListOffersRequest | The request body for the `listOffers` operation.
105
+
117
106
  Returns:
118
- ApiResponse:
107
+ ApiResponse
119
108
  """
120
109
 
121
- return await self._request(kwargs.pop("path"), data=kwargs)
110
+ return await self._request(kwargs.pop("path"), data=kwargs)