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
@@ -15,278 +15,29 @@ class VendorInvoices(Client):
15
15
  def submit_invoices(self, data, **kwargs) -> ApiResponse:
16
16
  """
17
17
  submit_invoices(self, data, **kwargs) -> ApiResponse
18
-
18
+
19
19
  Submit new invoices to Amazon.
20
-
21
- **Usage Plans:**
22
-
20
+
21
+ **Usage Plan:**
22
+
23
23
  ====================================== ==============
24
24
  Rate (requests per second) Burst
25
25
  ====================================== ==============
26
26
  10 10
27
27
  ====================================== ==============
28
-
29
- 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.
30
-
28
+
29
+ For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
30
+
31
+ Examples:
32
+ literal blocks::
33
+
34
+ VendorInvoices().submit_invoices("value")
35
+
31
36
  Args:
32
- data:
33
- {
34
- "invoices": [
35
- {
36
- "invoiceType": "Invoice",
37
- "id": "string",
38
- "referenceNumber": "string",
39
- "date": "2019-08-24T14:15:22Z",
40
- "remitToParty": {
41
- "partyId": "string",
42
- "address": {
43
- "name": "string",
44
- "addressLine1": "string",
45
- "addressLine2": "string",
46
- "addressLine3": "string",
47
- "city": "string",
48
- "county": "string",
49
- "district": "string",
50
- "stateOrRegion": "string",
51
- "postalOrZipCode": "string",
52
- "countryCode": "st",
53
- "phone": "string"
54
- },
55
- "taxRegistrationDetails": [
56
- {
57
- "taxRegistrationType": "VAT",
58
- "taxRegistrationNumber": "string"
59
- }
60
- ]
61
- },
62
- "shipToParty": {
63
- "partyId": "string",
64
- "address": {
65
- "name": "string",
66
- "addressLine1": "string",
67
- "addressLine2": "string",
68
- "addressLine3": "string",
69
- "city": "string",
70
- "county": "string",
71
- "district": "string",
72
- "stateOrRegion": "string",
73
- "postalOrZipCode": "string",
74
- "countryCode": "st",
75
- "phone": "string"
76
- },
77
- "taxRegistrationDetails": [
78
- {
79
- "taxRegistrationType": "VAT",
80
- "taxRegistrationNumber": "string"
81
- }
82
- ]
83
- },
84
- "shipFromParty": {
85
- "partyId": "string",
86
- "address": {
87
- "name": "string",
88
- "addressLine1": "string",
89
- "addressLine2": "string",
90
- "addressLine3": "string",
91
- "city": "string",
92
- "county": "string",
93
- "district": "string",
94
- "stateOrRegion": "string",
95
- "postalOrZipCode": "string",
96
- "countryCode": "st",
97
- "phone": "string"
98
- },
99
- "taxRegistrationDetails": [
100
- {
101
- "taxRegistrationType": "VAT",
102
- "taxRegistrationNumber": "string"
103
- }
104
- ]
105
- },
106
- "billToParty": {
107
- "partyId": "string",
108
- "address": {
109
- "name": "string",
110
- "addressLine1": "string",
111
- "addressLine2": "string",
112
- "addressLine3": "string",
113
- "city": "string",
114
- "county": "string",
115
- "district": "string",
116
- "stateOrRegion": "string",
117
- "postalOrZipCode": "string",
118
- "countryCode": "st",
119
- "phone": "string"
120
- },
121
- "taxRegistrationDetails": [
122
- {
123
- "taxRegistrationType": "VAT",
124
- "taxRegistrationNumber": "string"
125
- }
126
- ]
127
- },
128
- "paymentTerms": {
129
- "type": "Basic",
130
- "discountPercent": "string",
131
- "discountDueDays": 0,
132
- "netDueDays": 0
133
- },
134
- "invoiceTotal": {
135
- "currencyCode": "string",
136
- "amount": "string"
137
- },
138
- "taxDetails": [
139
- {
140
- "taxType": "CGST",
141
- "taxRate": "string",
142
- "taxAmount": {
143
- "currencyCode": "string",
144
- "amount": "string"
145
- },
146
- "taxableAmount": {
147
- "currencyCode": "string",
148
- "amount": "string"
149
- }
150
- }
151
- ],
152
- "additionalDetails": [
153
- {
154
- "type": "SUR",
155
- "detail": "string",
156
- "languageCode": "string"
157
- }
158
- ],
159
- "chargeDetails": [
160
- {
161
- "type": "Freight",
162
- "description": "string",
163
- "chargeAmount": {
164
- "currencyCode": "string",
165
- "amount": "string"
166
- },
167
- "taxDetails": [
168
- {
169
- "taxType": "CGST",
170
- "taxRate": "string",
171
- "taxAmount": {
172
- "currencyCode": "string",
173
- "amount": "string"
174
- },
175
- "taxableAmount": {
176
- "currencyCode": "string",
177
- "amount": "string"
178
- }
179
- }
180
- ]
181
- }
182
- ],
183
- "allowanceDetails": [
184
- {
185
- "type": "Discount",
186
- "description": "string",
187
- "allowanceAmount": {
188
- "currencyCode": "string",
189
- "amount": "string"
190
- },
191
- "taxDetails": [
192
- {
193
- "taxType": "CGST",
194
- "taxRate": "string",
195
- "taxAmount": {
196
- "currencyCode": "string",
197
- "amount": "string"
198
- },
199
- "taxableAmount": {
200
- "currencyCode": "string",
201
- "amount": "string"
202
- }
203
- }
204
- ]
205
- }
206
- ],
207
- "items": [
208
- {
209
- "itemSequenceNumber": 0,
210
- "amazonProductIdentifier": "string",
211
- "vendorProductIdentifier": "string",
212
- "invoicedQuantity": {
213
- "amount": 0,
214
- "unitOfMeasure": "Cases",
215
- "unitSize": 0
216
- },
217
- "netCost": {
218
- "currencyCode": "string",
219
- "amount": "string"
220
- },
221
- "purchaseOrderNumber": "string",
222
- "hsnCode": "string",
223
- "creditNoteDetails": {
224
- "referenceInvoiceNumber": "string",
225
- "debitNoteNumber": "string",
226
- "returnsReferenceNumber": "string",
227
- "goodsReturnDate": "2019-08-24T14:15:22Z",
228
- "rmaId": "string",
229
- "coopReferenceNumber": "string",
230
- "consignorsReferenceNumber": "string"
231
- },
232
- "taxDetails": [
233
- {
234
- "taxType": "CGST",
235
- "taxRate": "string",
236
- "taxAmount": {
237
- "currencyCode": "string",
238
- "amount": "string"
239
- },
240
- "taxableAmount": {
241
- "currencyCode": "string",
242
- "amount": "string"
243
- }
244
- }
245
- ],
246
- "chargeDetails": [
247
- {
248
- "type": "Freight",
249
- "description": "string",
250
- "chargeAmount": {
251
- "currencyCode": "string",
252
- "amount": "string"
253
- },
254
- "taxDetails": [
255
- {
256
- "taxType": "CGST",
257
- "taxRate": "string",
258
- "taxAmount": {},
259
- "taxableAmount": {}
260
- }
261
- ]
262
- }
263
- ],
264
- "allowanceDetails": [
265
- {
266
- "type": "Discount",
267
- "description": "string",
268
- "allowanceAmount": {
269
- "currencyCode": "string",
270
- "amount": "string"
271
- },
272
- "taxDetails": [
273
- {
274
- "taxType": "CGST",
275
- "taxRate": "string",
276
- "taxAmount": {},
277
- "taxableAmount": {}
278
- }
279
- ]
280
- }
281
- ]
282
- }
283
- ]
284
- }
285
- ]
286
- }
287
-
37
+ body: SubmitInvoicesRequest | required The request body containing the invoice data to submit.
38
+
288
39
  Returns:
289
- ApiResponse:
40
+ ApiResponse
290
41
  """
