python-amazon-sp-api 1.7.5__py3-none-any.whl → 2.0.10__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-1.7.5.data → python_amazon_sp_api-2.0.10.data}/scripts/make_endpoint +2 -2
  2. {python_amazon_sp_api-1.7.5.dist-info → python_amazon_sp_api-2.0.10.dist-info}/METADATA +58 -8
  3. python_amazon_sp_api-2.0.10.dist-info/RECORD +253 -0
  4. {python_amazon_sp_api-1.7.5.dist-info → python_amazon_sp_api-2.0.10.dist-info}/WHEEL +1 -1
  5. {python_amazon_sp_api-1.7.5.dist-info → python_amazon_sp_api-2.0.10.dist-info}/top_level.txt +0 -1
  6. sp_api/__version__.py +1 -1
  7. sp_api/api/__init__.py +48 -41
  8. sp_api/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu.py +82 -76
  9. sp_api/api/aplus_content/aplus_content.py +76 -45
  10. sp_api/api/application_integrations/application_integrations.py +118 -0
  11. sp_api/api/application_management/application_management.py +6 -7
  12. sp_api/api/authorization/authorization.py +5 -5
  13. sp_api/api/catalog/catalog.py +9 -10
  14. sp_api/api/catalog_items/catalog_items.py +10 -13
  15. sp_api/api/customer_feedback/customer_feedback.py +110 -0
  16. sp_api/api/data_kiosk/data_kiosk.py +59 -39
  17. sp_api/api/easy_ship/easy_ship.py +190 -0
  18. sp_api/api/external_fulfillment/external_fulfillment.py +706 -0
  19. sp_api/api/fba_inbound_eligibility/fba_inbound_eligibility.py +23 -13
  20. sp_api/api/fba_small_and_light/fba_small_and_light.py +46 -20
  21. sp_api/api/feeds/feeds.py +60 -39
  22. sp_api/api/finances/finances.py +40 -9
  23. sp_api/api/fulfillment_inbound/fulfillment_inbound.py +844 -619
  24. sp_api/api/fulfillment_outbound/fulfillment_outbound.py +63 -57
  25. sp_api/api/inventories/inventories.py +13 -11
  26. sp_api/api/listings_items/listings_items.py +38 -25
  27. sp_api/api/listings_restrictions/listings_restrictions.py +6 -7
  28. sp_api/api/merchant_fulfillment/merchant_fulfillment.py +49 -36
  29. sp_api/api/messaging/messaging.py +129 -25
  30. sp_api/api/notifications/notifications.py +85 -45
  31. sp_api/api/orders/orders.py +123 -38
  32. sp_api/api/orders/orders_2026_01_01.py +54 -0
  33. sp_api/api/product_fees/product_fees.py +75 -67
  34. sp_api/api/product_type_definitions/product_type_definitions.py +9 -10
  35. sp_api/api/products/products.py +177 -53
  36. sp_api/api/products/products_definitions.py +11 -82
  37. sp_api/api/replenishment/replenishment.py +13 -11
  38. sp_api/api/reports/reports.py +113 -95
  39. sp_api/api/sales/sales.py +23 -13
  40. sp_api/api/sellers/sellers.py +3 -3
  41. sp_api/api/services/services.py +41 -30
  42. sp_api/api/shipping/shipping.py +39 -37
  43. sp_api/api/shipping/shippingV2.py +46 -30
  44. sp_api/api/solicitations/solicitations.py +20 -11
  45. sp_api/api/supply_sources/supply_sources.py +45 -37
  46. sp_api/api/tokens/tokens.py +4 -6
  47. sp_api/api/upload/upload.py +10 -8
  48. sp_api/api/vendor_direct_fulfillment_inventory/vendor_direct_fulfillment_inventory.py +10 -6
  49. sp_api/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders.py +12 -14
  50. sp_api/api/vendor_direct_fulfillment_payments/vendor_direct_fulfillment_payments.py +4 -6
  51. sp_api/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping.py +42 -37
  52. sp_api/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions.py +8 -6
  53. sp_api/api/vendor_invoices/vendor_invoices.py +6 -4
  54. sp_api/api/vendor_orders/vendor_orders.py +16 -19
  55. sp_api/api/vendor_shipments/vendor_shipments.py +91 -262
  56. sp_api/api/vendor_transaction_status/vendor_transaction_status.py +6 -6
  57. sp_api/asyncio/api/__init__.py +167 -0
  58. sp_api/asyncio/api/amazon_warehousing_and_distribu/__init__.py +9 -0
  59. sp_api/asyncio/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu.py +130 -0
  60. sp_api/asyncio/api/aplus_content/__init__.py +5 -0
  61. sp_api/asyncio/api/aplus_content/aplus_content.py +330 -0
  62. sp_api/asyncio/api/application_integrations/__init__.py +5 -0
  63. sp_api/asyncio/api/application_integrations/application_integrations.py +119 -0
  64. sp_api/asyncio/api/application_management/__init__.py +5 -0
  65. sp_api/asyncio/api/application_management/application_management.py +36 -0
  66. sp_api/asyncio/api/authorization/__init__.py +5 -0
  67. sp_api/asyncio/api/authorization/authorization.py +54 -0
  68. sp_api/asyncio/api/catalog/__init__.py +5 -0
  69. sp_api/asyncio/api/catalog/catalog.py +111 -0
  70. sp_api/asyncio/api/catalog_items/__init__.py +6 -0
  71. sp_api/asyncio/api/catalog_items/catalog_items.py +93 -0
  72. sp_api/asyncio/api/clients/__init__.py +1 -0
  73. sp_api/asyncio/api/customer_feedback/__init__.py +5 -0
  74. sp_api/asyncio/api/customer_feedback/customer_feedback.py +111 -0
  75. sp_api/asyncio/api/data_kiosk/__init__.py +5 -0
  76. sp_api/asyncio/api/data_kiosk/data_kiosk.py +236 -0
  77. sp_api/asyncio/api/easy_ship/__init__.py +5 -0
  78. sp_api/asyncio/api/easy_ship/easy_ship.py +191 -0
  79. sp_api/asyncio/api/external_fulfillment/__init__.py +5 -0
  80. sp_api/asyncio/api/external_fulfillment/external_fulfillment.py +706 -0
  81. sp_api/asyncio/api/fba_inbound_eligibility/__init__.py +5 -0
  82. sp_api/asyncio/api/fba_inbound_eligibility/fba_inbound_eligibility.py +96 -0
  83. sp_api/asyncio/api/fba_small_and_light/__init__.py +5 -0
  84. sp_api/asyncio/api/fba_small_and_light/fba_small_and_light.py +213 -0
  85. sp_api/asyncio/api/feeds/feeds.py +260 -0
  86. sp_api/asyncio/api/finances/finances.py +100 -0
  87. sp_api/asyncio/api/fulfillment_inbound/fulfillment_inbound.py +1798 -0
  88. sp_api/asyncio/api/fulfillment_outbound/fulfillment_outbound.py +736 -0
  89. sp_api/asyncio/api/inventories/inventories.py +74 -0
  90. sp_api/asyncio/api/listings_items/__init__.py +0 -0
  91. sp_api/asyncio/api/listings_items/listings_items.py +170 -0
  92. sp_api/asyncio/api/listings_restrictions/__init__.py +0 -0
  93. sp_api/asyncio/api/listings_restrictions/listings_restrictions.py +36 -0
  94. sp_api/asyncio/api/merchant_fulfillment/__init__.py +0 -0
  95. sp_api/asyncio/api/merchant_fulfillment/merchant_fulfillment.py +384 -0
  96. sp_api/asyncio/api/messaging/__init__.py +0 -0
  97. sp_api/asyncio/api/messaging/messaging.py +511 -0
  98. sp_api/asyncio/api/models/__init__.py +4 -0
  99. sp_api/asyncio/api/notifications/__init__.py +0 -0
  100. sp_api/asyncio/api/notifications/notifications.py +295 -0
  101. sp_api/asyncio/api/orders/__init__.py +0 -0
  102. sp_api/asyncio/api/orders/orders.py +412 -0
  103. sp_api/asyncio/api/orders/orders_2026_01_01.py +40 -0
  104. sp_api/asyncio/api/overrides/__init__.py +1 -0
  105. sp_api/asyncio/api/product_fees/__init__.py +0 -0
  106. sp_api/asyncio/api/product_fees/product_fees.py +194 -0
  107. sp_api/asyncio/api/product_type_definitions/__init__.py +0 -0
  108. sp_api/asyncio/api/product_type_definitions/product_type_definitions.py +75 -0
  109. sp_api/asyncio/api/products/__init__.py +0 -0
  110. sp_api/asyncio/api/products/products.py +405 -0
  111. sp_api/asyncio/api/products/products_definitions.py +11 -0
  112. sp_api/asyncio/api/replenishment/__init__.py +0 -0
  113. sp_api/asyncio/api/replenishment/replenishment.py +121 -0
  114. sp_api/asyncio/api/reports/__init__.py +0 -0
  115. sp_api/asyncio/api/reports/reports.py +439 -0
  116. sp_api/asyncio/api/sales/__init__.py +0 -0
  117. sp_api/asyncio/api/sales/sales.py +93 -0
  118. sp_api/asyncio/api/sellers/__init__.py +0 -0
  119. sp_api/asyncio/api/sellers/sellers.py +70 -0
  120. sp_api/asyncio/api/services/__init__.py +0 -0
  121. sp_api/asyncio/api/services/services.py +218 -0
  122. sp_api/asyncio/api/shipping/__init__.py +0 -0
  123. sp_api/asyncio/api/shipping/shipping.py +459 -0
  124. sp_api/asyncio/api/shipping/shippingV2.py +651 -0
  125. sp_api/asyncio/api/solicitations/__init__.py +0 -0
  126. sp_api/asyncio/api/solicitations/solicitations.py +78 -0
  127. sp_api/asyncio/api/supply_sources/__init__.py +0 -0
  128. sp_api/asyncio/api/supply_sources/supply_sources.py +138 -0
  129. sp_api/asyncio/api/tokens/__init__.py +0 -0
  130. sp_api/asyncio/api/tokens/tokens.py +65 -0
  131. sp_api/asyncio/api/upload/__init__.py +0 -0
  132. sp_api/asyncio/api/upload/upload.py +18 -0
  133. sp_api/asyncio/api/vendor_direct_fulfillment_inventory/__init__.py +0 -0
  134. sp_api/asyncio/api/vendor_direct_fulfillment_inventory/vendor_direct_fulfillment_inventory.py +64 -0
  135. sp_api/asyncio/api/vendor_direct_fulfillment_orders/__init__.py +0 -0
  136. sp_api/asyncio/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders.py +196 -0
  137. sp_api/asyncio/api/vendor_direct_fulfillment_payments/__init__.py +0 -0
  138. sp_api/asyncio/api/vendor_direct_fulfillment_payments/vendor_direct_fulfillment_payments.py +254 -0
  139. sp_api/asyncio/api/vendor_direct_fulfillment_shipping/__init__.py +0 -0
  140. sp_api/asyncio/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping.py +627 -0
  141. sp_api/asyncio/api/vendor_direct_fulfillment_transactions/__init__.py +0 -0
  142. sp_api/asyncio/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions.py +43 -0
  143. sp_api/asyncio/api/vendor_invoices/__init__.py +0 -0
  144. sp_api/asyncio/api/vendor_invoices/vendor_invoices.py +295 -0
  145. sp_api/asyncio/api/vendor_orders/__init__.py +0 -0
  146. sp_api/asyncio/api/vendor_orders/vendor_orders.py +210 -0
  147. sp_api/asyncio/api/vendor_shipments/__init__.py +0 -0
  148. sp_api/asyncio/api/vendor_shipments/vendor_shipments.py +118 -0
  149. sp_api/asyncio/api/vendor_transaction_status/__init__.py +0 -0
  150. sp_api/asyncio/api/vendor_transaction_status/vendor_transaction_status.py +41 -0
  151. sp_api/asyncio/auth/__init__.py +12 -0
  152. sp_api/asyncio/auth/access_token_client.py +145 -0
  153. sp_api/asyncio/auth/exceptions.py +5 -0
  154. sp_api/asyncio/base/__init__.py +53 -0
  155. sp_api/asyncio/base/_transport_httpx.py +50 -0
  156. sp_api/asyncio/base/base_client.py +8 -0
  157. sp_api/asyncio/base/client.py +169 -0
  158. sp_api/asyncio/util/__init__.py +29 -0
  159. sp_api/asyncio/util/key_maker.py +5 -0
  160. sp_api/asyncio/util/load_all_pages.py +55 -0
  161. sp_api/asyncio/util/load_date_bound.py +53 -0
  162. sp_api/asyncio/util/retry.py +88 -0
  163. sp_api/auth/__init__.py +3 -3
  164. sp_api/auth/_core.py +39 -0
  165. sp_api/auth/access_token_client.py +20 -31
  166. sp_api/auth/access_token_response.py +4 -4
  167. sp_api/base/ApiResponse.py +5 -4
  168. sp_api/base/__init__.py +53 -42
  169. sp_api/base/_core.py +110 -0
  170. sp_api/base/_transport_httpx.py +39 -0
  171. sp_api/base/base_client.py +4 -4
  172. sp_api/base/client.py +131 -112
  173. sp_api/base/credential_provider.py +41 -34
  174. sp_api/base/exceptions.py +14 -3
  175. sp_api/base/feedTypes.py +44 -32
  176. sp_api/base/fulfillment_channel.py +2 -2
  177. sp_api/base/helpers.py +17 -16
  178. sp_api/base/identifiersType.py +8 -8
  179. sp_api/base/included_data.py +12 -12
  180. sp_api/base/marketplaces.py +5 -1
  181. sp_api/base/notifications.py +1 -1
  182. sp_api/base/processing_status.py +5 -5
  183. sp_api/base/reportTypes.py +198 -111
  184. sp_api/base/sales_enum.py +11 -13
  185. sp_api/util/__init__.py +42 -6
  186. sp_api/util/key_maker.py +4 -2
  187. sp_api/util/load_all_pages.py +16 -5
  188. sp_api/util/load_date_bound.py +28 -13
  189. sp_api/util/params.py +57 -0
  190. sp_api/util/product_fees.py +40 -0
  191. sp_api/util/products_definitions.py +169 -0
  192. sp_api/util/report_document.py +154 -0
  193. sp_api/util/retry.py +16 -15
  194. python_amazon_sp_api-1.7.5.dist-info/RECORD +0 -144
  195. tests/api/finances/test_finances.py +0 -19
  196. tests/api/notifications/test_notifications.py +0 -26
  197. tests/api/orders/test_orders.py +0 -122
  198. tests/api/product_fees/product_fees.py +0 -49
  199. tests/api/reports/test_reports.py +0 -127
  200. tests/client/test_auth.py +0 -59
  201. tests/client/test_base.py +0 -163
  202. tests/client/test_credential_provider.py +0 -45
  203. tests/client/test_helpers.py +0 -142
  204. {python_amazon_sp_api-1.7.5.dist-info → python_amazon_sp_api-2.0.10.dist-info/licenses}/LICENSE +0 -0
  205. {tests → sp_api/api/application_integrations}/__init__.py +0 -0
  206. {tests/api → sp_api/api/customer_feedback}/__init__.py +0 -0
  207. {tests/api/finances → sp_api/api/easy_ship}/__init__.py +0 -0
  208. {tests/api/notifications → sp_api/api/external_fulfillment}/__init__.py +0 -0
  209. {tests/api/orders → sp_api/asyncio}/__init__.py +0 -0
  210. {tests/api/product_fees → sp_api/asyncio/api/feeds}/__init__.py +0 -0
  211. {tests/api/reports → sp_api/asyncio/api/finances}/__init__.py +0 -0
  212. {tests/api/sellers → sp_api/asyncio/api/fulfillment_inbound}/__init__.py +0 -0
  213. {tests/client → sp_api/asyncio/api/fulfillment_outbound}/__init__.py +0 -0
  214. /tests/api/sellers/test_sellers.py → /sp_api/asyncio/api/inventories/__init__.py +0 -0
