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.
- {python_amazon_sp_api-2.0.15.dist-info → python_amazon_sp_api-2.1.3.dist-info}/METADATA +7 -7
- python_amazon_sp_api-2.1.3.dist-info/RECORD +350 -0
- sp_api/__version__.py +1 -1
- sp_api/api/__init__.py +160 -4
- sp_api/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu.py +85 -110
- sp_api/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu_2024_05_09.py +456 -0
- sp_api/api/aplus_content/aplus_content.py +176 -125
- sp_api/api/application_integrations/application_integrations.py +59 -68
- sp_api/api/application_management/application_management.py +20 -13
- sp_api/api/authorization/authorization.py +8 -26
- sp_api/api/catalog/catalog.py +27 -61
- sp_api/api/catalog_items/catalog_items.py +108 -78
- sp_api/api/catalog_items/catalog_items_2020_12_01.py +86 -0
- sp_api/api/catalog_items/catalog_items_2022_04_01.py +89 -0
- sp_api/api/customer_feedback/customer_feedback.py +100 -0
- sp_api/api/data_kiosk/data_kiosk.py +80 -75
- sp_api/api/delivery_by_amazon/__init__.py +0 -0
- sp_api/api/delivery_by_amazon/delivery_by_amazon.py +92 -0
- sp_api/api/delivery_by_amazon/delivery_by_amazon_2022_07_01.py +81 -0
- sp_api/api/easy_ship/easy_ship.py +121 -111
- sp_api/api/external_fulfillment/external_fulfillment.py +211 -434
- sp_api/api/external_fulfillment/inventory.py +120 -0
- sp_api/api/external_fulfillment/inventory_2021_01_06.py +71 -0
- sp_api/api/external_fulfillment/inventory_2024_09_11.py +96 -0
- sp_api/api/external_fulfillment/returns.py +120 -0
- sp_api/api/external_fulfillment/returns_2021_08_19.py +88 -0
- sp_api/api/external_fulfillment/returns_2024_09_11.py +141 -0
- sp_api/api/external_fulfillment/shipping.py +120 -0
- sp_api/api/external_fulfillment/shipping_2021_01_06.py +256 -0
- sp_api/api/external_fulfillment/shipping_2024_09_11.py +233 -0
- sp_api/api/fba_inbound_eligibility/fba_inbound_eligibility.py +30 -24
- sp_api/api/fba_small_and_light/fba_small_and_light.py +60 -99
- sp_api/api/feeds/feeds.py +75 -245
- sp_api/api/feeds/feeds_2021_06_30.py +320 -0
- sp_api/api/finances/finances.py +123 -90
- sp_api/api/finances/finances_2024_06_01.py +71 -0
- sp_api/api/finances/finances_2024_06_19.py +114 -0
- sp_api/api/finances/finances_v0.py +116 -0
- sp_api/api/fulfillment_inbound/fulfillment_inbound.py +107 -1784
- sp_api/api/fulfillment_inbound/fulfillment_inbound_2024_03_20.py +1722 -0
- sp_api/api/fulfillment_inbound/fulfillment_inbound_v0.py +1384 -0
- sp_api/api/fulfillment_outbound/fulfillment_outbound.py +256 -480
- sp_api/api/inventories/inventories.py +79 -42
- sp_api/api/invoices/__init__.py +0 -0
- sp_api/api/invoices/invoices.py +92 -0
- sp_api/api/invoices/invoices_2024_06_19.py +344 -0
- sp_api/api/listings_items/listings_items.py +110 -163
- sp_api/api/listings_items/listings_items_2020_09_01.py +189 -0
- sp_api/api/listings_items/listings_items_2021_08_01.py +233 -0
- sp_api/api/listings_restrictions/listings_restrictions.py +23 -10
- sp_api/api/merchant_fulfillment/merchant_fulfillment.py +107 -222
- sp_api/api/messaging/messaging.py +184 -198
- sp_api/api/notifications/notifications.py +144 -106
- sp_api/api/orders/orders.py +9 -46
- sp_api/api/orders/orders_2026_01_01.py +19 -65
- sp_api/api/orders/orders_v0.py +152 -184
- sp_api/api/product_fees/product_fees.py +101 -75
- sp_api/api/product_type_definitions/product_type_definitions.py +47 -36
- sp_api/api/products/products.py +94 -386
- sp_api/api/products/products_2022_05_01.py +96 -0
- sp_api/api/products/products_v0.py +389 -0
- sp_api/api/replenishment/replenishment.py +58 -69
- sp_api/api/reports/reports.py +124 -157
- sp_api/api/sales/sales.py +22 -39
- sp_api/api/seller_wallet/__init__.py +0 -0
- sp_api/api/seller_wallet/seller_wallet.py +92 -0
- sp_api/api/seller_wallet/seller_wallet_2024_03_01.py +300 -0
- sp_api/api/sellers/sellers.py +15 -35
- sp_api/api/services/services.py +479 -82
- sp_api/api/shipment_invoicing/__init__.py +0 -0
- sp_api/api/shipment_invoicing/shipment_invoicing.py +92 -0
- sp_api/api/shipment_invoicing/shipment_invoicing_v0.py +101 -0
- sp_api/api/shipping/shipping.py +94 -440
- sp_api/api/shipping/shippingV2.py +183 -474
- sp_api/api/shipping/shipping_v1.py +330 -0
- sp_api/api/shipping/shipping_v2.py +723 -0
- sp_api/api/solicitations/solicitations.py +28 -18
- sp_api/api/supply_sources/supply_sources.py +67 -57
- sp_api/api/tokens/tokens.py +14 -35
- sp_api/api/vehicles/__init__.py +0 -0
- sp_api/api/vehicles/vehicles.py +92 -0
- sp_api/api/vehicles/vehicles_2024_11_01.py +33 -0
- sp_api/api/vendor_direct_fulfillment_inventory/vendor_direct_fulfillment_inventory.py +16 -29
- sp_api/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders.py +116 -189
- sp_api/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders_2021_12_28.py +114 -0
- sp_api/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders_v1.py +114 -0
- sp_api/api/vendor_direct_fulfillment_payments/vendor_direct_fulfillment_payments.py +15 -225
- sp_api/api/vendor_direct_fulfillment_sandbox_test_data/__init__.py +0 -0
- sp_api/api/vendor_direct_fulfillment_sandbox_test_data/vendor_direct_fulfillment_sandbox_test_data.py +92 -0
- sp_api/api/vendor_direct_fulfillment_sandbox_test_data/vendor_direct_fulfillment_sandbox_test_data_2021_10_28.py +50 -0
- sp_api/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping.py +122 -624
- sp_api/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping_2021_12_28.py +390 -0
- sp_api/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping_v1.py +320 -0
- sp_api/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions.py +113 -29
- sp_api/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions_2021_12_28.py +47 -0
- sp_api/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions_v1.py +47 -0
- sp_api/api/vendor_invoices/vendor_invoices.py +15 -264
- sp_api/api/vendor_orders/vendor_orders.py +83 -131
- sp_api/api/vendor_shipments/vendor_shipments.py +149 -68
- sp_api/api/vendor_transaction_status/vendor_transaction_status.py +16 -11
- sp_api/asyncio/api/__init__.py +159 -4
- sp_api/asyncio/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu.py +84 -110
- sp_api/asyncio/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu_2024_05_09.py +457 -0
- sp_api/asyncio/api/aplus_content/aplus_content.py +176 -125
- sp_api/asyncio/api/application_integrations/application_integrations.py +59 -68
- sp_api/asyncio/api/application_management/application_management.py +20 -13
- sp_api/asyncio/api/authorization/authorization.py +8 -26
- sp_api/asyncio/api/catalog/catalog.py +27 -61
- sp_api/asyncio/api/catalog_items/catalog_items.py +94 -71
- sp_api/asyncio/api/catalog_items/catalog_items_2020_12_01.py +87 -0
- sp_api/asyncio/api/catalog_items/catalog_items_2022_04_01.py +90 -0
- sp_api/asyncio/api/customer_feedback/customer_feedback.py +100 -0
- sp_api/asyncio/api/data_kiosk/data_kiosk.py +80 -75
- sp_api/asyncio/api/delivery_by_amazon/__init__.py +0 -0
- sp_api/asyncio/api/delivery_by_amazon/delivery_by_amazon.py +92 -0
- sp_api/asyncio/api/delivery_by_amazon/delivery_by_amazon_2022_07_01.py +82 -0
- sp_api/asyncio/api/easy_ship/easy_ship.py +121 -111
- sp_api/asyncio/api/external_fulfillment/external_fulfillment.py +212 -435
- sp_api/asyncio/api/external_fulfillment/inventory.py +126 -0
- sp_api/asyncio/api/external_fulfillment/inventory_2021_01_06.py +73 -0
- sp_api/asyncio/api/external_fulfillment/inventory_2024_09_11.py +98 -0
- sp_api/asyncio/api/external_fulfillment/returns.py +124 -0
- sp_api/asyncio/api/external_fulfillment/returns_2021_08_19.py +90 -0
- sp_api/asyncio/api/external_fulfillment/returns_2024_09_11.py +143 -0
- sp_api/asyncio/api/external_fulfillment/shipping.py +124 -0
- sp_api/asyncio/api/external_fulfillment/shipping_2021_01_06.py +258 -0
- sp_api/asyncio/api/external_fulfillment/shipping_2024_09_11.py +235 -0
- sp_api/asyncio/api/fba_inbound_eligibility/fba_inbound_eligibility.py +31 -25
- sp_api/asyncio/api/fba_small_and_light/fba_small_and_light.py +61 -100
- sp_api/asyncio/api/feeds/feeds.py +75 -243
- sp_api/asyncio/api/feeds/feeds_2021_06_30.py +318 -0
- sp_api/asyncio/api/finances/finances.py +123 -91
- sp_api/asyncio/api/finances/finances_2024_06_01.py +72 -0
- sp_api/asyncio/api/finances/finances_2024_06_19.py +115 -0
- sp_api/asyncio/api/finances/finances_v0.py +117 -0
- sp_api/asyncio/api/fulfillment_inbound/fulfillment_inbound.py +107 -1785
- sp_api/asyncio/api/fulfillment_inbound/fulfillment_inbound_2024_03_20.py +1723 -0
- sp_api/asyncio/api/fulfillment_inbound/fulfillment_inbound_v0.py +1385 -0
- sp_api/asyncio/api/fulfillment_outbound/fulfillment_outbound.py +257 -481
- sp_api/asyncio/api/inventories/inventories.py +79 -42
- sp_api/asyncio/api/invoices/__init__.py +0 -0
- sp_api/asyncio/api/invoices/invoices.py +92 -0
- sp_api/asyncio/api/invoices/invoices_2024_06_19.py +345 -0
- sp_api/asyncio/api/listings_items/listings_items.py +109 -163
- sp_api/asyncio/api/listings_items/listings_items_2020_09_01.py +190 -0
- sp_api/asyncio/api/listings_items/listings_items_2021_08_01.py +233 -0
- sp_api/asyncio/api/listings_restrictions/listings_restrictions.py +23 -10
- sp_api/asyncio/api/merchant_fulfillment/merchant_fulfillment.py +110 -222
- sp_api/asyncio/api/messaging/messaging.py +185 -199
- sp_api/asyncio/api/notifications/notifications.py +145 -107
- sp_api/asyncio/api/orders/orders.py +9 -46
- sp_api/asyncio/api/orders/orders_2026_01_01.py +19 -65
- sp_api/asyncio/api/orders/orders_v0.py +152 -184
- sp_api/asyncio/api/product_fees/product_fees.py +101 -75
- sp_api/asyncio/api/product_type_definitions/product_type_definitions.py +47 -36
- sp_api/asyncio/api/products/products.py +94 -387
- sp_api/asyncio/api/products/products_2022_05_01.py +109 -0
- sp_api/asyncio/api/products/products_v0.py +388 -0
- sp_api/asyncio/api/replenishment/replenishment.py +59 -70
- sp_api/asyncio/api/reports/reports.py +124 -157
- sp_api/asyncio/api/sales/sales.py +22 -39
- sp_api/asyncio/api/seller_wallet/__init__.py +0 -0
- sp_api/asyncio/api/seller_wallet/seller_wallet.py +92 -0
- sp_api/asyncio/api/seller_wallet/seller_wallet_2024_03_01.py +301 -0
- sp_api/asyncio/api/sellers/sellers.py +16 -36
- sp_api/asyncio/api/services/services.py +479 -82
- sp_api/asyncio/api/shipment_invoicing/__init__.py +0 -0
- sp_api/asyncio/api/shipment_invoicing/shipment_invoicing.py +92 -0
- sp_api/asyncio/api/shipment_invoicing/shipment_invoicing_v0.py +102 -0
- sp_api/asyncio/api/shipping/shipping.py +94 -441
- sp_api/asyncio/api/shipping/shippingV2.py +181 -472
- sp_api/asyncio/api/shipping/shipping_v1.py +331 -0
- sp_api/asyncio/api/shipping/shipping_v2.py +717 -0
- sp_api/asyncio/api/solicitations/solicitations.py +29 -19
- sp_api/asyncio/api/supply_sources/supply_sources.py +67 -57
- sp_api/asyncio/api/tokens/tokens.py +14 -35
- sp_api/asyncio/api/vehicles/__init__.py +0 -0
- sp_api/asyncio/api/vehicles/vehicles.py +92 -0
- sp_api/asyncio/api/vehicles/vehicles_2024_11_01.py +34 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_inventory/vendor_direct_fulfillment_inventory.py +16 -29
- sp_api/asyncio/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders.py +120 -192
- sp_api/asyncio/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders_2021_12_28.py +116 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders_v1.py +115 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_payments/vendor_direct_fulfillment_payments.py +15 -225
- sp_api/asyncio/api/vendor_direct_fulfillment_sandbox_test_data/__init__.py +0 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_sandbox_test_data/vendor_direct_fulfillment_sandbox_test_data.py +92 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_sandbox_test_data/vendor_direct_fulfillment_sandbox_test_data_2021_10_28.py +51 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping.py +120 -623
- sp_api/asyncio/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping_2021_12_28.py +392 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping_v1.py +321 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions.py +112 -29
- sp_api/asyncio/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions_2021_12_28.py +49 -0
- sp_api/asyncio/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions_v1.py +48 -0
- sp_api/asyncio/api/vendor_invoices/vendor_invoices.py +16 -265
- sp_api/asyncio/api/vendor_orders/vendor_orders.py +84 -132
- sp_api/asyncio/api/vendor_shipments/vendor_shipments.py +150 -69
- sp_api/asyncio/api/vendor_transaction_status/vendor_transaction_status.py +17 -12
- sp_api/asyncio/base/client.py +2 -2
- sp_api/asyncio/util/load_date_bound.py +1 -1
- sp_api/base/__init__.py +10 -0
- sp_api/base/_core.py +2 -2
- sp_api/base/client.py +3 -3
- sp_api/base/helpers.py +12 -1
- sp_api/base/marketplaces.py +6 -3
- sp_api/util/__init__.py +2 -0
- sp_api/util/load_date_bound.py +1 -1
- sp_api/util/versioned_client.py +45 -0
- python_amazon_sp_api-2.0.15.dist-info/RECORD +0 -255
- sp_api/asyncio/api/models/__init__.py +0 -4
- sp_api/asyncio/api/overrides/__init__.py +0 -1
- {python_amazon_sp_api-2.0.15.data → python_amazon_sp_api-2.1.3.data}/scripts/make_endpoint +0 -0
- {python_amazon_sp_api-2.0.15.dist-info → python_amazon_sp_api-2.1.3.dist-info}/WHEEL +0 -0
- {python_amazon_sp_api-2.0.15.dist-info → python_amazon_sp_api-2.1.3.dist-info}/licenses/LICENSE +0 -0
- {python_amazon_sp_api-2.0.15.dist-info → python_amazon_sp_api-2.1.3.dist-info}/top_level.txt +0 -0
sp_api/api/services/services.py
CHANGED
|
@@ -15,24 +15,29 @@ class Services(Client):
|
|
|
15
15
|
def get_service_job_by_service_job_id(self, serviceJobId, **kwargs) -> ApiResponse:
|
|
16
16
|
"""
|
|
17
17
|
get_service_job_by_service_job_id(self, serviceJobId, **kwargs) -> ApiResponse
|
|
18
|
-
|
|
19
|
-
Gets
|
|
20
|
-
|
|
18
|
+
|
|
19
|
+
Gets details of service job indicated by the provided `serviceJobID`.
|
|
20
|
+
|
|
21
21
|
**Usage Plan:**
|
|
22
|
-
|
|
22
|
+
|
|
23
23
|
====================================== ==============
|
|
24
24
|
Rate (requests per second) Burst
|
|
25
25
|
====================================== ==============
|
|
26
26
|
20 40
|
|
27
27
|
====================================== ==============
|
|
28
|
-
|
|
28
|
+
|
|
29
29
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
30
|
-
|
|
30
|
+
|
|
31
|
+
Examples:
|
|
32
|
+
literal blocks::
|
|
33
|
+
|
|
34
|
+
Services().get_service_job_by_service_job_id("value")
|
|
35
|
+
|
|
31
36
|
Args:
|
|
32
|
-
serviceJobId:
|
|
33
|
-
|
|
37
|
+
serviceJobId: object | required A service job identifier.
|
|
38
|
+
|
|
34
39
|
Returns:
|
|
35
|
-
ApiResponse
|
|
40
|
+
ApiResponse
|
|
36
41
|
"""
|
|
37
42
|
|
|
38
43
|
return self._request(
|
|
@@ -45,26 +50,30 @@ class Services(Client):
|
|
|
45
50
|
) -> ApiResponse:
|
|
46
51
|
"""
|
|
47
52
|
cancel_service_job_by_service_job_id(self, serviceJobId, **kwargs) -> ApiResponse
|
|
48
|
-
|
|
49
|
-
Cancels the service job indicated by the service job identifier
|
|
50
|
-
|
|
53
|
+
|
|
54
|
+
Cancels the service job indicated by the service job identifier specified.
|
|
55
|
+
|
|
51
56
|
**Usage Plan:**
|
|
52
|
-
|
|
53
|
-
|
|
57
|
+
|
|
54
58
|
====================================== ==============
|
|
55
59
|
Rate (requests per second) Burst
|
|
56
60
|
====================================== ==============
|
|
57
61
|
5 20
|
|
58
62
|
====================================== ==============
|
|
59
|
-
|
|
63
|
+
|
|
60
64
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
61
|
-
|
|
65
|
+
|
|
66
|
+
Examples:
|
|
67
|
+
literal blocks::
|
|
68
|
+
|
|
69
|
+
Services().cancel_service_job_by_service_job_id("value")
|
|
70
|
+
|
|
62
71
|
Args:
|
|
63
|
-
serviceJobId:
|
|
64
|
-
key cancellationReasonCode:
|
|
65
|
-
|
|
72
|
+
serviceJobId: object | required An Amazon defined service job identifier.
|
|
73
|
+
key cancellationReasonCode: object | required A cancel reason code that specifies the reason for cancelling a service job.
|
|
74
|
+
|
|
66
75
|
Returns:
|
|
67
|
-
ApiResponse
|
|
76
|
+
ApiResponse
|
|
68
77
|
"""
|
|
69
78
|
|
|
70
79
|
return self._request(
|
|
@@ -77,25 +86,29 @@ class Services(Client):
|
|
|
77
86
|
) -> ApiResponse:
|
|
78
87
|
"""
|
|
79
88
|
complete_service_job_by_service_job_id(self, serviceJobId, **kwargs) -> ApiResponse
|
|
80
|
-
|
|
81
|
-
Completes the service job indicated by the service job identifier
|
|
82
|
-
|
|
89
|
+
|
|
90
|
+
Completes the service job indicated by the service job identifier specified.
|
|
91
|
+
|
|
83
92
|
**Usage Plan:**
|
|
84
|
-
|
|
85
|
-
|
|
93
|
+
|
|
86
94
|
====================================== ==============
|
|
87
95
|
Rate (requests per second) Burst
|
|
88
96
|
====================================== ==============
|
|
89
97
|
5 20
|
|
90
98
|
====================================== ==============
|
|
91
|
-
|
|
99
|
+
|
|
92
100
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
93
|
-
|
|
101
|
+
|
|
102
|
+
Examples:
|
|
103
|
+
literal blocks::
|
|
104
|
+
|
|
105
|
+
Services().complete_service_job_by_service_job_id("value")
|
|
106
|
+
|
|
94
107
|
Args:
|
|
95
|
-
serviceJobId:
|
|
96
|
-
|
|
108
|
+
serviceJobId: object | required An Amazon defined service job identifier.
|
|
109
|
+
|
|
97
110
|
Returns:
|
|
98
|
-
ApiResponse
|
|
111
|
+
ApiResponse
|
|
99
112
|
"""
|
|
100
113
|
|
|
101
114
|
return self._request(
|
|
@@ -106,36 +119,44 @@ class Services(Client):
|
|
|
106
119
|
def get_service_jobs(self, **kwargs) -> ApiResponse:
|
|
107
120
|
"""
|
|
108
121
|
get_service_jobs(self, **kwargs) -> ApiResponse
|
|
109
|
-
|
|
122
|
+
|
|
110
123
|
Gets service job details for the specified filter query.
|
|
111
|
-
|
|
124
|
+
|
|
112
125
|
**Usage Plan:**
|
|
113
|
-
|
|
126
|
+
|
|
114
127
|
====================================== ==============
|
|
115
128
|
Rate (requests per second) Burst
|
|
116
129
|
====================================== ==============
|
|
117
130
|
10 40
|
|
118
131
|
====================================== ==============
|
|
119
|
-
|
|
132
|
+
|
|
120
133
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
121
|
-
|
|
134
|
+
|
|
135
|
+
Examples:
|
|
136
|
+
literal blocks::
|
|
137
|
+
|
|
138
|
+
Services().get_service_jobs()
|
|
139
|
+
|
|
122
140
|
Args:
|
|
123
|
-
key serviceOrderIds:
|
|
124
|
-
key serviceJobStatus:
|
|
125
|
-
key pageToken:
|
|
126
|
-
key pageSize:
|
|
127
|
-
key sortField:
|
|
128
|
-
key sortOrder:
|
|
129
|
-
key createdAfter:
|
|
130
|
-
key createdBefore:
|
|
131
|
-
key lastUpdatedAfter:
|
|
132
|
-
key lastUpdatedBefore:
|
|
133
|
-
key scheduleStartDate:
|
|
134
|
-
key scheduleEndDate:
|
|
135
|
-
key marketplaceIds:
|
|
136
|
-
|
|
141
|
+
key serviceOrderIds: object | List of service order ids for the query you want to perform.Max values supported 20.
|
|
142
|
+
key serviceJobStatus: object | A list of one or more job status by which to filter the list of jobs.
|
|
143
|
+
key pageToken: object | String returned in the response of your previous request.
|
|
144
|
+
key pageSize: object | A non-negative integer that indicates the maximum number of jobs to return in the list, Value must be 1 - 20. Default 20.
|
|
145
|
+
key sortField: object | Sort fields on which you want to sort the output.
|
|
146
|
+
key sortOrder: object | Sort order for the query you want to perform.
|
|
147
|
+
key createdAfter: object | A date used for selecting jobs created at or after a specified time. Must be in ISO 8601 format. Required if `LastUpdatedAfter` is not specified. Specifying both `CreatedAfter` and `LastUpdatedAfter` returns an error.
|
|
148
|
+
key createdBefore: object | A date used for selecting jobs created at or before a specified time. Must be in ISO 8601 format.
|
|
149
|
+
key lastUpdatedAfter: object | A date used for selecting jobs updated at or after a specified time. Must be in ISO 8601 format. Required if `createdAfter` is not specified. Specifying both `CreatedAfter` and `LastUpdatedAfter` returns an error.
|
|
150
|
+
key lastUpdatedBefore: object | A date used for selecting jobs updated at or before a specified time. Must be in ISO 8601 format.
|
|
151
|
+
key scheduleStartDate: object | A date used for filtering jobs schedules at or after a specified time. Must be in ISO 8601 format. Schedule end date should not be earlier than schedule start date.
|
|
152
|
+
key scheduleEndDate: object | A date used for filtering jobs schedules at or before a specified time. Must be in ISO 8601 format. Schedule end date should not be earlier than schedule start date.
|
|
153
|
+
key marketplaceIds: object | required Used to select jobs that were placed in the specified marketplaces.
|
|
154
|
+
key asins: object | List of Amazon Standard Identification Numbers (ASIN) of the items. Max values supported is 20.
|
|
155
|
+
key requiredSkills: object | A defined set of related knowledge, skills, experience, tools, materials, and work processes common to service delivery for a set of products and/or service scenarios. Max values supported is 20.
|
|
156
|
+
key storeIds: object | List of Amazon-defined identifiers for the region scope. Max values supported is 50.
|
|
157
|
+
|
|
137
158
|
Returns:
|
|
138
|
-
ApiResponse
|
|
159
|
+
ApiResponse
|
|
139
160
|
"""
|
|
140
161
|
|
|
141
162
|
return self._request(kwargs.pop("path"), params=kwargs)
|
|
@@ -146,31 +167,30 @@ class Services(Client):
|
|
|
146
167
|
) -> ApiResponse:
|
|
147
168
|
"""
|
|
148
169
|
add_appointment_for_service_job_by_service_job_id(self, serviceJobId, **kwargs) -> ApiResponse
|
|
149
|
-
|
|
150
|
-
Adds an appointment to the service job indicated by the service job identifier
|
|
151
|
-
|
|
170
|
+
|
|
171
|
+
Adds an appointment to the service job indicated by the service job identifier specified.
|
|
172
|
+
|
|
152
173
|
**Usage Plan:**
|
|
153
|
-
|
|
154
|
-
|
|
174
|
+
|
|
155
175
|
====================================== ==============
|
|
156
176
|
Rate (requests per second) Burst
|
|
157
177
|
====================================== ==============
|
|
158
178
|
5 20
|
|
159
179
|
====================================== ==============
|
|
160
|
-
|
|
180
|
+
|
|
161
181
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
162
|
-
|
|
182
|
+
|
|
183
|
+
Examples:
|
|
184
|
+
literal blocks::
|
|
185
|
+
|
|
186
|
+
Services().add_appointment_for_service_job_by_service_job_id("value")
|
|
187
|
+
|
|
163
188
|
Args:
|
|
164
|
-
serviceJobId:
|
|
165
|
-
body:
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
Returns:
|
|
173
|
-
ApiResponse:
|
|
189
|
+
serviceJobId: object | required An Amazon defined service job identifier.
|
|
190
|
+
body: AddAppointmentRequest | required Add appointment operation input details.
|
|
191
|
+
|
|
192
|
+
Returns:
|
|
193
|
+
ApiResponse
|
|
174
194
|
"""
|
|
175
195
|
|
|
176
196
|
return self._request(
|
|
@@ -183,35 +203,412 @@ class Services(Client):
|
|
|
183
203
|
) -> ApiResponse:
|
|
184
204
|
"""
|
|
185
205
|
reschedule_appointment_for_service_job_by_service_job_id(self, serviceJobId, **kwargs) -> ApiResponse
|
|
186
|
-
|
|
206
|
+
|
|
187
207
|
Reschedules an appointment for the service job indicated by the service job identifier you specify.
|
|
208
|
+
|
|
209
|
+
Examples:
|
|
210
|
+
literal blocks::
|
|
211
|
+
|
|
212
|
+
Services().reschedule_appointment_for_service_job_by_service_job_id("value")
|
|
213
|
+
|
|
214
|
+
Args:
|
|
215
|
+
serviceJobId: | required
|
|
216
|
+
**kwargs:
|
|
217
|
+
|
|
218
|
+
Returns:
|
|
219
|
+
ApiResponse
|
|
220
|
+
"""
|
|
221
|
+
|
|
222
|
+
return self._request(
|
|
223
|
+
fill_query_params(kwargs.pop("path"), serviceJobId), data=kwargs
|
|
224
|
+
)
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
@sp_endpoint("/service/v1/serviceJobs/{}/appointments/{}", method="POST")
|
|
232
|
+
def reschedule_appointment_for_service_job_by_service_job_id_post(self, serviceJobId, appointmentId, **kwargs) -> ApiResponse:
|
|
233
|
+
"""
|
|
234
|
+
reschedule_appointment_for_service_job_by_service_job_id_post(self, serviceJobId, appointmentId, **kwargs) -> ApiResponse
|
|
235
|
+
|
|
236
|
+
Reschedules an appointment for the service job indicated by the service job identifier specified.
|
|
237
|
+
|
|
238
|
+
**Usage Plan:**
|
|
239
|
+
|
|
240
|
+
====================================== ==============
|
|
241
|
+
Rate (requests per second) Burst
|
|
242
|
+
====================================== ==============
|
|
243
|
+
5 20
|
|
244
|
+
====================================== ==============
|
|
245
|
+
|
|
246
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
247
|
+
|
|
248
|
+
Examples:
|
|
249
|
+
literal blocks::
|
|
250
|
+
|
|
251
|
+
Services().reschedule_appointment_for_service_job_by_service_job_id_post("value", "value")
|
|
252
|
+
|
|
253
|
+
Args:
|
|
254
|
+
serviceJobId: object | required An Amazon defined service job identifier.
|
|
255
|
+
appointmentId: object | required An existing appointment identifier for the Service Job.
|
|
256
|
+
body: RescheduleAppointmentRequest | required Reschedule appointment operation input details.
|
|
257
|
+
|
|
258
|
+
Returns:
|
|
259
|
+
ApiResponse
|
|
260
|
+
"""
|
|
261
|
+
return self._request(fill_query_params(kwargs.pop("path"), serviceJobId, appointmentId), data=kwargs)
|
|
262
|
+
|
|
263
|
+
@sp_endpoint("/service/v1/serviceJobs/{}/appointments/{}/resources", method="PUT")
|
|
264
|
+
def assign_appointment_resources(self, serviceJobId, appointmentId, **kwargs) -> ApiResponse:
|
|
265
|
+
"""
|
|
266
|
+
assign_appointment_resources(self, serviceJobId, appointmentId, **kwargs) -> ApiResponse
|
|
267
|
+
|
|
268
|
+
Assigns new resource(s) or overwrite/update the existing one(s) to a service job appointment.
|
|
269
|
+
|
|
270
|
+
**Usage Plan:**
|
|
271
|
+
|
|
272
|
+
====================================== ==============
|
|
273
|
+
Rate (requests per second) Burst
|
|
274
|
+
====================================== ==============
|
|
275
|
+
1 2
|
|
276
|
+
====================================== ==============
|
|
277
|
+
|
|
278
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
279
|
+
|
|
280
|
+
Examples:
|
|
281
|
+
literal blocks::
|
|
282
|
+
|
|
283
|
+
Services().assign_appointment_resources("value", "value")
|
|
284
|
+
|
|
285
|
+
Args:
|
|
286
|
+
serviceJobId: object | required An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API.
|
|
287
|
+
appointmentId: object | required An Amazon-defined identifier of active service job appointment.
|
|
288
|
+
body: AssignAppointmentResourcesRequest | required
|
|
289
|
+
|
|
290
|
+
Returns:
|
|
291
|
+
ApiResponse
|
|
292
|
+
"""
|
|
293
|
+
return self._request(fill_query_params(kwargs.pop("path"), serviceJobId, appointmentId), data=kwargs)
|
|
294
|
+
|
|
295
|
+
@sp_endpoint("/service/v1/serviceJobs/{}/appointments/{}/fulfillment", method="PUT")
|
|
296
|
+
def set_appointment_fulfillment_data(self, serviceJobId, appointmentId, **kwargs) -> ApiResponse:
|
|
297
|
+
"""
|
|
298
|
+
set_appointment_fulfillment_data(self, serviceJobId, appointmentId, **kwargs) -> ApiResponse
|
|
299
|
+
|
|
300
|
+
Updates the appointment fulfillment data related to a given `jobID` and `appointmentID`.
|
|
301
|
+
|
|
302
|
+
**Usage Plan:**
|
|
303
|
+
|
|
304
|
+
====================================== ==============
|
|
305
|
+
Rate (requests per second) Burst
|
|
306
|
+
====================================== ==============
|
|
307
|
+
5 20
|
|
308
|
+
====================================== ==============
|
|
309
|
+
|
|
310
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
311
|
+
|
|
312
|
+
Examples:
|
|
313
|
+
literal blocks::
|
|
314
|
+
|
|
315
|
+
Services().set_appointment_fulfillment_data("value", "value")
|
|
316
|
+
|
|
317
|
+
Args:
|
|
318
|
+
serviceJobId: object | required An Amazon-defined service job identifier. Get this value by calling the `getServiceJobs` operation of the Services API.
|
|
319
|
+
appointmentId: object | required An Amazon-defined identifier of active service job appointment.
|
|
320
|
+
body: SetAppointmentFulfillmentDataRequest | required Appointment fulfillment data collection details.
|
|
321
|
+
|
|
322
|
+
Returns:
|
|
323
|
+
ApiResponse
|
|
324
|
+
"""
|
|
325
|
+
return self._request(fill_query_params(kwargs.pop("path"), serviceJobId, appointmentId), data=kwargs)
|
|
326
|
+
|
|
327
|
+
@sp_endpoint("/service/v1/serviceResources/{}/capacity/range", method="POST")
|
|
328
|
+
def get_range_slot_capacity(self, resourceId, **kwargs) -> ApiResponse:
|
|
329
|
+
"""
|
|
330
|
+
get_range_slot_capacity(self, resourceId, **kwargs) -> ApiResponse
|
|
331
|
+
|
|
332
|
+
Provides capacity slots in a format similar to availability records.
|
|
333
|
+
|
|
334
|
+
**Usage Plan:**
|
|
335
|
+
|
|
336
|
+
====================================== ==============
|
|
337
|
+
Rate (requests per second) Burst
|
|
338
|
+
====================================== ==============
|
|
339
|
+
5 20
|
|
340
|
+
====================================== ==============
|
|
341
|
+
|
|
342
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
343
|
+
|
|
344
|
+
Examples:
|
|
345
|
+
literal blocks::
|
|
346
|
+
|
|
347
|
+
Services().get_range_slot_capacity("value")
|
|
348
|
+
|
|
349
|
+
Args:
|
|
350
|
+
resourceId: object | required Resource Identifier.
|
|
351
|
+
body: RangeSlotCapacityQuery | required Request body.
|
|
352
|
+
key marketplaceIds: object | required An identifier for the marketplace in which the resource operates.
|
|
353
|
+
key nextPageToken: object | Next page token returned in the response of your previous request.
|
|
354
|
+
|
|
355
|
+
Returns:
|
|
356
|
+
ApiResponse
|
|
357
|
+
"""
|
|
358
|
+
return self._request(fill_query_params(kwargs.pop("path"), resourceId), data=kwargs)
|
|
188
359
|
|
|
360
|
+
@sp_endpoint("/service/v1/serviceResources/{}/capacity/fixed", method="POST")
|
|
361
|
+
def get_fixed_slot_capacity(self, resourceId, **kwargs) -> ApiResponse:
|
|
362
|
+
"""
|
|
363
|
+
get_fixed_slot_capacity(self, resourceId, **kwargs) -> ApiResponse
|
|
364
|
+
|
|
365
|
+
Provides capacity in fixed-size slots.
|
|
366
|
+
|
|
189
367
|
**Usage Plan:**
|
|
368
|
+
|
|
369
|
+
====================================== ==============
|
|
370
|
+
Rate (requests per second) Burst
|
|
371
|
+
====================================== ==============
|
|
372
|
+
5 20
|
|
373
|
+
====================================== ==============
|
|
374
|
+
|
|
375
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
376
|
+
|
|
377
|
+
Examples:
|
|
378
|
+
literal blocks::
|
|
379
|
+
|
|
380
|
+
Services().get_fixed_slot_capacity("value")
|
|
381
|
+
|
|
382
|
+
Args:
|
|
383
|
+
resourceId: object | required Resource Identifier.
|
|
384
|
+
body: FixedSlotCapacityQuery | required Request body.
|
|
385
|
+
key marketplaceIds: object | required An identifier for the marketplace in which the resource operates.
|
|
386
|
+
key nextPageToken: object | Next page token returned in the response of your previous request.
|
|
387
|
+
|
|
388
|
+
Returns:
|
|
389
|
+
ApiResponse
|
|
390
|
+
"""
|
|
391
|
+
return self._request(fill_query_params(kwargs.pop("path"), resourceId), data=kwargs)
|
|
190
392
|
|
|
393
|
+
@sp_endpoint("/service/v1/serviceResources/{}/schedules", method="PUT")
|
|
394
|
+
def update_schedule(self, resourceId, **kwargs) -> ApiResponse:
|
|
395
|
+
"""
|
|
396
|
+
update_schedule(self, resourceId, **kwargs) -> ApiResponse
|
|
397
|
+
|
|
398
|
+
Update the schedule of the given resource.
|
|
399
|
+
|
|
400
|
+
**Usage Plan:**
|
|
401
|
+
|
|
191
402
|
====================================== ==============
|
|
192
403
|
Rate (requests per second) Burst
|
|
193
404
|
====================================== ==============
|
|
194
405
|
5 20
|
|
195
406
|
====================================== ==============
|
|
407
|
+
|
|
408
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
409
|
+
|
|
410
|
+
Examples:
|
|
411
|
+
literal blocks::
|
|
412
|
+
|
|
413
|
+
Services().update_schedule("value")
|
|
414
|
+
|
|
415
|
+
Args:
|
|
416
|
+
resourceId: object | required Resource (store) Identifier
|
|
417
|
+
body: UpdateScheduleRequest | required Schedule details
|
|
418
|
+
key marketplaceIds: object | required An identifier for the marketplace in which the resource operates.
|
|
419
|
+
|
|
420
|
+
Returns:
|
|
421
|
+
ApiResponse
|
|
422
|
+
"""
|
|
423
|
+
return self._request(fill_query_params(kwargs.pop("path"), resourceId), data=kwargs)
|
|
196
424
|
|
|
425
|
+
@sp_endpoint("/service/v1/reservation", method="POST")
|
|
426
|
+
def create_reservation(self, **kwargs) -> ApiResponse:
|
|
427
|
+
"""
|
|
428
|
+
create_reservation(self, **kwargs) -> ApiResponse
|
|
429
|
+
|
|
430
|
+
Create a reservation.
|
|
431
|
+
|
|
432
|
+
**Usage Plan:**
|
|
433
|
+
|
|
434
|
+
====================================== ==============
|
|
435
|
+
Rate (requests per second) Burst
|
|
436
|
+
====================================== ==============
|
|
437
|
+
5 20
|
|
438
|
+
====================================== ==============
|
|
439
|
+
|
|
197
440
|
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
441
|
+
|
|
442
|
+
Examples:
|
|
443
|
+
literal blocks::
|
|
444
|
+
|
|
445
|
+
Services().create_reservation()
|
|
446
|
+
|
|
447
|
+
Args:
|
|
448
|
+
body: CreateReservationRequest | required Reservation details
|
|
449
|
+
key marketplaceIds: object | required An identifier for the marketplace in which the resource operates.
|
|
450
|
+
|
|
451
|
+
Returns:
|
|
452
|
+
ApiResponse
|
|
453
|
+
"""
|
|
454
|
+
return self._request(kwargs.pop("path"), data=kwargs)
|
|
198
455
|
|
|
456
|
+
@sp_endpoint("/service/v1/reservation/{}", method="PUT")
|
|
457
|
+
def update_reservation(self, reservationId, **kwargs) -> ApiResponse:
|
|
458
|
+
"""
|
|
459
|
+
update_reservation(self, reservationId, **kwargs) -> ApiResponse
|
|
460
|
+
|
|
461
|
+
Update a reservation.
|
|
462
|
+
|
|
463
|
+
**Usage Plan:**
|
|
464
|
+
|
|
465
|
+
====================================== ==============
|
|
466
|
+
Rate (requests per second) Burst
|
|
467
|
+
====================================== ==============
|
|
468
|
+
5 20
|
|
469
|
+
====================================== ==============
|
|
470
|
+
|
|
471
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
472
|
+
|
|
473
|
+
Examples:
|
|
474
|
+
literal blocks::
|
|
475
|
+
|
|
476
|
+
Services().update_reservation("value")
|
|
477
|
+
|
|
199
478
|
Args:
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
"rescheduleReasonCode": "string"
|
|
209
|
-
}
|
|
479
|
+
reservationId: object | required Reservation Identifier
|
|
480
|
+
body: UpdateReservationRequest | required Reservation details
|
|
481
|
+
key marketplaceIds: object | required An identifier for the marketplace in which the resource operates.
|
|
482
|
+
|
|
483
|
+
Returns:
|
|
484
|
+
ApiResponse
|
|
485
|
+
"""
|
|
486
|
+
return self._request(fill_query_params(kwargs.pop("path"), reservationId), data=kwargs)
|
|
210
487
|
|
|
488
|
+
@sp_endpoint("/service/v1/reservation/{}", method="DELETE")
|
|
489
|
+
def cancel_reservation(self, reservationId, **kwargs) -> ApiResponse:
|
|
490
|
+
"""
|
|
491
|
+
cancel_reservation(self, reservationId, **kwargs) -> ApiResponse
|
|
492
|
+
|
|
493
|
+
Cancel a reservation.
|
|
494
|
+
|
|
495
|
+
**Usage Plan:**
|
|
496
|
+
|
|
497
|
+
====================================== ==============
|
|
498
|
+
Rate (requests per second) Burst
|
|
499
|
+
====================================== ==============
|
|
500
|
+
5 20
|
|
501
|
+
====================================== ==============
|
|
502
|
+
|
|
503
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
504
|
+
|
|
505
|
+
Examples:
|
|
506
|
+
literal blocks::
|
|
507
|
+
|
|
508
|
+
Services().cancel_reservation("value")
|
|
509
|
+
|
|
510
|
+
Args:
|
|
511
|
+
reservationId: object | required Reservation Identifier
|
|
512
|
+
key marketplaceIds: object | required An identifier for the marketplace in which the resource operates.
|
|
513
|
+
|
|
211
514
|
Returns:
|
|
212
|
-
ApiResponse
|
|
515
|
+
ApiResponse
|
|
213
516
|
"""
|
|
517
|
+
return self._request(fill_query_params(kwargs.pop("path"), reservationId), params=kwargs)
|
|
214
518
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
519
|
+
@sp_endpoint("/service/v1/serviceJobs/{}/appointmentSlots", method="GET")
|
|
520
|
+
def get_appointmment_slots_by_job_id(self, serviceJobId, **kwargs) -> ApiResponse:
|
|
521
|
+
"""
|
|
522
|
+
get_appointmment_slots_by_job_id(self, serviceJobId, **kwargs) -> ApiResponse
|
|
523
|
+
|
|
524
|
+
Gets appointment slots for the service associated with the service job id specified.
|
|
525
|
+
|
|
526
|
+
**Usage Plan:**
|
|
527
|
+
|
|
528
|
+
====================================== ==============
|
|
529
|
+
Rate (requests per second) Burst
|
|
530
|
+
====================================== ==============
|
|
531
|
+
5 20
|
|
532
|
+
====================================== ==============
|
|
533
|
+
|
|
534
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
535
|
+
|
|
536
|
+
Examples:
|
|
537
|
+
literal blocks::
|
|
538
|
+
|
|
539
|
+
Services().get_appointmment_slots_by_job_id("value")
|
|
540
|
+
|
|
541
|
+
Args:
|
|
542
|
+
serviceJobId: object | required A service job identifier to retrive appointment slots for associated service.
|
|
543
|
+
key marketplaceIds: object | required An identifier for the marketplace in which the resource operates.
|
|
544
|
+
key startTime: object | A time from which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `startTime` is provided, `endTime` should also be provided. Default value is as per business configuration.
|
|
545
|
+
key endTime: object | A time up to which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `endTime` is provided, `startTime` should also be provided. Default value is as per business configuration. Maximum range of appointment slots can be 90 days.
|
|
546
|
+
|
|
547
|
+
Returns:
|
|
548
|
+
ApiResponse
|
|
549
|
+
"""
|
|
550
|
+
return self._request(fill_query_params(kwargs.pop("path"), serviceJobId), params=kwargs)
|
|
551
|
+
|
|
552
|
+
@sp_endpoint("/service/v1/appointmentSlots", method="GET")
|
|
553
|
+
def get_appointment_slots(self, **kwargs) -> ApiResponse:
|
|
554
|
+
"""
|
|
555
|
+
get_appointment_slots(self, **kwargs) -> ApiResponse
|
|
556
|
+
|
|
557
|
+
Gets appointment slots as per the service context specified.
|
|
558
|
+
|
|
559
|
+
**Usage Plan:**
|
|
560
|
+
|
|
561
|
+
====================================== ==============
|
|
562
|
+
Rate (requests per second) Burst
|
|
563
|
+
====================================== ==============
|
|
564
|
+
20 40
|
|
565
|
+
====================================== ==============
|
|
566
|
+
|
|
567
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
568
|
+
|
|
569
|
+
Examples:
|
|
570
|
+
literal blocks::
|
|
571
|
+
|
|
572
|
+
Services().get_appointment_slots()
|
|
573
|
+
|
|
574
|
+
Args:
|
|
575
|
+
key asin: object | required ASIN associated with the service.
|
|
576
|
+
key storeId: object | required Store identifier defining the region scope to retrive appointment slots.
|
|
577
|
+
key marketplaceIds: object | required An identifier for the marketplace for which appointment slots are queried
|
|
578
|
+
key startTime: object | A time from which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `startTime` is provided, `endTime` should also be provided. Default value is as per business configuration.
|
|
579
|
+
key endTime: object | A time up to which the appointment slots will be retrieved. The specified time must be in ISO 8601 format. If `endTime` is provided, `startTime` should also be provided. Default value is as per business configuration. Maximum range of appointment slots can be 90 days.
|
|
580
|
+
|
|
581
|
+
Returns:
|
|
582
|
+
ApiResponse
|
|
583
|
+
"""
|
|
584
|
+
return self._request(kwargs.pop("path"), params=kwargs)
|
|
585
|
+
|
|
586
|
+
@sp_endpoint("/service/v1/documents", method="POST")
|
|
587
|
+
def create_service_document_upload_destination(self, **kwargs) -> ApiResponse:
|
|
588
|
+
"""
|
|
589
|
+
create_service_document_upload_destination(self, **kwargs) -> ApiResponse
|
|
590
|
+
|
|
591
|
+
Creates an upload destination.
|
|
592
|
+
|
|
593
|
+
**Usage Plan:**
|
|
594
|
+
|
|
595
|
+
====================================== ==============
|
|
596
|
+
Rate (requests per second) Burst
|
|
597
|
+
====================================== ==============
|
|
598
|
+
5 20
|
|
599
|
+
====================================== ==============
|
|
600
|
+
|
|
601
|
+
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
|
|
602
|
+
|
|
603
|
+
Examples:
|
|
604
|
+
literal blocks::
|
|
605
|
+
|
|
606
|
+
Services().create_service_document_upload_destination()
|
|
607
|
+
|
|
608
|
+
Args:
|
|
609
|
+
body: ServiceUploadDocument | required Upload document operation input details.
|
|
610
|
+
|
|
611
|
+
Returns:
|
|
612
|
+
ApiResponse
|
|
613
|
+
"""
|
|
614
|
+
return self._request(kwargs.pop("path"), data=kwargs)
|
|
File without changes
|