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
@@ -16,25 +16,30 @@ class Messaging(AsyncBaseClient):
16
16
  async def get_messaging_actions_for_order(self, order_id, **kwargs) -> ApiResponse:
17
17
  """
18
18
  get_messaging_actions_for_order(self, order_id, **kwargs) -> ApiResponse
19
-
19
+
20
20
  Returns a list of message types that are available for an order that you specify. A message type is represented by an actions object, which contains a path and query parameter(s). You can use the path and parameter(s) to call an operation that sends a message.
21
-
21
+
22
22
  **Usage Plan:**
23
-
23
+
24
24
  ====================================== ==============
25
25
  Rate (requests per second) Burst
26
26
  ====================================== ==============
27
27
  1 5
28
28
  ====================================== ==============
29
-
29
+
30
30
  For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
31
-
31
+
32
+ Examples:
33
+ literal blocks::
34
+
35
+ await Messaging().get_messaging_actions_for_order("value")
36
+
32
37
  Args:
33
- order_id:string | * REQUIRED An Amazon order identifier. This specifies the order for which you want a list of available message types.
34
- key marketplaceIds:array | * REQUIRED A marketplace identifier. This specifies the marketplace in which the order was placed. Only one marketplace can be specified.
35
-
38
+ amazonOrderId: object | required An Amazon order identifier. This specifies the order for which you want a list of available message types.
39
+ key marketplaceIds: object | required A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
40
+
36
41
  Returns:
37
- ApiResponse:
42
+ ApiResponse
38
43
  """
39
44
 