@@ -6,283 +6,112 @@ from sp_api.base import Client, sp_endpoint, fill_query_params, ApiResponse
6
6
  class VendorShipments(Client):
7
7
  """
8
8
  VendorShipments SP-API Client
9
- :link:
9
+ :link:
10
10
 
11
11
  The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.
12
12
  """
13
13
 
14
-
15
- @sp_endpoint('/vendor/shipping/v1/shipmentConfirmations', method='POST')
14
+ @sp_endpoint("/vendor/shipping/v1/shipmentConfirmations", method="POST")
16
15
  def submit_shipment_confirmations(self, **kwargs) -> ApiResponse:
17
16
  """
18
17
  submit_shipment_confirmations(self, **kwargs) -> ApiResponse
19
18
 
20
19
  Submits one or more shipment confirmations for vendor orders.
21
20
 
22
- **Usage Plans:**
21
+ **Usage Plan:**
22
+
23
+ | Rate (requests per second) | Burst |
24
+ | ---- | ---- |
25
+ | 10 | 10 |
26
+
27
+ 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).
28
+
29
+ Args:
30
+
31
+ body: | * REQUIRED {'description': 'The request schema for the SubmitShipmentConfirmations operation.',
32
+ 'properties': {'shipmentConfirmations': {'description': 'A list of one or more shipment confirmations.', 'items': {'$ref': '#/definitions/ShipmentConfirmation'}, 'type': 'array'}},
33
+ 'type': 'object'}
34
+
35
+
36
+ Returns:
37
+ ApiResponse:
38
+ """
39
+
40
+ return self._request(kwargs.pop("path"), data=kwargs)
41
+
42
+ @sp_endpoint("/vendor/shipping/v1/shipments", method="POST")
43
+ def submit_shipments(self, **kwargs) -> ApiResponse:
44
+ """
45
+ submit_shipments(self, **kwargs) -> ApiResponse
46
+
47
+ Submits one or more shipment request for vendor Orders.
48
+
49
+ **Usage Plan:**
50
+
51
+ | Rate (requests per second) | Burst |
52
+ | ---- | ---- |
53
+ | 10 | 10 |
23
54
 
24
- ====================================== ==============
25
- Rate (requests per second) Burst
26
- ====================================== ==============
27
- 10 10
28
- ====================================== ==============
55
+ 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).
29
56
 
30
- The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
57
+ Args:
58
+
59
+ body: | * REQUIRED {'description': 'The request schema for the SubmitShipments operation.',
60
+ 'properties': {'shipments': {'description': 'A list of one or more shipments with underlying details.', 'items': {'$ref': '#/definitions/Shipment'}, 'type': 'array'}},
61
+ 'type': 'object'}
62
+
63
+
64
+ Returns:
65
+ ApiResponse:
66
+ """
67
+
68
+ return self._request(kwargs.pop("path"), data=kwargs)
69
+
70
+ @sp_endpoint("/vendor/shipping/v1/shipments", method="GET")
71
+ def get_shipment_details(self, **kwargs) -> ApiResponse:
72
+ """
73
+ get_shipment_details(self, **kwargs) -> ApiResponse
74
+
75
+ Returns the Details about Shipment, Carrier Details, status of the shipment, container details and other details related to shipment based on the filter parameters value that you specify.
76
+
77
+ **Usage Plan:**
78
+
79
+ | Rate (requests per second) | Burst |
80
+ | ---- | ---- |
81
+ | 10 | 10 |
82
+
83
+ 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).
31
84
 
32
85
  Args:
33
- body: {
34
- "shipmentConfirmations": [
35
- {
36
- "shipmentIdentifier": "string",
37
- "shipmentConfirmationType": "Original",
38
- "shipmentType": "TruckLoad",
39
- "shipmentStructure": "PalletizedAssortmentCase",
40
- "transportationDetails": {
41
- "carrierScac": "string",
42
- "carrierShipmentReferenceNumber": "string",
43
- "transportationMode": "Road",
44
- "billOfLadingNumber": "string"
45
- },
46
- "amazonReferenceNumber": "string",
47
- "shipmentConfirmationDate": "2019-08-24T14:15:22Z",
48
- "shippedDate": "2019-08-24T14:15:22Z",
49
- "estimatedDeliveryDate": "2019-08-24T14:15:22Z",
50
- "sellingParty": {
51
- "address": {
52
- "name": "string",
53
- "addressLine1": "string",
54
- "addressLine2": "string",
55
- "addressLine3": "string",
56
- "city": "string",
57
- "county": "string",
58
- "district": "string",
59
- "stateOrRegion": "string",
60
- "postalCode": "string",
61
- "countryCode": "string",
62
- "phone": "string"
63
- },
64
- "partyId": "string",
65
- "taxRegistrationDetails": [
66
- {
67
- "taxRegistrationType": "VAT",
68
- "taxRegistrationNumber": "string"
69
- }
70
- ]
71
- },
72
- "shipFromParty": {
73
- "address": {
74
- "name": "string",
75
- "addressLine1": "string",
76
- "addressLine2": "string",
77
- "addressLine3": "string",
78
- "city": "string",
79
- "county": "string",
80
- "district": "string",
81
- "stateOrRegion": "string",
82
- "postalCode": "string",
83
- "countryCode": "string",
84
- "phone": "string"
85
- },
86
- "partyId": "string",
87
- "taxRegistrationDetails": [
88
- {
89
- "taxRegistrationType": "VAT",
90
- "taxRegistrationNumber": "string"
91
- }
92
- ]
93
- },
94
- "shipToParty": {
95
- "address": {
96
- "name": "string",
97
- "addressLine1": "string",
98
- "addressLine2": "string",
99
- "addressLine3": "string",
100
- "city": "string",
101
- "county": "string",
102
- "district": "string",
103
- "stateOrRegion": "string",
104
- "postalCode": "string",
105
- "countryCode": "string",
106
- "phone": "string"
107
- },
108
- "partyId": "string",
109
- "taxRegistrationDetails": [
110
- {
111
- "taxRegistrationType": "VAT",
112
- "taxRegistrationNumber": "string"
113
- }
114
- ]
115
- },
116
- "shipmentMeasurements": {
117
- "grossShipmentWeight": {
118
- "unitOfMeasure": "G",
119
- "value": "string"
120
- },
121
- "shipmentVolume": {
122
- "unitOfMeasure": "CuFt",
123
- "value": "string"
124
- },
125
- "cartonCount": 0,
126
- "palletCount": 0
127
- },
128
- "importDetails": {
129
- "methodOfPayment": "PaidByBuyer",
130
- "sealNumber": "string",
131
- "route": {
132
- "stops": [
133
- {
134
- "functionCode": "PortOfDischarge",
135
- "locationIdentification": {
136
- "type": "string",
137
- "locationCode": "string",
138
- "countryCode": "string"
139
- },
140
- "arrivalTime": "2019-08-24T14:15:22Z",
141
- "departureTime": "2019-08-24T14:15:22Z"
142
- }
143
- ]
144
- },
145
- "importContainers": "string",
146
- "billableWeight": {
147
- "unitOfMeasure": "G",
148
- "value": "string"
149
- },
150
- "estimatedShipByDate": "2019-08-24T14:15:22Z"
151
- },
152
- "shippedItems": [
153
- {
154
- "itemSequenceNumber": "string",
155
- "amazonProductIdentifier": "string",
156
- "vendorProductIdentifier": "string",
157
- "shippedQuantity": {
158
- "amount": 0,
159
- "unitOfMeasure": "Cases",
160
- "unitSize": 0
161
- },
162
- "itemDetails": {
163
- "purchaseOrderNumber": "string",
164
- "lotNumber": "string",
165
- "expiry": {
166
- "manufacturerDate": "2019-08-24T14:15:22Z",
167
- "expiryDate": "2019-08-24T14:15:22Z",
168
- "expiryAfterDuration": {
169
- "durationUnit": "Days",
170
- "durationValue": 0
171
- }
172
- },
173
- "maximumRetailPrice": {
174
- "currencyCode": "string",
175
- "amount": "string"
176
- },
177
- "handlingCode": "Oversized"
178
- }
179
- }
180
- ],
181
- "cartons": [
182
- {
183
- "cartonIdentifiers": [
184
- {
185
- "containerIdentificationType": "SSCC",
186
- "containerIdentificationNumber": "string"
187
- }
188
- ],
189
- "cartonSequenceNumber": "string",
190
- "dimensions": {
191
- "length": "string",
192
- "width": "string",
193
- "height": "string",
194
- "unitOfMeasure": "In"
195
- },
196
- "weight": {
197
- "unitOfMeasure": "G",
198
- "value": "string"
199
- },
200
- "trackingNumber": "string",
201
- "items": [
202
- {
203
- "itemReference": "string",
204
- "shippedQuantity": {
205
- "amount": 0,
206
- "unitOfMeasure": "Cases",
207
- "unitSize": 0
208
- },
209
- "itemDetails": {
210
- "purchaseOrderNumber": "string",
211
- "lotNumber": "string",
212
- "expiry": {
213
- "manufacturerDate": "2019-08-24T14:15:22Z",
214
- "expiryDate": "2019-08-24T14:15:22Z",
215
- "expiryAfterDuration": {}
216
- },
217
- "maximumRetailPrice": {
218
- "currencyCode": "string",
219
- "amount": "string"
220
- },
221
- "handlingCode": "Oversized"
222
- }
223
- }
224
- ]
225
- }
226
- ],
227
- "pallets": [
228
- {
229
- "palletIdentifiers": [
230
- {
231
- "containerIdentificationType": "SSCC",
232
- "containerIdentificationNumber": "string"
233
- }
234
- ],
235
- "tier": 0,
236
- "block": 0,
237
- "dimensions": {
238
- "length": "string",
239
- "width": "string",
240
- "height": "string",
241
- "unitOfMeasure": "In"
242
- },
243
- "weight": {
244
- "unitOfMeasure": "G",
245
- "value": "string"
246
- },
247
- "cartonReferenceDetails": {
248
- "cartonCount": 0,
249
- "cartonReferenceNumbers": [
250
- "string"
251
- ]
252
- },
253
- "items": [
254
- {
255
- "itemReference": "string",
256
- "shippedQuantity": {
257
- "amount": 0,
258
- "unitOfMeasure": "Cases",
259
- "unitSize": 0
260
- },
261
- "itemDetails": {
262
- "purchaseOrderNumber": "string",
263
- "lotNumber": "string",
264
- "expiry": {
265
- "manufacturerDate": "2019-08-24T14:15:22Z",
266
- "expiryDate": "2019-08-24T14:15:22Z",
267
- "expiryAfterDuration": {}
268
- },
269
- "maximumRetailPrice": {
270
- "currencyCode": "string",
271
- "amount": "string"
272
- },
273
- "handlingCode": "Oversized"
274
- }
275
- }
276
- ]
277
- }
278
- ]
279
- }
280
- ]
281
- }
86
+
87
+ key limit:integer | The limit to the number of records returned. Default value is 50 records.
88
+ key sortOrder:string | Sort in ascending or descending order by purchase order creation date.
89
+ key nextToken:string | Used for pagination when there are more shipments than the specified result size limit.
90
+ key createdAfter:string | Get Shipment Details that became available after this timestamp will be included in the result. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.
91
+ key createdBefore:string | Get Shipment Details that became available before this timestamp will be included in the result. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.
92
+ key shipmentConfirmedBefore:string | Get Shipment Details by passing Shipment confirmed create Date Before. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.
93
+ key shipmentConfirmedAfter:string | Get Shipment Details by passing Shipment confirmed create Date After. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.
94
+ key packageLabelCreatedBefore:string | Get Shipment Details by passing Package label create Date by buyer. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.
95
+ key packageLabelCreatedAfter:string | Get Shipment Details by passing Package label create Date After by buyer. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.
96
+ key shippedBefore:string | Get Shipment Details by passing Shipped Date Before. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.
97
+ key shippedAfter:string | Get Shipment Details by passing Shipped Date After. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.
98
+ key estimatedDeliveryBefore:string | Get Shipment Details by passing Estimated Delivery Date Before. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.
99
+ key estimatedDeliveryAfter:string | Get Shipment Details by passing Estimated Delivery Date Before. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.
100
+ key shipmentDeliveryBefore:string | Get Shipment Details by passing Shipment Delivery Date Before. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.
101
+ key shipmentDeliveryAfter:string | Get Shipment Details by passing Shipment Delivery Date After. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.
102
+ key requestedPickUpBefore:string | Get Shipment Details by passing Before Requested pickup date. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.
103
+ key requestedPickUpAfter:string | Get Shipment Details by passing After Requested pickup date. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.
104
+ key scheduledPickUpBefore:string | Get Shipment Details by passing Before scheduled pickup date. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.
105
+ key scheduledPickUpAfter:string | Get Shipment Details by passing After Scheduled pickup date. Must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.
106
+ key currentShipmentStatus:string | Get Shipment Details by passing Current shipment status.
107
+ key vendorShipmentIdentifier:string | Get Shipment Details by passing Vendor Shipment ID
108
+ key buyerReferenceNumber:string | Get Shipment Details by passing buyer Reference ID
109
+ key buyerWarehouseCode:string | Get Shipping Details based on buyer warehouse code. This value should be same as 'shipToParty.partyId' in the Shipment.
110
+ key sellerWarehouseCode:string | Get Shipping Details based on vendor warehouse code. This value should be same as 'sellingParty.partyId' in the Shipment.
111
+
282
112
 
283
113
  Returns:
284
114
  ApiResponse:
285
115
  """
