python-amazon-sp-api 1.9.46__py3-none-any.whl → 1.9.47__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-amazon-sp-api
3
- Version: 1.9.46
3
+ Version: 1.9.47
4
4
  Summary: Python wrapper for the Amazon Selling-Partner API
5
5
  Home-page: https://github.com/saleweaver/python-amazon-sp-api
6
6
  Author: Michael
@@ -1,7 +1,7 @@
1
- python_amazon_sp_api-1.9.46.data/scripts/make_endpoint,sha256=QWcwG6z4RWFJlzj4-xyHJymjObyKtwkvWFRq8T18iG0,8568
2
- python_amazon_sp_api-1.9.46.dist-info/licenses/LICENSE,sha256=nbzomPIVo1PVl5bpGAntofsYAF7ZQ2UhzOtKgf7IiNw,1071
1
+ python_amazon_sp_api-1.9.47.data/scripts/make_endpoint,sha256=QWcwG6z4RWFJlzj4-xyHJymjObyKtwkvWFRq8T18iG0,8568
2
+ python_amazon_sp_api-1.9.47.dist-info/licenses/LICENSE,sha256=nbzomPIVo1PVl5bpGAntofsYAF7ZQ2UhzOtKgf7IiNw,1071
3
3
  sp_api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- sp_api/__version__.py,sha256=UKMBKLo7Powg08ptd2uQ0a4jRB0OIUmwuVBrliOkiDM,23
4
+ sp_api/__version__.py,sha256=eXmKlD4iSXqkxowZW-Oce1KSzEwGlZglsxemACIdvVc,23
5
5
  sp_api/api/__init__.py,sha256=t29_Sr8XGPM2fD9tmD12Xb5hrOevyPRMK67cGbzc8vw,4560
6
6
  sp_api/api/amazon_warehousing_and_distribu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  sp_api/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu.py,sha256=bMBIxIj0eu6Gi6WY3XLdHHYDzNCwz0-9X59Jo9DoqfE,5863
@@ -30,7 +30,7 @@ sp_api/api/feeds/feeds.py,sha256=OddV53D7jxcsxYV7r_345qYrcXxRIlKpGfvh18AlKFo,101
30
30
  sp_api/api/finances/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
31
  sp_api/api/finances/finances.py,sha256=FW4B3uPfZC8ak6-CraMC59AZp3vPw83eUSvT9KeNEgA,2661
32
32
  sp_api/api/fulfillment_inbound/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
- sp_api/api/fulfillment_inbound/fulfillment_inbound.py,sha256=IqZst1uTO1EJkN6IFk5KfyBBcQSFc5Qdt6O32laDTPc,84842
33
+ sp_api/api/fulfillment_inbound/fulfillment_inbound.py,sha256=6KKayjoCQmw33gXK1jY1yuJje_g-P8ZjdX-AuLalyqY,86437
34
34
  sp_api/api/fulfillment_outbound/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
35
  sp_api/api/fulfillment_outbound/fulfillment_outbound.py,sha256=2XW8ZSJPzWTi3Pn6ewV6L_e_mi8UtJq0xiUIZXeUeQw,28789
36
36
  sp_api/api/inventories/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -142,7 +142,7 @@ tests/client/test_auth.py,sha256=fI4Lo5Z6O0GfqIldPlCe1OAoZRfAvMRjomo-mGfQxfs,199
142
142
  tests/client/test_base.py,sha256=SaXsycFpNYWy8zEYGVzb0aYUZuhJ4qz1_8oAvy6XAvg,4905
143
143
  tests/client/test_credential_provider.py,sha256=qSBVgDEaR7_C2CmJOY7KAmxNMOfVeE4qG0hfXH3Gk2o,1476
144
144
  tests/client/test_helpers.py,sha256=RzpnytJGSEIFDRqcMm2QpdIqZubDfNNQRNVgvZPX3K0,3731
145
- python_amazon_sp_api-1.9.46.dist-info/METADATA,sha256=CaYaHS9CLs-RBbx3LzvQuJ_8nJF84AMPL9-mUjQRo8M,5994
146
- python_amazon_sp_api-1.9.46.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
147
- python_amazon_sp_api-1.9.46.dist-info/top_level.txt,sha256=oZPLMXOmLpAhwQ2La20WfRtlOYlnjub0v419-qPfwkw,13
148
- python_amazon_sp_api-1.9.46.dist-info/RECORD,,
145
+ python_amazon_sp_api-1.9.47.dist-info/METADATA,sha256=SEO6CnQuHIi0DtPMMS6wGO-uMW1JsDllcNUpGLdSI-M,5994
146
+ python_amazon_sp_api-1.9.47.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
147
+ python_amazon_sp_api-1.9.47.dist-info/top_level.txt,sha256=oZPLMXOmLpAhwQ2La20WfRtlOYlnjub0v419-qPfwkw,13
148
+ python_amazon_sp_api-1.9.47.dist-info/RECORD,,
sp_api/__version__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '1.9.46'
1
+ __version__ = '1.9.47'
@@ -197,6 +197,39 @@ class FulfillmentInbound(Client):
197
197
  fill_query_params(kwargs.pop("path"), shipment_id), data={**data, **kwargs}
198
198
  )
199
199
 
200
+ @sp_endpoint(
201
+ "/inbound/fba/<version>/inboundPlans/{}/shipments/{}/name", method="PUT"
202
+ )
203
+ def update_shipment_name(self, inboundPlanId, shipmentId, **kwargs):
204
+ """
205
+ update_shipment_name(self, inboundPlanId, shipmentId, **kwargs) -> ApiResponse
206
+
207
+ Updates the name of an existing shipment.
208
+
209
+ **Usage Plan:**
210
+
211
+ | Rate (requests per second) | Burst |
212
+ | ---- | ---- |
213
+ | 2 | 30 |
214
+
215
+ The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
216
+
217
+ Args:
218
+
219
+ inboundPlanId:string | * REQUIRED Identifier to an inbound plan.
220
+
221
+ shipmentId:string | * REQUIRED Identifier to a shipment. A shipment contains the boxes and units being inbounded.
222
+
223
+ body: | * REQUIRED {'name': {'description': 'A human-readable name to update the shipment name to.'}, 'type': 'string'}
224
+
225
+ Returns:
226
+ ApiResponse:
227
+ """
228
+ return self._request(
229
+ fill_query_params(kwargs.pop("path"), inboundPlanId, shipmentId),
230
+ data=kwargs,
231
+ )
232
+
200
233
  @sp_endpoint("/fba/inbound/<version>/shipments/{}/preorder")
201
234
  def preorder(self, shipment_id, **kwargs):
202
235
  """