40
45
  return await self._request(
@@ -47,33 +52,31 @@ class Messaging(AsyncBaseClient):
47
52
  async def confirm_customization_details(self, order_id, **kwargs) -> ApiResponse:
48
53
  """
49
54
  confirm_customization_details(self, order_id, **kwargs) -> ApiResponse
50
-
55
+
51
56
  Sends a message asking a buyer to provide or verify customization details such as name spelling, images, initials, etc.
52
-
57
+
53
58
  **Usage Plan:**
54
-
59
+
55
60
  ====================================== ==============
56
61
  Rate (requests per second) Burst
57
62
  ====================================== ==============
58
63
  1 5
59
64
  ====================================== ==============
60
-
65
+
61
66
  For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
62
-
67
+
68
+ Examples:
69
+ literal blocks::
70
+
71
+ await Messaging().confirm_customization_details("value")
72
+
63
73
  Args:
64
- order_id:string | * REQUIRED An Amazon order identifier. This specifies the order for which a message is sent.
65
- body: {
66
- "text": "string",
67
- "attachments": [
68
- {
69
- "uploadDestinationId": "string",
70
- "fileName": "string"
71
- }
72
- ]
73
- }
74
-
74
+ amazonOrderId: object | required An Amazon order identifier. This identifies the order for which a message is sent.
75
+ key marketplaceIds: object | required A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
76
+ body: CreateConfirmCustomizationDetailsRequest | required This contains the message body for a message.
77
+
75
78
  Returns:
76
- ApiResponse:
79
+ ApiResponse
77
80
  """
78
81
 
79
82
  return await self._request(
@@ -91,28 +94,31 @@ class Messaging(AsyncBaseClient):
91
94
  async def create_confirm_delivery_details(self, order_id, **kwargs) -> ApiResponse:
92
95
  """
93
96
  create_confirm_delivery_details(self, order_id, **kwargs) -> ApiResponse
94
-
97
+
95
98
  Sends a message to a buyer to arrange a delivery or to confirm contact information for making a delivery.
96
-
99
+
97
100
  **Usage Plan:**
98
-
101
+
99
102
  ====================================== ==============
100
103
  Rate (requests per second) Burst
101
104
  ====================================== ==============
102
105
  1 5
103
106
  ====================================== ==============
104
-
107
+
105
108
  For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
106
-
109
+
110
+ Examples:
111
+ literal blocks::
112
+
113
+ await Messaging().create_confirm_delivery_details("value")
114
+
107
115
  Args:
108
- order_id:string | * REQUIRED An Amazon order identifier. This specifies the order for which a message is sent.
109
- body: {
110
- "text": "string"
111
- }
112
-
113
-
116
+ amazonOrderId: object | required An Amazon order identifier. This identifies the order for which a message is sent.
117
+ key marketplaceIds: object | required A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
118
+ body: CreateConfirmDeliveryDetailsRequest | required This contains the message body for a message.
119
+
114
120
  Returns:
115
- ApiResponse:
121
+ ApiResponse
116
122
  """
117
123
 
118
124
  return await self._request(
@@ -128,33 +134,31 @@ class Messaging(AsyncBaseClient):
128
134
  async def create_legal_disclosure(self, order_id, **kwargs) -> ApiResponse:
129
135
  """
130
136
  create_legal_disclosure(self, order_id, **kwargs) -> ApiResponse
131
-
137
+
132
138
  Sends a critical message that contains documents that a seller is legally obligated to provide to the buyer. This message should only be used to deliver documents that are required by law.
133
-
139
+
134
140
  **Usage Plan:**
135
-
141
+
136
142
  ====================================== ==============
137
143
  Rate (requests per second) Burst
138
144
  ====================================== ==============
139
145
  1 5
140
146
  ====================================== ==============
141
-
147
+
142
148
  For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
143
-
149
+
150
+ Examples:
151
+ literal blocks::
152
+
153
+ await Messaging().create_legal_disclosure("value")
154
+
144
155
  Args:
145
- order_id:string | * REQUIRED An Amazon order identifier. This specifies the order for which a message is sent.
146
- body: {
147
- "attachments": [
148
- {
149
- "uploadDestinationId": "string",
150
- "fileName": "string"
151
- }
152
- ]
153
- }
154
-
155
-
156
+ amazonOrderId: object | required An Amazon order identifier. This identifies the order for which a message is sent.
157
+ key marketplaceIds: object | required A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
158
+ body: CreateLegalDisclosureRequest | required This contains the message body for a message.
159
+
156
160
  Returns:
157
- ApiResponse:
161
+ ApiResponse
158
162
  """
159
163
 
160
164
  return await self._request(
@@ -172,24 +176,20 @@ class Messaging(AsyncBaseClient):
172
176
  async def create_negative_feedback_removal(self, order_id, **kwargs) -> ApiResponse:
173
177
  """
174
178
  create_negative_feedback_removal(self, order_id, **kwargs) -> ApiResponse
175
-
179
+
176
180
  Sends a non-critical message that asks a buyer to remove their negative feedback. This message should only be sent after the seller has resolved the buyer's problem.
177
-
178
- **Usage Plan:**
179
-
180
- ====================================== ==============
181
- Rate (requests per second) Burst
182
- ====================================== ==============
183
- 1 5
184
- ====================================== ==============
185
-
186
- For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
187
-
181
+
182
+ Examples:
183
+ literal blocks::
184
+
185
+ await Messaging().create_negative_feedback_removal("value")
186
+
188
187
  Args:
189
- order_id:string | * REQUIRED An Amazon order identifier. This specifies the order for which a message is sent.
190
-
188
+ order_id: | required
189
+ **kwargs:
190
+
191
191
  Returns:
192
- ApiResponse:
192
+ ApiResponse
193
193
  """
194
194
 
195
195
  return await self._request(
@@ -205,27 +205,31 @@ class Messaging(AsyncBaseClient):
205
205
  async def create_confirm_order_details(self, order_id, **kwargs) -> ApiResponse:
206
206
  """
207
207
  create_confirm_order_details(self, order_id, **kwargs) -> ApiResponse
208
-
208
+
209
209
  Sends a message to ask a buyer an order-related question prior to shipping their order.
210
-
210
+
211
211
  **Usage Plan:**
212
-
212
+
213
213
  ====================================== ==============
214
214
  Rate (requests per second) Burst
215
215
  ====================================== ==============
216
216
  1 5
217
217
  ====================================== ==============
218
-
218
+
219
219
  For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
220
-
220
+
221
+ Examples:
222
+ literal blocks::
223
+
224
+ await Messaging().create_confirm_order_details("value")
225
+
221
226
  Args:
222
- order_id:string | * REQUIRED An Amazon order identifier. This specifies the order for which a message is sent.
223
- body:{
224
- "text": "string"
225
- }
226
-
227
+ amazonOrderId: object | required An Amazon order identifier. This identifies the order for which a message is sent.
228
+ key marketplaceIds: object | required A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
229
+ body: CreateConfirmOrderDetailsRequest | required This contains the message body for a message.
230
+
227
231
  Returns:
228
- ApiResponse:
232
+ ApiResponse
229
233
  """
230
234
 
231
235
  return await self._request(
@@ -243,28 +247,31 @@ class Messaging(AsyncBaseClient):
243
247
  async def create_confirm_service_details(self, order_id, **kwargs) -> ApiResponse:
244
248
  """
245
249
  create_confirm_service_details(self, order_id, **kwargs) -> ApiResponse
246
-
250
+
247
251
  Sends a message to contact a Home Service customer to arrange a service call or to gather information prior to a service call.
248
-
252
+
249
253
  **Usage Plan:**
250
-
254
+
251
255
  ====================================== ==============
252
256
  Rate (requests per second) Burst
253
257
  ====================================== ==============
254
258
  1 5
255
259
  ====================================== ==============
256
-
260
+
257
261
  For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
258
-
262
+
263
+ Examples:
264
+ literal blocks::
265
+
266
+ await Messaging().create_confirm_service_details("value")
267
+
259
268
  Args:
260
- order_id:string | * REQUIRED An Amazon order identifier. This specifies the order for which a message is sent.
261
- body: {
262
- "text": "string"
263
- }
264
-
265
-
269
+ amazonOrderId: object | required An Amazon order identifier. This identifies the order for which a message is sent.
270
+ key marketplaceIds: object | required A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
271
+ body: CreateConfirmServiceDetailsRequest | required This contains the message body for a message.
272
+
266
273
  Returns:
267
- ApiResponse:
274
+ ApiResponse
268
275
  """
269
276
 
270
277
  return await self._request(
@@ -280,33 +287,20 @@ class Messaging(AsyncBaseClient):
280
287
  async def create_amazon_motors(self, order_id, **kwargs) -> ApiResponse:
281
288
  """
282
289
  create_amazon_motors(self, order_id, **kwargs) -> ApiResponse
283
-
290
+
284
291
  Sends a message to a buyer to provide details about an Amazon Motors order. This message can only be sent by Amazon Motors sellers.
285
-
286
- **Usage Plan:**
287
-
288
- ====================================== ==============
289
- Rate (requests per second) Burst
290
- ====================================== ==============
291
- 1 5
292
- ====================================== ==============
293
-
294
- For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
295
-
292
+
293
+ Examples:
294
+ literal blocks::
295
+
296
+ await Messaging().create_amazon_motors("value")
297
+
296
298
  Args:
297
- order_id:string | * REQUIRED An Amazon order identifier. This specifies the order for which a message is sent.
298
- body: {
299
- "attachments": [
300
- {
301
- "uploadDestinationId": "string",
302
- "fileName": "string"
303
- }
304
- ]
305
- }
306
-
307
-
299
+ order_id: | required
300
+ **kwargs:
301
+
308
302
  Returns:
309
- ApiResponse:
303
+ ApiResponse
310
304
  """
311
305
 
312
306
  return await self._request(
@@ -322,36 +316,31 @@ class Messaging(AsyncBaseClient):
322
316
  async def create_warranty(self, order_id, **kwargs) -> ApiResponse:
323
317
  """
324
318
  create_warranty(self, order_id, **kwargs) -> ApiResponse
325
-
319
+
326
320
  Sends a message to a buyer to provide details about warranty information on a purchase in their order.
327
-
321
+
328
322
  **Usage Plan:**
329
-
330
-
323
+
331
324
  ====================================== ==============
332
325
  Rate (requests per second) Burst
333
326
  ====================================== ==============
334
327
  1 5
335
328
  ====================================== ==============
336
-
329
+
337
330
  For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
338
-
331
+
332
+ Examples:
333
+ literal blocks::
334
+
335
+ await Messaging().create_warranty("value")
336
+
339
337
  Args:
340
- order_id:string | * REQUIRED An Amazon order identifier. This specifies the order for which a message is sent.
341
- body: {
342
- "attachments": [
343
- {
344
- "uploadDestinationId": "string",
345
- "fileName": "string"
346
- }
347
- ],
348
- "coverageStartDate": "2019-08-24T14:15:22Z",
349
- "coverageEndDate": "2019-08-24T14:15:22Z"
350
- }
351
-
352
-
338
+ amazonOrderId: object | required An Amazon order identifier. This identifies the order for which a message is sent.
339
+ key marketplaceIds: object | required A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
340
+ body: CreateWarrantyRequest | required This contains the message body for a message.
341
+
353
342
  Returns:
354
- ApiResponse:
343
+ ApiResponse
355
344
  """
356
345
 
357
346
  return await self._request(
@@ -367,22 +356,30 @@ class Messaging(AsyncBaseClient):
367
356
  async def get_attributes(self, order_id, **kwargs) -> ApiResponse:
368
357
  """
369
358
  get_attributes(self, order_id, **kwargs) -> ApiResponse
370
-
359
+
371
360
  Returns a response containing attributes related to an order. This includes buyer preferences.
372
-
361
+
373
362
  **Usage Plan:**
374
-
363
+
375
364
  ====================================== ==============
376
365
  Rate (requests per second) Burst
377
366
  ====================================== ==============
378
367
  1 5
379
368
  ====================================== ==============
380
-
369
+
370
+ For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
371
+
372
+ Examples:
373
+ literal blocks::
374
+
375
+ await Messaging().get_attributes("value")
376
+
381
377
  Args:
382
- order_id:string | * REQUIRED An Amazon order identifier. This specifies the order for which a message is sent.
383
-
378
+ amazonOrderId: object | required An Amazon order identifier. This identifies the order for which a message is sent.
379
+ key marketplaceIds: object | required A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
380
+
384
381
  Returns:
385
- ApiResponse:
382
+ ApiResponse
386
383
  """
387
384
 
388
385
  return await self._request(
@@ -393,34 +390,31 @@ class Messaging(AsyncBaseClient):
393
390
  async def create_digital_access_key(self, order_id, **kwargs) -> ApiResponse:
394
391
  """
395
392
  create_digital_access_key(self, order_id, **kwargs) -> ApiResponse
396
-
397
- Sends a message to a buyer to share a digital access key needed to utilize digital content in their order.
398
-
393
+
394
+ Sends a buyer a message to share a digital access key that is required to utilize digital content in their order.
395
+
399
396
  **Usage Plan:**
400
-
401
-
397
+
402
398
  ====================================== ==============
403
399
  Rate (requests per second) Burst
404
400
  ====================================== ==============
405
401
  1 5
406
402
  ====================================== ==============
407
-
403
+
408
404
  For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
409
-
405
+
406
+ Examples:
407
+ literal blocks::
408
+
409
+ await Messaging().create_digital_access_key("value")
410
+
410
411
  Args:
411
- order_id:string | * REQUIRED An Amazon order identifier. This specifies the order for which a message is sent.
412
- body: {
413
- "text": "string",
414
- "attachments": [
415
- {
416
- "uploadDestinationId": "string",
417
- "fileName": "string"
418
- }
419
- ]
420
- }
421
-
412
+ amazonOrderId: object | required An Amazon order identifier. This identifies the order for which a message is sent.
413
+ key marketplaceIds: object | required A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
414
+ body: CreateDigitalAccessKeyRequest | required This contains the message body for a message.
415
+
422
416
  Returns:
423
- ApiResponse:
417
+ ApiResponse
424
418
  """
425
419
 
426
420
  return await self._request(
@@ -436,27 +430,31 @@ class Messaging(AsyncBaseClient):
436
430
  async def create_unexpected_problem(self, order_id, **kwargs) -> ApiResponse:
437
431
  """
438
432
  create_unexpected_problem(self, order_id, **kwargs) -> ApiResponse
439
-
433
+
440
434
  Sends a critical message to a buyer that an unexpected problem was encountered affecting the completion of the order.
441
-
435
+
442
436
  **Usage Plan:**
443
-
437
+
444
438
  ====================================== ==============
445
439
  Rate (requests per second) Burst
446
440
  ====================================== ==============
447
441
  1 5
448
442
  ====================================== ==============
449
-
443
+
450
444
  For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
451
-
445
+
446
+ Examples:
447
+ literal blocks::
448
+
449
+ await Messaging().create_unexpected_problem("value")
450
+
452
451
  Args:
453
- order_id:string | * REQUIRED An Amazon order identifier. This specifies the order for which a message is sent.
454
- body: {
455
- "text": "string"
456
- }
457
-
452
+ amazonOrderId: object | required An Amazon order identifier. This identifies the order for which a message is sent.
453
+ key marketplaceIds: object | required A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
454
+ body: CreateUnexpectedProblemRequest | required This contains the message body for a message.
455
+
458
456
  Returns:
459
- ApiResponse:
457
+ ApiResponse
460
458
  """
461
459
 
462
460
  return await self._request(
@@ -472,33 +470,21 @@ class Messaging(AsyncBaseClient):
472
470
  async def send_invoice(self, order_id, **kwargs) -> ApiResponse:
473
471
  """
474
472
  send_invoice(self, order_id, **kwargs) -> ApiResponse
475
-
473
+
476
474
  Sends a message providing the buyer an invoice
477
-
478
- **Usage Plan:**
479
-
480
- ====================================== ==============
481
- Rate (requests per second) Burst
482
- ====================================== ==============
483
- 1 5
484
- ====================================== ==============
485
-
486
- For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
487
-
475
+
476
+ Examples:
477
+ literal blocks::
478
+
479
+ await Messaging().send_invoice("value")
480
+
488
481
  Args:
489
- order_id:string | * REQUIRED An Amazon order identifier. This specifies the order for which a message is sent.
490
- body: {
491
- "attachments": [
492
- {
493
- "uploadDestinationId": "string",
494
- "fileName": "string"
495
- }
496
- ]
497
- }
498
-
499
-
482
+ amazonOrderId: object | required An Amazon order identifier. This identifies the order for which a message is sent.
483
+ key marketplaceIds: object | required A marketplace identifier. This identifies the marketplace in which the order was placed. You can only specify one marketplace.
484
+ body: InvoiceRequest | required This contains the message body for a message.
485
+
500
486
  Returns:
501
- ApiResponse:
487
+ ApiResponse
502
488
  """
503
489
 
504
490
  return await self._request(
@@ -508,4 +494,4 @@ class Messaging(AsyncBaseClient):
508
494
  "marketplaceIds": self.marketplace_id,
509
495
  "method": kwargs.pop("method"),
510
496
  },
511
- )
497
+ )