286
-
287
- return self._request(kwargs.pop('path'), data=kwargs)
288
-
116
+
117
+ return self._request(kwargs.pop("path"), params=kwargs)
@@ -6,13 +6,12 @@ from sp_api.base import Client, sp_endpoint, fill_query_params, ApiResponse
6
6
  class VendorTransactionStatus(Client):
7
7
  """
8
8
  VendorTransactionStatus SP-API Client
9
- :link:
9
+ :link:
10
10
 
11
11
  The Selling Partner API for Retail Procurement Transaction Status provides programmatic access to status information on specific asynchronous POST transactions for vendors.
12
12
  """
13
13
 
14
-
15
- @sp_endpoint('/vendor/transactions/v1/transactions/{}', method='GET')
14
+ @sp_endpoint("/vendor/transactions/v1/transactions/{}", method="GET")
16
15
  def get_transaction(self, transactionId, **kwargs) -> ApiResponse:
17
16
  """
18
17
  get_transaction(self, transactionId, **kwargs) -> ApiResponse
@@ -35,6 +34,7 @@ class VendorTransactionStatus(Client):
35
34
  Returns:
36
35
  ApiResponse:
37
36
  """
38
-
39
- return self._request(fill_query_params(kwargs.pop('path'), transactionId), params=kwargs)
40
-
37
+
38
+ return self._request(
39
+ fill_query_params(kwargs.pop("path"), transactionId), params=kwargs
40
+ )
@@ -0,0 +1,167 @@
1
+ from .finances.finances import Finances, FinancesVersion
2
+ from .notifications.notifications import Notifications
3
+ from .orders.orders import Orders, OrdersVersion
4
+ from .orders.orders_2026_01_01 import OrdersV20260101
5
+ from .product_fees.product_fees import ProductFees
6
+ from .sellers.sellers import Sellers
7
+ from .reports.reports import Reports
8
+ from .reports.reports import Reports as ReportsV2
9
+
10
+ from .products.products import Products
11
+ from .sales.sales import Sales
12
+ from .catalog.catalog import Catalog
13
+ from .feeds.feeds import Feeds
14
+ from .feeds.feeds import Feeds as FeedsV2
15
+
16
+ from .inventories.inventories import Inventories
17
+ from .fulfillment_inbound.fulfillment_inbound import (
18
+ FulfillmentInbound,
19
+ FulfillmentInboundVersion,
20
+ )
21
+ from .upload.upload import Upload
22
+ from .messaging.messaging import Messaging
23
+ from .merchant_fulfillment.merchant_fulfillment import MerchantFulfillment
24
+
25
+ ##### DO NOT DELETE ########## INSERT IMPORT HERE #######
26
+ from .application_integrations.application_integrations import ApplicationIntegrations
27
+
28
+ from .easy_ship.easy_ship import EasyShip
29
+
30
+ from .customer_feedback.customer_feedback import CustomerFeedback
31
+
32
+ from .listings_restrictions.listings_restrictions import ListingsRestrictions
33
+
34
+ from .messaging.messaging import Messaging
35
+
36
+ from .catalog_items.catalog_items import CatalogItems, CatalogItemsVersion
37
+
38
+ from .product_type_definitions.product_type_definitions import ProductTypeDefinitions
39
+
40
+ from .listings_items.listings_items import ListingsItems
41
+
42
+ from .vendor_transaction_status.vendor_transaction_status import VendorTransactionStatus
43
+
44
+ from .vendor_shipments.vendor_shipments import VendorShipments
45
+
46
+ from .vendor_orders.vendor_orders import VendorOrders
47
+
48
+ from .vendor_invoices.vendor_invoices import VendorInvoices
49
+
50
+ from .vendor_direct_fulfillment_transactions.vendor_direct_fulfillment_transactions import (
51
+ VendorDirectFulfillmentTransactions,
52
+ )
53
+
54
+ from .vendor_direct_fulfillment_shipping.vendor_direct_fulfillment_shipping import (
55
+ VendorDirectFulfillmentShipping,
56
+ )
57
+
58
+ from .vendor_direct_fulfillment_payments.vendor_direct_fulfillment_payments import (
59
+ VendorDirectFulfillmentPayments,
60
+ )
61
+
62
+ from .vendor_direct_fulfillment_orders.vendor_direct_fulfillment_orders import (
63
+ VendorDirectFulfillmentOrders,
64
+ )
65
+
66
+ from .vendor_direct_fulfillment_inventory.vendor_direct_fulfillment_inventory import (
67
+ VendorDirectFulfillmentInventory,
68
+ )
69
+
70
+ from .tokens.tokens import Tokens
71
+
72
+ from .solicitations.solicitations import Solicitations
73
+
74
+ from .shipping.shipping import Shipping
75
+
76
+ from .services.services import Services
77
+
78
+ from .fba_small_and_light.fba_small_and_light import FbaSmallAndLight
79
+
80
+ from .fba_inbound_eligibility.fba_inbound_eligibility import FbaInboundEligibility
81
+
82
+ from .authorization.authorization import Authorization
83
+
84
+ from .aplus_content.aplus_content import AplusContent
85
+
86
+ from .fulfillment_outbound.fulfillment_outbound import FulfillmentOutbound
87
+
88
+ from .replenishment.replenishment import Replenishment
89
+
90
+ from .supply_sources.supply_sources import SupplySources
91
+
92
+ from .data_kiosk.data_kiosk import DataKiosk
93
+
94
+ from .application_management.application_management import ApplicationManagement
95
+
96
+ from .amazon_warehousing_and_distribu.amazon_warehousing_and_distribu import (
97
+ AmazonWarehousingAndDistribution,
98
+ AmazonWarehousingAndDistributionVersion,
99
+ )
100
+
101
+ from .external_fulfillment.external_fulfillment import ExternalFulfillment
102
+
103
+ __all__ = [
104
+ "Sales",
105
+ "Products",
106
+ "Reports",
107
+ "Orders",
108
+ "OrdersVersion",
109
+ "OrdersV20260101",
110
+ "Sellers",
111
+ "Notifications",
112
+ "ProductFees",
113
+ "Finances",
114
+ "Catalog",
115
+ "Feeds",
116
+ "Inventories",
117
+ "FulfillmentInbound",
118
+ "Upload",
119
+ "Messaging",
120
+ "FulfillmentInbound",
121
+ "MerchantFulfillment",
122
+ ##### DO NOT DELETE ########## INSERT TITLE HERE #######
123
+ "ExternalFulfillment",
124
+ "ApplicationIntegrations",
125
+ "CustomerFeedback",
126
+ "FulfillmentInbound",
127
+
128
+ "EasyShip",
129
+
130
+
131
+ "FulfillmentInbound",
132
+ "FinancesVersion",
133
+ "ListingsRestrictions",
134
+ "CatalogItemsVersion",
135
+ "AmazonWarehousingAndDistributionVersion",
136
+ "FulfillmentInboundVersion",
137
+ "Feeds",
138
+ "FeedsV2",
139
+ "ReportsV2",
140
+ "Messaging",
141
+ "CatalogItems",
142
+ "ProductTypeDefinitions",
143
+ "ListingsItems",
144
+ "VendorTransactionStatus",
145
+ "VendorShipments",
146
+ "VendorOrders",
147
+ "VendorInvoices",
148
+ "VendorDirectFulfillmentTransactions",
149
+ "VendorDirectFulfillmentShipping",
150
+ "VendorDirectFulfillmentPayments",
151
+ "VendorDirectFulfillmentOrders",
152
+ "VendorDirectFulfillmentInventory",
153
+ "Tokens",
154
+ "Solicitations",
155
+ "Shipping",
156
+ "Services",
157
+ "FbaSmallAndLight",
158
+ "FbaInboundEligibility",
159
+ "Authorization",
160
+ "AplusContent",
161
+ "FulfillmentOutbound",
162
+ "Replenishment",
163
+ "SupplySources",
164
+ "DataKiosk",
165
+ "ApplicationManagement",
166
+ "AmazonWarehousingAndDistribution",
167
+ ]
@@ -0,0 +1,9 @@
1
+ from .amazon_warehousing_and_distribu import (
2
+ AmazonWarehousingAndDistribution,
3
+ AmazonWarehousingAndDistributionVersion,
4
+ )
5
+
6
+ __all__ = [
7
+ "AmazonWarehousingAndDistribution",
8
+ "AmazonWarehousingAndDistributionVersion",
9
+ ]