291
42
 
292
43
  return self._request(
@@ -15,35 +15,40 @@ class VendorOrders(Client):
15
15
  def get_purchase_orders(self, **kwargs) -> ApiResponse:
16
16
  """
17
17
  get_purchase_orders(self, **kwargs) -> ApiResponse
18
-
19
- Returns a list of purchase orders created or changed during the time frame that you specify. You define the time frame using the createdAfter, createdBefore, changedAfter and changedBefore parameters. The date range to search must not be more than 7 days. You can choose to get only the purchase order numbers by setting includeDetails to false. You can then use the getPurchaseOrder operation to receive details for a specific purchase order.
20
-
21
- **Usage Plans:**
22
-
18
+
19
+ Returns a list of purchase orders created or changed during the time frame that you specify. You define the time frame using the `createdAfter`, `createdBefore`, `changedAfter` and `changedBefore` parameters. The date range to search must not be more than 7 days. You can choose to get only the purchase order numbers by setting `includeDetails` to false. You can then use the `getPurchaseOrder` operation to receive details for a specific purchase order.
20
+
21
+ **Usage Plan:**
22
+
23
23
  ====================================== ==============
24
24
  Rate (requests per second) Burst
25
25
  ====================================== ==============
26
26
  10 10
27
27
  ====================================== ==============
28
-
29
- 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.
30
-
28
+
29
+ For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
30
+
31
+ Examples:
32
+ literal blocks::
33
+
34
+ VendorOrders().get_purchase_orders()
35
+
31
36
  Args:
32
- key limit:integer | The limit to the number of records returned. Default value is 100 records.
33
- key createdAfter:string | Purchase orders that became available after this time will be included in the result. Must be in ISO-8601 date/time format.
34
- key createdBefore:string | Purchase orders that became available before this time will be included in the result. Must be in ISO-8601 date/time format.
35
- key sortOrder:string | Sort in ascending or descending order by purchase order creation date.
36
- key nextToken:string | Used for pagination when there is more purchase orders than the specified result size limit. The token value is returned in the previous API call
37
- key includeDetails:string | When true, returns purchase orders with complete details. Otherwise, only purchase order numbers are returned. Default value is true.
38
- key changedAfter:string | Purchase orders that changed after this timestamp will be included in the result. Must be in ISO-8601 date/time format.
39
- key changedBefore:string | Purchase orders that changed before this timestamp will be included in the result. Must be in ISO-8601 date/time format.
40
- key poItemState:string | Current state of the purchase order item. If this value is Cancelled, this API will return purchase orders which have one or more items cancelled by Amazon with updated item quantity as zero.
41
- key isPOChanged:string | When true, returns purchase orders which were modified after the order was placed. Vendors are required to pull the changed purchase order and fulfill the updated purchase order and not the original one. Default value is false.
42
- key purchaseOrderState:string | Filters purchase orders based on the purchase order state.
43
- key orderingVendorCode:string | Filters purchase orders based on the specified ordering vendor code. This value should be same as 'sellingParty.partyId' in the purchase order. If not included in the filter, all purchase orders for all of the vendor codes that exist in the vendor group used to authorize the API client application are returned.
44
-
37
+ key limit: object | The limit to the number of records returned. Default value is 100 records.
38
+ key createdAfter: object | Purchase orders that became available after this time will be included in the result. Must be in ISO-8601 date/time format.
39
+ key createdBefore: object | Purchase orders that became available before this time will be included in the result. Must be in ISO-8601 date/time format.
40
+ key sortOrder: object | Sort in ascending or descending order by purchase order creation date.
41
+ key nextToken: object | Used for pagination when there is more purchase orders than the specified result size limit. The token value is returned in the previous API call
42
+ key includeDetails: object | When true, returns purchase orders with complete details. Otherwise, only purchase order numbers are returned. Default value is true.
43
+ key changedAfter: object | Purchase orders that changed after this timestamp will be included in the result. Must be in ISO-8601 date/time format.
44
+ key changedBefore: object | Purchase orders that changed before this timestamp will be included in the result. Must be in ISO-8601 date/time format.
45
+ key poItemState: object | Current state of the purchase order item. If this value is Cancelled, this API will return purchase orders which have one or more items cancelled by Amazon with updated item quantity as zero.
46
+ key isPOChanged: object | When true, returns purchase orders which were modified after the order was placed. Vendors are required to pull the changed purchase order and fulfill the updated purchase order and not the original one. Default value is false.
47
+ key purchaseOrderState: object | Filters purchase orders based on the purchase order state.
48
+ key orderingVendorCode: object | Filters purchase orders based on the specified ordering vendor code. This value should be same as 'sellingParty.partyId' in the purchase order. If not included in the filter, all purchase orders for all of the vendor codes that exist in the vendor group used to authorize the API client application are returned.
49
+
45
50
  Returns:
46
- ApiResponse:
51
+ ApiResponse
47
52
  """
48
53
 
49
54
  return self._request(kwargs.pop("path"), params=kwargs)
@@ -52,25 +57,29 @@ class VendorOrders(Client):
52
57
  def get_purchase_order(self, purchaseOrderNumber, **kwargs) -> ApiResponse:
53
58
  """
54
59
  get_purchase_order(self, purchaseOrderNumber, **kwargs) -> ApiResponse
55
-
56
- Returns a purchase order based on the purchaseOrderNumber value that you specify.
57
-
58
- **Usage Plans:**
59
-
60
-
60
+
61
+ Returns a purchase order based on the `purchaseOrderNumber` value that you specify.
62
+
63
+ **Usage Plan:**
64
+
61
65
  ====================================== ==============
62
66
  Rate (requests per second) Burst
63
67
  ====================================== ==============
64
68
  10 10
65
69
  ====================================== ==============
66
-
67
- 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.
68
-
70
+
71
+ For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
72
+
73
+ Examples:
74
+ literal blocks::
75
+
76
+ VendorOrders().get_purchase_order("value")
77
+
69
78
  Args:
70
- purchaseOrderNumber:string | * REQUIRED The purchase order identifier for the order that you want. Formatting Notes: 8-character alpha-numeric code.
71
-
79
+ purchaseOrderNumber: object | required The purchase order identifier for the order that you want. Formatting Notes: 8-character alpha-numeric code.
80
+
72
81
  Returns:
73
- ApiResponse:
82
+ ApiResponse
74
83
  """
75
84
 
76
85
  return self._request(
@@ -81,91 +90,29 @@ class VendorOrders(Client):
81
90
  def submit_acknowledgement(self, **kwargs) -> ApiResponse:
82
91
  """
83
92
  submit_acknowledgement(self, **kwargs) -> ApiResponse
84
-
93
+
85
94
  Submits acknowledgements for one or more purchase orders.
86
-
87
- **Usage Plans:**
88
-
95
+
96
+ **Usage Plan:**
97
+
89
98
  ====================================== ==============
90
99
  Rate (requests per second) Burst
91
100
  ====================================== ==============
92
101
  10 10
93
102
  ====================================== ==============
94
-
95
- 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.
96
-
103
+
104
+ For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
105
+
97
106
  Examples:
98
107
  literal blocks::
99
-
100
- {
101
- "acknowledgements": [
102
- {
103
- "purchaseOrderNumber": "string",
104
- "sellingParty": {
105
- "partyId": "string",
106
- "address": {
107
- "name": "string",
108
- "addressLine1": "string",
109
- "addressLine2": "string",
110
- "addressLine3": "string",
111
- "city": "string",
112
- "county": "string",
113
- "district": "string",
114
- "stateOrRegion": "string",
115
- "postalCode": "string",
116
- "countryCode": "st",
117
- "phone": "string"
118
- },
119
- "taxInfo": {
120
- "taxRegistrationType": "VAT",
121
- "taxRegistrationNumber": "string"
122
- }
123
- },
124
- "acknowledgementDate": "2019-08-24T14:15:22Z",
125
- "items": [
126
- {
127
- "itemSequenceNumber": "string",
128
- "amazonProductIdentifier": "string",
129
- "vendorProductIdentifier": "string",
130
- "orderedQuantity": {
131
- "amount": 0,
132
- "unitOfMeasure": "Cases",
133
- "unitSize": 0
134
- },
135
- "netCost": {
136
- "currencyCode": "str",
137
- "amount": "string"
138
- },
139
- "listPrice": {
140
- "currencyCode": "str",
141
- "amount": "string"
142
- },
143
- "discountMultiplier": "string",
144
- "itemAcknowledgements": [
145
- {
146
- "acknowledgementCode": "Accepted",
147
- "acknowledgedQuantity": {
148
- "amount": 0,
149
- "unitOfMeasure": "Cases",
150
- "unitSize": 0
151
- },
152
- "scheduledShipDate": "2019-08-24T14:15:22Z",
153
- "scheduledDeliveryDate": "2019-08-24T14:15:22Z",
154
- "rejectionReason": "TemporarilyUnavailable"
155
- }
156
- ]
157
- }
158
- ]
159
- }
160
- ]
161
- }
162
-
163
-
108
+
109
+ VendorOrders().submit_acknowledgement()
110
+
164
111
  Args:
165
- kwargs: acknowledgements | See Example
166
-
112
+ body: SubmitAcknowledgementRequest | required Submits acknowledgements for one or more purchase orders from a vendor.
113
+
167
114
  Returns:
168
- ApiResponse:
115
+ ApiResponse
169
116
  """
170
117
 
171
118
  return self._request(kwargs.pop("path"), data=kwargs, add_marketplace=False)
@@ -174,36 +121,41 @@ class VendorOrders(Client):
174
121
  def get_purchase_orders_status(self, **kwargs) -> ApiResponse:
175
122
  """
176
123
  get_purchase_orders_status(self, **kwargs) -> ApiResponse
177
-
124
+
178
125
  Returns purchase order statuses based on the filters that you specify. Date range to search must not be more than 7 days. You can return a list of purchase order statuses using the available filters, or a single purchase order status by providing the purchase order number.
179
-
180
- **Usage Plans:**
181
-
126
+
127
+ **Usage Plan:**
128
+
182
129
  ====================================== ==============
183
130
  Rate (requests per second) Burst
184
131
  ====================================== ==============
185
132
  10 10
186
133
  ====================================== ==============
187
-
188
- 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.
189
-
134
+
135
+ For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
136
+
137
+ Examples:
138
+ literal blocks::
139
+
140
+ VendorOrders().get_purchase_orders_status()
141
+
190
142
  Args:
191
- key limit:integer | The limit to the number of records returned. Default value is 100 records.
192
- key sortOrder:string | Sort in ascending or descending order by purchase order creation date.
193
- key nextToken:string | Used for pagination when there are more purchase orders than the specified result size limit.
194
- key createdAfter:string | Purchase orders that became available after this timestamp will be included in the result. Must be in ISO-8601 date/time format.
195
- key createdBefore:string | Purchase orders that became available before this timestamp will be included in the result. Must be in ISO-8601 date/time format.
196
- key updatedAfter:string | Purchase orders for which the last purchase order update happened after this timestamp will be included in the result. Must be in ISO-8601 date/time format.
197
- key updatedBefore:string | Purchase orders for which the last purchase order update happened before this timestamp will be included in the result. Must be in ISO-8601 date/time format.
198
- key purchaseOrderNumber:string | Provides purchase order status for the specified purchase order number.
199
- key purchaseOrderStatus:string | Filters purchase orders based on the specified purchase order status. If not included in filter, this will return purchase orders for all statuses.
200
- key itemConfirmationStatus:string | Filters purchase orders based on the specified purchase order item status. If not included in filter, purchase orders for all statuses are included.
201
- key orderingVendorCode:string | Filters purchase orders based on the specified ordering vendor code. This value should be same as 'sellingParty.partyId' in the purchase order. If not included in filter, all purchase orders for all the vendor codes that exist in the vendor group used to authorize API client application are returned.
202
- key shipToPartyId:string | Filters purchase orders for a specific buyer's Fulfillment Center/warehouse by providing ship to location id here. This value should be same as 'shipToParty.partyId' in the purchase order. If not included in filter, this will return purchase orders for all the buyer's warehouses used for vendor group purchase orders.
203
-
204
-
143
+ key limit: object | The limit to the number of records returned. Default value is 100 records.
144
+ key sortOrder: object | Sort in ascending or descending order by purchase order creation date.
145
+ key nextToken: object | Used for pagination when there are more purchase orders than the specified result size limit.
146
+ key createdAfter: object | Purchase orders that became available after this timestamp will be included in the result. Must be in ISO-8601 date/time format.
147
+ key createdBefore: object | Purchase orders that became available before this timestamp will be included in the result. Must be in ISO-8601 date/time format.
148
+ key updatedAfter: object | Purchase orders for which the last purchase order update happened after this timestamp will be included in the result. Must be in ISO-8601 date/time format.
149
+ key updatedBefore: object | Purchase orders for which the last purchase order update happened before this timestamp will be included in the result. Must be in ISO-8601 date/time format.
150
+ key purchaseOrderNumber: object | Provides purchase order status for the specified purchase order number.
151
+ key purchaseOrderStatus: object | Filters purchase orders based on the specified purchase order status. If not included in filter, this will return purchase orders for all statuses.
152
+ key itemConfirmationStatus: object | Filters purchase orders based on their item confirmation status. If the item confirmation status is not included in the filter, purchase orders for all confirmation statuses are included.
153
+ key itemReceiveStatus: object | Filters purchase orders based on the purchase order's item receive status. If the item receive status is not included in the filter, purchase orders for all receive statuses are included.
154
+ key orderingVendorCode: object | Filters purchase orders based on the specified ordering vendor code. This value should be same as 'sellingParty.partyId' in the purchase order. If not included in filter, all purchase orders for all the vendor codes that exist in the vendor group used to authorize API client application are returned.
155
+ key shipToPartyId: object | Filters purchase orders for a specific buyer's Fulfillment Center/warehouse by providing ship to location id here. This value should be same as 'shipToParty.partyId' in the purchase order. If not included in filter, this will return purchase orders for all the buyer's warehouses used for vendor group purchase orders.
156
+
205
157
  Returns:
206
- ApiResponse:
158
+ ApiResponse
207
159
  """
208
160
 
209
161
  return self._request(kwargs.pop("path"), params=kwargs)