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.
- {python_amazon_sp_api-1.7.5.data → python_amazon_sp_api-2.0.10.data}/scripts/make_endpoint +2 -2
- {python_amazon_sp_api-1.7.5.dist-info → python_amazon_sp_api-2.0.10.dist-info}/METADATA +58 -8
- python_amazon_sp_api-2.0.10.dist-info/RECORD +253 -0
- {python_amazon_sp_api-1.7.5.dist-info → python_amazon_sp_api-2.0.10.dist-info}/WHEEL +1 -1
- {python_amazon_sp_api-1.7.5.dist-info → python_amazon_sp_api-2.0.10.dist-info}/top_level.txt +0 -1
- sp_api/__version__.py +1 -1
- sp_api/api/__init__.py +48 -41
- sp_api/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu.py +82 -76
- sp_api/api/aplus_content/aplus_content.py +76 -45
- sp_api/api/application_integrations/application_integrations.py +118 -0
- sp_api/api/application_management/application_management.py +6 -7
- sp_api/api/authorization/authorization.py +5 -5
- sp_api/api/catalog/catalog.py +9 -10
- sp_api/api/catalog_items/catalog_items.py +10 -13
- sp_api/api/customer_feedback/customer_feedback.py +110 -0
- sp_api/api/data_kiosk/data_kiosk.py +59 -39
- sp_api/api/easy_ship/easy_ship.py +190 -0
- sp_api/api/external_fulfillment/external_fulfillment.py +706 -0
- sp_api/api/fba_inbound_eligibility/fba_inbound_eligibility.py +23 -13
- sp_api/api/fba_small_and_light/fba_small_and_light.py +46 -20
- sp_api/api/feeds/feeds.py +60 -39
- sp_api/api/finances/finances.py +40 -9
- sp_api/api/fulfillment_inbound/fulfillment_inbound.py +844 -619
- sp_api/api/fulfillment_outbound/fulfillment_outbound.py +63 -57
- sp_api/api/inventories/inventories.py +13 -11
- sp_api/api/listings_items/listings_items.py +38 -25
- sp_api/api/listings_restrictions/listings_restrictions.py +6 -7
- sp_api/api/merchant_fulfillment/merchant_fulfillment.py +49 -36
- sp_api/api/messaging/messaging.py +129 -25
- sp_api/api/notifications/notifications.py +85 -45
- sp_api/api/orders/orders.py +123 -38
- sp_api/api/orders/orders_2026_01_01.py +54 -0
- sp_api/api/product_fees/product_fees.py +75 -67
- sp_api/api/product_type_definitions/product_type_definitions.py +9 -10
- sp_api/api/products/products.py +177 -53
- sp_api/api/products/products_definitions.py +11 -82
- sp_api/api/replenishment/replenishment.py +13 -11
- sp_api/api/reports/reports.py +113 -95
- sp_api/api/sales/sales.py +23 -13
- sp_api/api/sellers/sellers.py +3 -3
- sp_api/api/services/services.py +41 -30
- sp_api/api/shipping/shipping.py +39 -37
- sp_api/api/shipping/shippingV2.py +46 -30
- sp_api/api/solicitations/solicitations.py +20 -11
- sp_api/api/supply_sources/supply_sources.py +45 -37
- sp_api/api/tokens/tokens.py +4 -6
- sp_api/api/upload/upload.py +10 -8
- sp_api/api/vendor_direct_fulfillment_inventory/vendor_direct_fulfillment_inventory.py +10 -6
- sp_api/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders.py +12 -14
- sp_api/api/vendor_direct_fulfillment_payments/vendor_direct_fulfillment_payments.py +4 -6
- sp_api/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping.py +42 -37
- sp_api/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions.py +8 -6
- sp_api/api/vendor_invoices/vendor_invoices.py +6 -4
- sp_api/api/vendor_orders/vendor_orders.py +16 -19
- sp_api/api/vendor_shipments/vendor_shipments.py +91 -262
- sp_api/api/vendor_transaction_status/vendor_transaction_status.py +6 -6
- sp_api/asyncio/api/__init__.py +167 -0
- sp_api/asyncio/api/amazon_warehousing_and_distribu/__init__.py +9 -0
- sp_api/asyncio/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu.py +130 -0
- sp_api/asyncio/api/aplus_content/__init__.py +5 -0
- sp_api/asyncio/api/aplus_content/aplus_content.py +330 -0
- sp_api/asyncio/api/application_integrations/__init__.py +5 -0
- sp_api/asyncio/api/application_integrations/application_integrations.py +119 -0
- sp_api/asyncio/api/application_management/__init__.py +5 -0
- sp_api/asyncio/api/application_management/application_management.py +36 -0
- sp_api/asyncio/api/authorization/__init__.py +5 -0
- sp_api/asyncio/api/authorization/authorization.py +54 -0
- sp_api/asyncio/api/catalog/__init__.py +5 -0
- sp_api/asyncio/api/catalog/catalog.py +111 -0
- sp_api/asyncio/api/catalog_items/__init__.py +6 -0
- sp_api/asyncio/api/catalog_items/catalog_items.py +93 -0
- sp_api/asyncio/api/clients/__init__.py +1 -0
- sp_api/asyncio/api/customer_feedback/__init__.py +5 -0
- sp_api/asyncio/api/customer_feedback/customer_feedback.py +111 -0
- sp_api/asyncio/api/data_kiosk/__init__.py +5 -0
- sp_api/asyncio/api/data_kiosk/data_kiosk.py +236 -0
- sp_api/asyncio/api/easy_ship/__init__.py +5 -0
- sp_api/asyncio/api/easy_ship/easy_ship.py +191 -0
- sp_api/asyncio/api/external_fulfillment/__init__.py +5 -0
- sp_api/asyncio/api/external_fulfillment/external_fulfillment.py +706 -0
- sp_api/asyncio/api/fba_inbound_eligibility/__init__.py +5 -0
- sp_api/asyncio/api/fba_inbound_eligibility/fba_inbound_eligibility.py +96 -0
- sp_api/asyncio/api/fba_small_and_light/__init__.py +5 -0
- sp_api/asyncio/api/fba_small_and_light/fba_small_and_light.py +213 -0
- sp_api/asyncio/api/feeds/feeds.py +260 -0
- sp_api/asyncio/api/finances/finances.py +100 -0
- sp_api/asyncio/api/fulfillment_inbound/fulfillment_inbound.py +1798 -0
- sp_api/asyncio/api/fulfillment_outbound/fulfillment_outbound.py +736 -0
- sp_api/asyncio/api/inventories/inventories.py +74 -0
- sp_api/asyncio/api/listings_items/__init__.py +0 -0
- sp_api/asyncio/api/listings_items/listings_items.py +170 -0
- sp_api/asyncio/api/listings_restrictions/__init__.py +0 -0
- sp_api/asyncio/api/listings_restrictions/listings_restrictions.py +36 -0
- sp_api/asyncio/api/merchant_fulfillment/__init__.py +0 -0
- sp_api/asyncio/api/merchant_fulfillment/merchant_fulfillment.py +384 -0
- sp_api/asyncio/api/messaging/__init__.py +0 -0
- sp_api/asyncio/api/messaging/messaging.py +511 -0
- sp_api/asyncio/api/models/__init__.py +4 -0
- sp_api/asyncio/api/notifications/__init__.py +0 -0
- sp_api/asyncio/api/notifications/notifications.py +295 -0
- sp_api/asyncio/api/orders/__init__.py +0 -0
- sp_api/asyncio/api/orders/orders.py +412 -0
- sp_api/asyncio/api/orders/orders_2026_01_01.py +40 -0
- sp_api/asyncio/api/overrides/__init__.py +1 -0
- sp_api/asyncio/api/product_fees/__init__.py +0 -0
- sp_api/asyncio/api/product_fees/product_fees.py +194 -0
- sp_api/asyncio/api/product_type_definitions/__init__.py +0 -0
- sp_api/asyncio/api/product_type_definitions/product_type_definitions.py +75 -0
- sp_api/asyncio/api/products/__init__.py +0 -0
- sp_api/asyncio/api/products/products.py +405 -0
- sp_api/asyncio/api/products/products_definitions.py +11 -0
- sp_api/asyncio/api/replenishment/__init__.py +0 -0
- sp_api/asyncio/api/replenishment/replenishment.py +121 -0
- sp_api/asyncio/api/reports/__init__.py +0 -0
- sp_api/asyncio/api/reports/reports.py +439 -0
- sp_api/asyncio/api/sales/__init__.py +0 -0
- sp_api/asyncio/api/sales/sales.py +93 -0
- sp_api/asyncio/api/sellers/__init__.py +0 -0
- sp_api/asyncio/api/sellers/sellers.py +70 -0
- sp_api/asyncio/api/services/__init__.py +0 -0
- sp_api/asyncio/api/services/services.py +218 -0
- sp_api/asyncio/api/shipping/__init__.py +0 -0
- sp_api/asyncio/api/shipping/shipping.py +459 -0
- sp_api/asyncio/api/shipping/shippingV2.py +651 -0
- sp_api/asyncio/api/solicitations/__init__.py +0 -0
- sp_api/asyncio/api/solicitations/solicitations.py +78 -0
- sp_api/asyncio/api/supply_sources/__init__.py +0 -0
- sp_api/asyncio/api/supply_sources/supply_sources.py +138 -0
- sp_api/asyncio/api/tokens/__init__.py +0 -0
- sp_api/asyncio/api/tokens/tokens.py +65 -0
- sp_api/asyncio/api/upload/__init__.py +0 -0
- sp_api/asyncio/api/upload/upload.py +18 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_inventory/__init__.py +0 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_inventory/vendor_direct_fulfillment_inventory.py +64 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_orders/__init__.py +0 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders.py +196 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_payments/__init__.py +0 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_payments/vendor_direct_fulfillment_payments.py +254 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_shipping/__init__.py +0 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping.py +627 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_transactions/__init__.py +0 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions.py +43 -0
- sp_api/asyncio/api/vendor_invoices/__init__.py +0 -0
- sp_api/asyncio/api/vendor_invoices/vendor_invoices.py +295 -0
- sp_api/asyncio/api/vendor_orders/__init__.py +0 -0
- sp_api/asyncio/api/vendor_orders/vendor_orders.py +210 -0
- sp_api/asyncio/api/vendor_shipments/__init__.py +0 -0
- sp_api/asyncio/api/vendor_shipments/vendor_shipments.py +118 -0
- sp_api/asyncio/api/vendor_transaction_status/__init__.py +0 -0
- sp_api/asyncio/api/vendor_transaction_status/vendor_transaction_status.py +41 -0
- sp_api/asyncio/auth/__init__.py +12 -0
- sp_api/asyncio/auth/access_token_client.py +145 -0
- sp_api/asyncio/auth/exceptions.py +5 -0
- sp_api/asyncio/base/__init__.py +53 -0
- sp_api/asyncio/base/_transport_httpx.py +50 -0
- sp_api/asyncio/base/base_client.py +8 -0
- sp_api/asyncio/base/client.py +169 -0
- sp_api/asyncio/util/__init__.py +29 -0
- sp_api/asyncio/util/key_maker.py +5 -0
- sp_api/asyncio/util/load_all_pages.py +55 -0
- sp_api/asyncio/util/load_date_bound.py +53 -0
- sp_api/asyncio/util/retry.py +88 -0
- sp_api/auth/__init__.py +3 -3
- sp_api/auth/_core.py +39 -0
- sp_api/auth/access_token_client.py +20 -31
- sp_api/auth/access_token_response.py +4 -4
- sp_api/base/ApiResponse.py +5 -4
- sp_api/base/__init__.py +53 -42
- sp_api/base/_core.py +110 -0
- sp_api/base/_transport_httpx.py +39 -0
- sp_api/base/base_client.py +4 -4
- sp_api/base/client.py +131 -112
- sp_api/base/credential_provider.py +41 -34
- sp_api/base/exceptions.py +14 -3
- sp_api/base/feedTypes.py +44 -32
- sp_api/base/fulfillment_channel.py +2 -2
- sp_api/base/helpers.py +17 -16
- sp_api/base/identifiersType.py +8 -8
- sp_api/base/included_data.py +12 -12
- sp_api/base/marketplaces.py +5 -1
- sp_api/base/notifications.py +1 -1
- sp_api/base/processing_status.py +5 -5
- sp_api/base/reportTypes.py +198 -111
- sp_api/base/sales_enum.py +11 -13
- sp_api/util/__init__.py +42 -6
- sp_api/util/key_maker.py +4 -2
- sp_api/util/load_all_pages.py +16 -5
- sp_api/util/load_date_bound.py +28 -13
- sp_api/util/params.py +57 -0
- sp_api/util/product_fees.py +40 -0
- sp_api/util/products_definitions.py +169 -0
- sp_api/util/report_document.py +154 -0
- sp_api/util/retry.py +16 -15
- python_amazon_sp_api-1.7.5.dist-info/RECORD +0 -144
- tests/api/finances/test_finances.py +0 -19
- tests/api/notifications/test_notifications.py +0 -26
- tests/api/orders/test_orders.py +0 -122
- tests/api/product_fees/product_fees.py +0 -49
- tests/api/reports/test_reports.py +0 -127
- tests/client/test_auth.py +0 -59
- tests/client/test_base.py +0 -163
- tests/client/test_credential_provider.py +0 -45
- tests/client/test_helpers.py +0 -142
- {python_amazon_sp_api-1.7.5.dist-info → python_amazon_sp_api-2.0.10.dist-info/licenses}/LICENSE +0 -0
- {tests → sp_api/api/application_integrations}/__init__.py +0 -0
- {tests/api → sp_api/api/customer_feedback}/__init__.py +0 -0
- {tests/api/finances → sp_api/api/easy_ship}/__init__.py +0 -0
- {tests/api/notifications → sp_api/api/external_fulfillment}/__init__.py +0 -0
- {tests/api/orders → sp_api/asyncio}/__init__.py +0 -0
- {tests/api/product_fees → sp_api/asyncio/api/feeds}/__init__.py +0 -0
- {tests/api/reports → sp_api/asyncio/api/finances}/__init__.py +0 -0
- {tests/api/sellers → sp_api/asyncio/api/fulfillment_inbound}/__init__.py +0 -0
- {tests/client → sp_api/asyncio/api/fulfillment_outbound}/__init__.py +0 -0
- /tests/api/sellers/test_sellers.py → /sp_api/asyncio/api/inventories/__init__.py +0 -0
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
import urllib.parse
|
|
2
|
+
|
|
3
|
+
from sp_api.base import Client, sp_endpoint, fill_query_params, ApiResponse
|
|
4
|
+
from sp_api.asyncio.base import AsyncBaseClient
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class VendorInvoices(AsyncBaseClient):
|
|
8
|
+
"""
|
|
9
|
+
VendorInvoices SP-API Client
|
|
10
|
+
:link:
|
|
11
|
+
|
|
12
|
+
The Selling Partner API for Retail Procurement Payments provides programmatic access to vendors payments data.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
@sp_endpoint("/vendor/payments/v1/invoices", method="POST")
|
|
16
|
+
async def submit_invoices(self, data, **kwargs) -> ApiResponse:
|
|
17
|
+
"""
|
|
18
|
+
submit_invoices(self, data, **kwargs) -> ApiResponse
|
|
19
|
+
|
|
20
|
+
Submit new invoices to Amazon.
|
|
21
|
+
|
|
22
|
+
**Usage Plans:**
|
|
23
|
+
|
|
24
|
+
====================================== ==============
|
|
25
|
+
Rate (requests per second) Burst
|
|
26
|
+
====================================== ==============
|
|
27
|
+
10 10
|
|
28
|
+
====================================== ==============
|
|
29
|
+
|
|
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.
|
|
31
|
+
|
|
32
|
+
Args:
|
|
33
|
+
data:
|
|
34
|
+
{
|
|
35
|
+
"invoices": [
|
|
36
|
+
{
|
|
37
|
+
"invoiceType": "Invoice",
|
|
38
|
+
"id": "string",
|
|
39
|
+
"referenceNumber": "string",
|
|
40
|
+
"date": "2019-08-24T14:15:22Z",
|
|
41
|
+
"remitToParty": {
|
|
42
|
+
"partyId": "string",
|
|
43
|
+
"address": {
|
|
44
|
+
"name": "string",
|
|
45
|
+
"addressLine1": "string",
|
|
46
|
+
"addressLine2": "string",
|
|
47
|
+
"addressLine3": "string",
|
|
48
|
+
"city": "string",
|
|
49
|
+
"county": "string",
|
|
50
|
+
"district": "string",
|
|
51
|
+
"stateOrRegion": "string",
|
|
52
|
+
"postalOrZipCode": "string",
|
|
53
|
+
"countryCode": "st",
|
|
54
|
+
"phone": "string"
|
|
55
|
+
},
|
|
56
|
+
"taxRegistrationDetails": [
|
|
57
|
+
{
|
|
58
|
+
"taxRegistrationType": "VAT",
|
|
59
|
+
"taxRegistrationNumber": "string"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
"shipToParty": {
|
|
64
|
+
"partyId": "string",
|
|
65
|
+
"address": {
|
|
66
|
+
"name": "string",
|
|
67
|
+
"addressLine1": "string",
|
|
68
|
+
"addressLine2": "string",
|
|
69
|
+
"addressLine3": "string",
|
|
70
|
+
"city": "string",
|
|
71
|
+
"county": "string",
|
|
72
|
+
"district": "string",
|
|
73
|
+
"stateOrRegion": "string",
|
|
74
|
+
"postalOrZipCode": "string",
|
|
75
|
+
"countryCode": "st",
|
|
76
|
+
"phone": "string"
|
|
77
|
+
},
|
|
78
|
+
"taxRegistrationDetails": [
|
|
79
|
+
{
|
|
80
|
+
"taxRegistrationType": "VAT",
|
|
81
|
+
"taxRegistrationNumber": "string"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
"shipFromParty": {
|
|
86
|
+
"partyId": "string",
|
|
87
|
+
"address": {
|
|
88
|
+
"name": "string",
|
|
89
|
+
"addressLine1": "string",
|
|
90
|
+
"addressLine2": "string",
|
|
91
|
+
"addressLine3": "string",
|
|
92
|
+
"city": "string",
|
|
93
|
+
"county": "string",
|
|
94
|
+
"district": "string",
|
|
95
|
+
"stateOrRegion": "string",
|
|
96
|
+
"postalOrZipCode": "string",
|
|
97
|
+
"countryCode": "st",
|
|
98
|
+
"phone": "string"
|
|
99
|
+
},
|
|
100
|
+
"taxRegistrationDetails": [
|
|
101
|
+
{
|
|
102
|
+
"taxRegistrationType": "VAT",
|
|
103
|
+
"taxRegistrationNumber": "string"
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
"billToParty": {
|
|
108
|
+
"partyId": "string",
|
|
109
|
+
"address": {
|
|
110
|
+
"name": "string",
|
|
111
|
+
"addressLine1": "string",
|
|
112
|
+
"addressLine2": "string",
|
|
113
|
+
"addressLine3": "string",
|
|
114
|
+
"city": "string",
|
|
115
|
+
"county": "string",
|
|
116
|
+
"district": "string",
|
|
117
|
+
"stateOrRegion": "string",
|
|
118
|
+
"postalOrZipCode": "string",
|
|
119
|
+
"countryCode": "st",
|
|
120
|
+
"phone": "string"
|
|
121
|
+
},
|
|
122
|
+
"taxRegistrationDetails": [
|
|
123
|
+
{
|
|
124
|
+
"taxRegistrationType": "VAT",
|
|
125
|
+
"taxRegistrationNumber": "string"
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
"paymentTerms": {
|
|
130
|
+
"type": "Basic",
|
|
131
|
+
"discountPercent": "string",
|
|
132
|
+
"discountDueDays": 0,
|
|
133
|
+
"netDueDays": 0
|
|
134
|
+
},
|
|
135
|
+
"invoiceTotal": {
|
|
136
|
+
"currencyCode": "string",
|
|
137
|
+
"amount": "string"
|
|
138
|
+
},
|
|
139
|
+
"taxDetails": [
|
|
140
|
+
{
|
|
141
|
+
"taxType": "CGST",
|
|
142
|
+
"taxRate": "string",
|
|
143
|
+
"taxAmount": {
|
|
144
|
+
"currencyCode": "string",
|
|
145
|
+
"amount": "string"
|
|
146
|
+
},
|
|
147
|
+
"taxableAmount": {
|
|
148
|
+
"currencyCode": "string",
|
|
149
|
+
"amount": "string"
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"additionalDetails": [
|
|
154
|
+
{
|
|
155
|
+
"type": "SUR",
|
|
156
|
+
"detail": "string",
|
|
157
|
+
"languageCode": "string"
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
"chargeDetails": [
|
|
161
|
+
{
|
|
162
|
+
"type": "Freight",
|
|
163
|
+
"description": "string",
|
|
164
|
+
"chargeAmount": {
|
|
165
|
+
"currencyCode": "string",
|
|
166
|
+
"amount": "string"
|
|
167
|
+
},
|
|
168
|
+
"taxDetails": [
|
|
169
|
+
{
|
|
170
|
+
"taxType": "CGST",
|
|
171
|
+
"taxRate": "string",
|
|
172
|
+
"taxAmount": {
|
|
173
|
+
"currencyCode": "string",
|
|
174
|
+
"amount": "string"
|
|
175
|
+
},
|
|
176
|
+
"taxableAmount": {
|
|
177
|
+
"currencyCode": "string",
|
|
178
|
+
"amount": "string"
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"allowanceDetails": [
|
|
185
|
+
{
|
|
186
|
+
"type": "Discount",
|
|
187
|
+
"description": "string",
|
|
188
|
+
"allowanceAmount": {
|
|
189
|
+
"currencyCode": "string",
|
|
190
|
+
"amount": "string"
|
|
191
|
+
},
|
|
192
|
+
"taxDetails": [
|
|
193
|
+
{
|
|
194
|
+
"taxType": "CGST",
|
|
195
|
+
"taxRate": "string",
|
|
196
|
+
"taxAmount": {
|
|
197
|
+
"currencyCode": "string",
|
|
198
|
+
"amount": "string"
|
|
199
|
+
},
|
|
200
|
+
"taxableAmount": {
|
|
201
|
+
"currencyCode": "string",
|
|
202
|
+
"amount": "string"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
]
|
|
206
|
+
}
|
|
207
|
+
],
|
|
208
|
+
"items": [
|
|
209
|
+
{
|
|
210
|
+
"itemSequenceNumber": 0,
|
|
211
|
+
"amazonProductIdentifier": "string",
|
|
212
|
+
"vendorProductIdentifier": "string",
|
|
213
|
+
"invoicedQuantity": {
|
|
214
|
+
"amount": 0,
|
|
215
|
+
"unitOfMeasure": "Cases",
|
|
216
|
+
"unitSize": 0
|
|
217
|
+
},
|
|
218
|
+
"netCost": {
|
|
219
|
+
"currencyCode": "string",
|
|
220
|
+
"amount": "string"
|
|
221
|
+
},
|
|
222
|
+
"purchaseOrderNumber": "string",
|
|
223
|
+
"hsnCode": "string",
|
|
224
|
+
"creditNoteDetails": {
|
|
225
|
+
"referenceInvoiceNumber": "string",
|
|
226
|
+
"debitNoteNumber": "string",
|
|
227
|
+
"returnsReferenceNumber": "string",
|
|
228
|
+
"goodsReturnDate": "2019-08-24T14:15:22Z",
|
|
229
|
+
"rmaId": "string",
|
|
230
|
+
"coopReferenceNumber": "string",
|
|
231
|
+
"consignorsReferenceNumber": "string"
|
|
232
|
+
},
|
|
233
|
+
"taxDetails": [
|
|
234
|
+
{
|
|
235
|
+
"taxType": "CGST",
|
|
236
|
+
"taxRate": "string",
|
|
237
|
+
"taxAmount": {
|
|
238
|
+
"currencyCode": "string",
|
|
239
|
+
"amount": "string"
|
|
240
|
+
},
|
|
241
|
+
"taxableAmount": {
|
|
242
|
+
"currencyCode": "string",
|
|
243
|
+
"amount": "string"
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
],
|
|
247
|
+
"chargeDetails": [
|
|
248
|
+
{
|
|
249
|
+
"type": "Freight",
|
|
250
|
+
"description": "string",
|
|
251
|
+
"chargeAmount": {
|
|
252
|
+
"currencyCode": "string",
|
|
253
|
+
"amount": "string"
|
|
254
|
+
},
|
|
255
|
+
"taxDetails": [
|
|
256
|
+
{
|
|
257
|
+
"taxType": "CGST",
|
|
258
|
+
"taxRate": "string",
|
|
259
|
+
"taxAmount": {},
|
|
260
|
+
"taxableAmount": {}
|
|
261
|
+
}
|
|
262
|
+
]
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
"allowanceDetails": [
|
|
266
|
+
{
|
|
267
|
+
"type": "Discount",
|
|
268
|
+
"description": "string",
|
|
269
|
+
"allowanceAmount": {
|
|
270
|
+
"currencyCode": "string",
|
|
271
|
+
"amount": "string"
|
|
272
|
+
},
|
|
273
|
+
"taxDetails": [
|
|
274
|
+
{
|
|
275
|
+
"taxType": "CGST",
|
|
276
|
+
"taxRate": "string",
|
|
277
|
+
"taxAmount": {},
|
|
278
|
+
"taxableAmount": {}
|
|
279
|
+
}
|
|
280
|
+
]
|
|
281
|
+
}
|
|
282
|
+
]
|
|
283
|
+
}
|
|
284
|
+
]
|
|
285
|
+
}
|
|
286
|
+
]
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
Returns:
|
|
290
|
+
ApiResponse:
|
|
291
|
+
"""
|
|
292
|
+
|
|
293
|
+
return await self._request(
|
|
294
|
+
kwargs.pop("path"), data={**data, **kwargs}, add_marketplace=False
|
|
295
|
+
)
|
|
File without changes
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import urllib.parse
|
|
2
|
+
|
|
3
|
+
from sp_api.base import Client, sp_endpoint, fill_query_params, ApiResponse
|
|
4
|
+
from sp_api.asyncio.base import AsyncBaseClient
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class VendorOrders(AsyncBaseClient):
|
|
8
|
+
"""
|
|
9
|
+
VendorOrders SP-API Client
|
|
10
|
+
:link:
|
|
11
|
+
|
|
12
|
+
The Selling Partner API for Retail Procurement Orders provides programmatic access to vendor orders data.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
@sp_endpoint("/vendor/orders/v1/purchaseOrders", method="GET")
|
|
16
|
+
async def get_purchase_orders(self, **kwargs) -> ApiResponse:
|
|
17
|
+
"""
|
|
18
|
+
get_purchase_orders(self, **kwargs) -> ApiResponse
|
|
19
|
+
|
|
20
|
+
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.
|
|
21
|
+
|
|
22
|
+
**Usage Plans:**
|
|
23
|
+
|
|
24
|
+
====================================== ==============
|
|
25
|
+
Rate (requests per second) Burst
|
|
26
|
+
====================================== ==============
|
|
27
|
+
10 10
|
|
28
|
+
====================================== ==============
|
|
29
|
+
|
|
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.
|
|
31
|
+
|
|
32
|
+
Args:
|
|
33
|
+
key limit:integer | The limit to the number of records returned. Default value is 100 records.
|
|
34
|
+
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.
|
|
35
|
+
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.
|
|
36
|
+
key sortOrder:string | Sort in ascending or descending order by purchase order creation date.
|
|
37
|
+
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
|
|
38
|
+
key includeDetails:string | When true, returns purchase orders with complete details. Otherwise, only purchase order numbers are returned. Default value is true.
|
|
39
|
+
key changedAfter:string | Purchase orders that changed after this timestamp will be included in the result. Must be in ISO-8601 date/time format.
|
|
40
|
+
key changedBefore:string | Purchase orders that changed before this timestamp will be included in the result. Must be in ISO-8601 date/time format.
|
|
41
|
+
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.
|
|
42
|
+
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.
|
|
43
|
+
key purchaseOrderState:string | Filters purchase orders based on the purchase order state.
|
|
44
|
+
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.
|
|
45
|
+
|
|
46
|
+
Returns:
|
|
47
|
+
ApiResponse:
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
return await self._request(kwargs.pop("path"), params=kwargs)
|
|
51
|
+
|
|
52
|
+
@sp_endpoint("/vendor/orders/v1/purchaseOrders/{}", method="GET")
|
|
53
|
+
async def get_purchase_order(self, purchaseOrderNumber, **kwargs) -> ApiResponse:
|
|
54
|
+
"""
|
|
55
|
+
get_purchase_order(self, purchaseOrderNumber, **kwargs) -> ApiResponse
|
|
56
|
+
|
|
57
|
+
Returns a purchase order based on the purchaseOrderNumber value that you specify.
|
|
58
|
+
|
|
59
|
+
**Usage Plans:**
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
====================================== ==============
|
|
63
|
+
Rate (requests per second) Burst
|
|
64
|
+
====================================== ==============
|
|
65
|
+
10 10
|
|
66
|
+
====================================== ==============
|
|
67
|
+
|
|
68
|
+
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.
|
|
69
|
+
|
|
70
|
+
Args:
|
|
71
|
+
purchaseOrderNumber:string | * REQUIRED The purchase order identifier for the order that you want. Formatting Notes: 8-character alpha-numeric code.
|
|
72
|
+
|
|
73
|
+
Returns:
|
|
74
|
+
ApiResponse:
|
|
75
|
+
"""
|
|
76
|
+
|
|
77
|
+
return await self._request(
|
|
78
|
+
fill_query_params(kwargs.pop("path"), purchaseOrderNumber), params=kwargs
|
|
79
|
+
)
|
|
80
|
+
|
|
81
|
+
@sp_endpoint("/vendor/orders/v1/acknowledgements", method="POST")
|
|
82
|
+
async def submit_acknowledgement(self, **kwargs) -> ApiResponse:
|
|
83
|
+
"""
|
|
84
|
+
submit_acknowledgement(self, **kwargs) -> ApiResponse
|
|
85
|
+
|
|
86
|
+
Submits acknowledgements for one or more purchase orders.
|
|
87
|
+
|
|
88
|
+
**Usage Plans:**
|
|
89
|
+
|
|
90
|
+
====================================== ==============
|
|
91
|
+
Rate (requests per second) Burst
|
|
92
|
+
====================================== ==============
|
|
93
|
+
10 10
|
|
94
|
+
====================================== ==============
|
|
95
|
+
|
|
96
|
+
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.
|
|
97
|
+
|
|
98
|
+
Examples:
|
|
99
|
+
literal blocks::
|
|
100
|
+
|
|
101
|
+
{
|
|
102
|
+
"acknowledgements": [
|
|
103
|
+
{
|
|
104
|
+
"purchaseOrderNumber": "string",
|
|
105
|
+
"sellingParty": {
|
|
106
|
+
"partyId": "string",
|
|
107
|
+
"address": {
|
|
108
|
+
"name": "string",
|
|
109
|
+
"addressLine1": "string",
|
|
110
|
+
"addressLine2": "string",
|
|
111
|
+
"addressLine3": "string",
|
|
112
|
+
"city": "string",
|
|
113
|
+
"county": "string",
|
|
114
|
+
"district": "string",
|
|
115
|
+
"stateOrRegion": "string",
|
|
116
|
+
"postalCode": "string",
|
|
117
|
+
"countryCode": "st",
|
|
118
|
+
"phone": "string"
|
|
119
|
+
},
|
|
120
|
+
"taxInfo": {
|
|
121
|
+
"taxRegistrationType": "VAT",
|
|
122
|
+
"taxRegistrationNumber": "string"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"acknowledgementDate": "2019-08-24T14:15:22Z",
|
|
126
|
+
"items": [
|
|
127
|
+
{
|
|
128
|
+
"itemSequenceNumber": "string",
|
|
129
|
+
"amazonProductIdentifier": "string",
|
|
130
|
+
"vendorProductIdentifier": "string",
|
|
131
|
+
"orderedQuantity": {
|
|
132
|
+
"amount": 0,
|
|
133
|
+
"unitOfMeasure": "Cases",
|
|
134
|
+
"unitSize": 0
|
|
135
|
+
},
|
|
136
|
+
"netCost": {
|
|
137
|
+
"currencyCode": "str",
|
|
138
|
+
"amount": "string"
|
|
139
|
+
},
|
|
140
|
+
"listPrice": {
|
|
141
|
+
"currencyCode": "str",
|
|
142
|
+
"amount": "string"
|
|
143
|
+
},
|
|
144
|
+
"discountMultiplier": "string",
|
|
145
|
+
"itemAcknowledgements": [
|
|
146
|
+
{
|
|
147
|
+
"acknowledgementCode": "Accepted",
|
|
148
|
+
"acknowledgedQuantity": {
|
|
149
|
+
"amount": 0,
|
|
150
|
+
"unitOfMeasure": "Cases",
|
|
151
|
+
"unitSize": 0
|
|
152
|
+
},
|
|
153
|
+
"scheduledShipDate": "2019-08-24T14:15:22Z",
|
|
154
|
+
"scheduledDeliveryDate": "2019-08-24T14:15:22Z",
|
|
155
|
+
"rejectionReason": "TemporarilyUnavailable"
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
}
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
Args:
|
|
166
|
+
kwargs: acknowledgements | See Example
|
|
167
|
+
|
|
168
|
+
Returns:
|
|
169
|
+
ApiResponse:
|
|
170
|
+
"""
|
|
171
|
+
|
|
172
|
+
return await self._request(kwargs.pop("path"), data=kwargs, add_marketplace=False)
|
|
173
|
+
|
|
174
|
+
@sp_endpoint("/vendor/orders/v1/purchaseOrdersStatus", method="GET")
|
|
175
|
+
async def get_purchase_orders_status(self, **kwargs) -> ApiResponse:
|
|
176
|
+
"""
|
|
177
|
+
get_purchase_orders_status(self, **kwargs) -> ApiResponse
|
|
178
|
+
|
|
179
|
+
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.
|
|
180
|
+
|
|
181
|
+
**Usage Plans:**
|
|
182
|
+
|
|
183
|
+
====================================== ==============
|
|
184
|
+
Rate (requests per second) Burst
|
|
185
|
+
====================================== ==============
|
|
186
|
+
10 10
|
|
187
|
+
====================================== ==============
|
|
188
|
+
|
|
189
|
+
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.
|
|
190
|
+
|
|
191
|
+
Args:
|
|
192
|
+
key limit:integer | The limit to the number of records returned. Default value is 100 records.
|
|
193
|
+
key sortOrder:string | Sort in ascending or descending order by purchase order creation date.
|
|
194
|
+
key nextToken:string | Used for pagination when there are more purchase orders than the specified result size limit.
|
|
195
|
+
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.
|
|
196
|
+
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.
|
|
197
|
+
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.
|
|
198
|
+
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.
|
|
199
|
+
key purchaseOrderNumber:string | Provides purchase order status for the specified purchase order number.
|
|
200
|
+
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.
|
|
201
|
+
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.
|
|
202
|
+
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.
|
|
203
|
+
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.
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
Returns:
|
|
207
|
+
ApiResponse:
|
|
208
|
+
"""
|
|
209
|
+
|
|
210
|
+
return await self._request(kwargs.pop("path"), params=kwargs)
|
|
File without changes
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import urllib.parse
|
|
2
|
+
|
|
3
|
+
from sp_api.base import Client, sp_endpoint, fill_query_params, ApiResponse
|
|
4
|
+
from sp_api.asyncio.base import AsyncBaseClient
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class VendorShipments(AsyncBaseClient):
|
|
8
|
+
"""
|
|
9
|
+
VendorShipments SP-API Client
|
|
10
|
+
:link:
|
|
11
|
+
|
|
12
|
+
The Selling Partner API for Retail Procurement Shipments provides programmatic access to retail shipping data for vendors.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
@sp_endpoint("/vendor/shipping/v1/shipmentConfirmations", method="POST")
|
|
16
|
+
async def submit_shipment_confirmations(self, **kwargs) -> ApiResponse:
|
|
17
|
+
"""
|
|
18
|
+
submit_shipment_confirmations(self, **kwargs) -> ApiResponse
|
|
19
|
+
|
|
20
|
+
Submits one or more shipment confirmations for vendor orders.
|
|
21
|
+
|
|
22
|
+
**Usage Plan:**
|
|
23
|
+
|
|
24
|
+
| Rate (requests per second) | Burst |
|
|
25
|
+
| ---- | ---- |
|
|
26
|
+
| 10 | 10 |
|
|
27
|
+
|
|
28
|
+
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
|
+
|
|
30
|
+
Args:
|
|
31
|
+
|
|
32
|
+
body: | * REQUIRED {'description': 'The request schema for the SubmitShipmentConfirmations operation.',
|
|
33
|
+
'properties': {'shipmentConfirmations': {'description': 'A list of one or more shipment confirmations.', 'items': {'$ref': '#/definitions/ShipmentConfirmation'}, 'type': 'array'}},
|
|
34
|
+
'type': 'object'}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
Returns:
|
|
38
|
+
ApiResponse:
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
return await self._request(kwargs.pop("path"), data=kwargs)
|
|
42
|
+
|
|
43
|
+
@sp_endpoint("/vendor/shipping/v1/shipments", method="POST")
|
|
44
|
+
async def submit_shipments(self, **kwargs) -> ApiResponse:
|
|
45
|
+
"""
|
|
46
|
+
submit_shipments(self, **kwargs) -> ApiResponse
|
|
47
|
+
|
|
48
|
+
Submits one or more shipment request for vendor Orders.
|
|
49
|
+
|
|
50
|
+
**Usage Plan:**
|
|
51
|
+
|
|
52
|
+
| Rate (requests per second) | Burst |
|
|
53
|
+
| ---- | ---- |
|
|
54
|
+
| 10 | 10 |
|
|
55
|
+
|
|
56
|
+
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).
|
|
57
|
+
|
|
58
|
+
Args:
|
|
59
|
+
|
|
60
|
+
body: | * REQUIRED {'description': 'The request schema for the SubmitShipments operation.',
|
|
61
|
+
'properties': {'shipments': {'description': 'A list of one or more shipments with underlying details.', 'items': {'$ref': '#/definitions/Shipment'}, 'type': 'array'}},
|
|
62
|
+
'type': 'object'}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
Returns:
|
|
66
|
+
ApiResponse:
|
|
67
|
+
"""
|
|
68
|
+
|
|
69
|
+
return await self._request(kwargs.pop("path"), data=kwargs)
|
|
70
|
+
|
|
71
|
+
@sp_endpoint("/vendor/shipping/v1/shipments", method="GET")
|
|
72
|
+
async def get_shipment_details(self, **kwargs) -> ApiResponse:
|
|
73
|
+
"""
|
|
74
|
+
get_shipment_details(self, **kwargs) -> ApiResponse
|
|
75
|
+
|
|
76
|
+
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.
|
|
77
|
+
|
|
78
|
+
**Usage Plan:**
|
|
79
|
+
|
|
80
|
+
| Rate (requests per second) | Burst |
|
|
81
|
+
| ---- | ---- |
|
|
82
|
+
| 10 | 10 |
|
|
83
|
+
|
|
84
|
+
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).
|
|
85
|
+
|
|
86
|
+
Args:
|
|
87
|
+
|
|
88
|
+
key limit:integer | The limit to the number of records returned. Default value is 50 records.
|
|
89
|
+
key sortOrder:string | Sort in ascending or descending order by purchase order creation date.
|
|
90
|
+
key nextToken:string | Used for pagination when there are more shipments than the specified result size limit.
|
|
91
|
+
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.
|
|
92
|
+
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.
|
|
93
|
+
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.
|
|
94
|
+
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.
|
|
95
|
+
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.
|
|
96
|
+
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.
|
|
97
|
+
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.
|
|
98
|
+
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.
|
|
99
|
+
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.
|
|
100
|
+
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.
|
|
101
|
+
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.
|
|
102
|
+
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.
|
|
103
|
+
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.
|
|
104
|
+
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.
|
|
105
|
+
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.
|
|
106
|
+
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.
|
|
107
|
+
key currentShipmentStatus:string | Get Shipment Details by passing Current shipment status.
|
|
108
|
+
key vendorShipmentIdentifier:string | Get Shipment Details by passing Vendor Shipment ID
|
|
109
|
+
key buyerReferenceNumber:string | Get Shipment Details by passing buyer Reference ID
|
|
110
|
+
key buyerWarehouseCode:string | Get Shipping Details based on buyer warehouse code. This value should be same as 'shipToParty.partyId' in the Shipment.
|
|
111
|
+
key sellerWarehouseCode:string | Get Shipping Details based on vendor warehouse code. This value should be same as 'sellingParty.partyId' in the Shipment.
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
Returns:
|
|
115
|
+
ApiResponse:
|
|
116
|
+
"""
|
|
117
|
+
|
|
118
|
+
return await self._request(kwargs.pop("path"), params=kwargs)
|
|
File without changes
|