python-amazon-sp-api 1.7.10__py3-none-any.whl → 1.7.11__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.1
2
2
  Name: python-amazon-sp-api
3
- Version: 1.7.10
3
+ Version: 1.7.11
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,6 +1,6 @@
1
- python_amazon_sp_api-1.7.10.data/scripts/make_endpoint,sha256=MqbRD0V9rsbkEEKsPOZbSinYVTArtDAMCIqPJIYL4gI,8551
1
+ python_amazon_sp_api-1.7.11.data/scripts/make_endpoint,sha256=MqbRD0V9rsbkEEKsPOZbSinYVTArtDAMCIqPJIYL4gI,8551
2
2
  sp_api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- sp_api/__version__.py,sha256=rDTDGpN3-gj6zokdoFBT1K_1XHwALGh05ehDD2Pm_L4,23
3
+ sp_api/__version__.py,sha256=ojkFm7htPwJfTNADq92VwQndQJGhKmWwVrdOIBJmwBQ,23
4
4
  sp_api/api/__init__.py,sha256=j0FCJc1Z4DIin7c_tmuW8E5iJVNtwAvqlJYMn73_OJw,4236
5
5
  sp_api/api/amazon_warehousing_and_distribu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  sp_api/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu.py,sha256=SbgTlt91_90sTy28lp0rWMnc1wIfjVkE7cP98Md_L24,5580
@@ -25,7 +25,7 @@ sp_api/api/feeds/feeds.py,sha256=53ccj6JkV8SuZtGC7Zx9Lpq-0GDLajJHXTSOzXEfSbs,997
25
25
  sp_api/api/finances/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
26
  sp_api/api/finances/finances.py,sha256=q9Gx98WZdj37ZkSg-k5as0xS2FT4GsNQgm6EYo4sOHQ,1856
27
27
  sp_api/api/fulfillment_inbound/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
- sp_api/api/fulfillment_inbound/fulfillment_inbound.py,sha256=IoXgt0cgaepoqwqta3lui3tC319HiogBdZfQqqvtJAw,76163
28
+ sp_api/api/fulfillment_inbound/fulfillment_inbound.py,sha256=WYQLsHh0OYBnu_wu9TgD1wGp_cyAsm3ZVQe4U-DK_jU,79153
29
29
  sp_api/api/fulfillment_outbound/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
30
  sp_api/api/fulfillment_outbound/fulfillment_outbound.py,sha256=u8dSSnnGeSQXPg5_IL5Tb1V98TnoecLrPMCwgdw31J0,28743
31
31
  sp_api/api/inventories/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -137,8 +137,8 @@ tests/client/test_auth.py,sha256=fI4Lo5Z6O0GfqIldPlCe1OAoZRfAvMRjomo-mGfQxfs,199
137
137
  tests/client/test_base.py,sha256=SaXsycFpNYWy8zEYGVzb0aYUZuhJ4qz1_8oAvy6XAvg,4905
138
138
  tests/client/test_credential_provider.py,sha256=qSBVgDEaR7_C2CmJOY7KAmxNMOfVeE4qG0hfXH3Gk2o,1476
139
139
  tests/client/test_helpers.py,sha256=RzpnytJGSEIFDRqcMm2QpdIqZubDfNNQRNVgvZPX3K0,3731
140
- python_amazon_sp_api-1.7.10.dist-info/LICENSE,sha256=nbzomPIVo1PVl5bpGAntofsYAF7ZQ2UhzOtKgf7IiNw,1071
141
- python_amazon_sp_api-1.7.10.dist-info/METADATA,sha256=sELwQISf8YxCKRyxbKsus5exWzV72p80_nmUSWTdT6g,5595
142
- python_amazon_sp_api-1.7.10.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
143
- python_amazon_sp_api-1.7.10.dist-info/top_level.txt,sha256=oZPLMXOmLpAhwQ2La20WfRtlOYlnjub0v419-qPfwkw,13
144
- python_amazon_sp_api-1.7.10.dist-info/RECORD,,
140
+ python_amazon_sp_api-1.7.11.dist-info/LICENSE,sha256=nbzomPIVo1PVl5bpGAntofsYAF7ZQ2UhzOtKgf7IiNw,1071
141
+ python_amazon_sp_api-1.7.11.dist-info/METADATA,sha256=xK4HqDsMS8aY5WKilV4p5hcDAwuEKEWRaR1UW6nHvYg,5595
142
+ python_amazon_sp_api-1.7.11.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
143
+ python_amazon_sp_api-1.7.11.dist-info/top_level.txt,sha256=oZPLMXOmLpAhwQ2La20WfRtlOYlnjub0v419-qPfwkw,13
144
+ python_amazon_sp_api-1.7.11.dist-info/RECORD,,
sp_api/__version__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '1.7.10'
1
+ __version__ = '1.7.11'
@@ -1570,3 +1570,64 @@ The x-amzn-RateLimit-Limit response header returns the usage plan rate limits th
1570
1570
 
1571
1571
  return self._request(kwargs.pop('path'), data=kwargs)
1572
1572
 
1573
+ @sp_endpoint('/inbound/fba/<version>/inboundPlans/{}/shipments/{}/boxes', method='GET')
1574
+ def list_shipment_boxes(self, inboundPlanId, shipmentId, **kwargs) -> ApiResponse:
1575
+ """
1576
+ list_shipment_boxes(self, **kwargs) -> ApiResponse:
1577
+
1578
+ Provides a paginated list of box packages in a shipment.
1579
+
1580
+ **Usage Plan:**
1581
+
1582
+ | Rate (requests per second) | Burst |
1583
+ | ---- | ---- |
1584
+ | 2 | 30 |
1585
+
1586
+ The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.
1587
+ Args:
1588
+
1589
+ pageSize:string | *OPTIONAL Identifier of a shipment. A shipment contains the boxes and units being inbounded.
1590
+ paginationToken: | *OPTIONAL A token to fetch a certain page when there are multiple pages worth of results. The value of this token is fetched from the pagination returned in the API response. In the absence of the token value from the query parameter the API returns the first page of the result.
1591
+
1592
+ Returns:
1593
+ ApiResponse:
1594
+ """
1595
+
1596
+ return self._request(fill_query_params(kwargs.pop('path'), inboundPlanId, shipmentId), params=kwargs)
1597
+
1598
+ @sp_endpoint('/inbound/fba/<version>/inboundPlans/{}/shipments/{}/trackingDetails', method='PUT')
1599
+ def update_shipment_tracking_details(self, inboundPlanId, shipmentId, **kwargs) -> ApiResponse:
1600
+ """
1601
+ update_shipment_tracking_details(self, **kwargs) -> ApiResponse:
1602
+
1603
+ Updates a shipment's tracking details.
1604
+
1605
+ **Usage Plan:**
1606
+
1607
+ | Rate (requests per second) | Burst |
1608
+ | ---- | ---- |
1609
+ | 2 | 2 |
1610
+
1611
+ The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.
1612
+ Args:
1613
+
1614
+ body: | * REQUIRED {
1615
+ 'trackingDetails': [
1616
+ ltlTrackingDetail: [
1617
+ billOfLadingNumber: string,
1618
+ freightBillNumber: string<array>
1619
+ ],
1620
+ spdTrackingDetail: [
1621
+ spdTrackingItems:[
1622
+ boxId: string,
1623
+ trackingId: string,
1624
+ ]
1625
+ ],
1626
+ ],
1627
+ }
1628
+
1629
+ Returns:
1630
+ ApiResponse:
1631
+ """
1632
+
1633
+ return self._request(fill_query_params(kwargs.pop('path'), inboundPlanId, shipmentId), data=kwargs)