wildberries-sdk 0.1.20__py3-none-any.whl → 0.1.22__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 (75) hide show
  1. wildberries_sdk/analytics/__init__.py +1 -1
  2. wildberries_sdk/analytics/api_client.py +1 -1
  3. wildberries_sdk/analytics/configuration.py +1 -1
  4. wildberries_sdk/communications/__init__.py +1 -1
  5. wildberries_sdk/communications/api_client.py +1 -1
  6. wildberries_sdk/communications/configuration.py +1 -1
  7. wildberries_sdk/finances/__init__.py +1 -1
  8. wildberries_sdk/finances/api_client.py +1 -1
  9. wildberries_sdk/finances/configuration.py +1 -1
  10. wildberries_sdk/general/__init__.py +1 -1
  11. wildberries_sdk/general/api_client.py +1 -1
  12. wildberries_sdk/general/configuration.py +1 -1
  13. wildberries_sdk/in_store_pickup/__init__.py +1 -1
  14. wildberries_sdk/in_store_pickup/api_client.py +1 -1
  15. wildberries_sdk/in_store_pickup/configuration.py +1 -1
  16. wildberries_sdk/orders_dbs/__init__.py +43 -1
  17. wildberries_sdk/orders_dbs/api/default_api.py +3610 -78
  18. wildberries_sdk/orders_dbs/api_client.py +1 -1
  19. wildberries_sdk/orders_dbs/configuration.py +1 -1
  20. wildberries_sdk/orders_dbs/models/__init__.py +21 -0
  21. wildberries_sdk/orders_dbs/models/api_batch_error.py +93 -0
  22. wildberries_sdk/orders_dbs/models/api_batch_error_response.py +89 -0
  23. wildberries_sdk/orders_dbs/models/api_error.py +93 -0
  24. wildberries_sdk/orders_dbs/models/api_gtin.py +90 -0
  25. wildberries_sdk/orders_dbs/models/api_imei.py +90 -0
  26. wildberries_sdk/orders_dbs/models/api_order_code_request.py +89 -0
  27. wildberries_sdk/orders_dbs/models/api_order_meta_v2.py +97 -0
  28. wildberries_sdk/orders_dbs/models/api_order_status_v2.py +101 -0
  29. wildberries_sdk/orders_dbs/models/api_order_statuses_v2.py +95 -0
  30. wildberries_sdk/orders_dbs/models/api_orders_code_request.py +96 -0
  31. wildberries_sdk/orders_dbs/models/api_orders_gtin_set_request.py +96 -0
  32. wildberries_sdk/orders_dbs/models/api_orders_imei_set_request.py +96 -0
  33. wildberries_sdk/orders_dbs/models/api_orders_meta_delete_request.py +90 -0
  34. wildberries_sdk/orders_dbs/models/api_orders_meta_response.py +95 -0
  35. wildberries_sdk/orders_dbs/models/api_orders_request_v2.py +88 -0
  36. wildberries_sdk/orders_dbs/models/api_orders_sgtins_set_request.py +96 -0
  37. wildberries_sdk/orders_dbs/models/api_orders_uin_set_request.py +96 -0
  38. wildberries_sdk/orders_dbs/models/api_sgtins.py +90 -0
  39. wildberries_sdk/orders_dbs/models/api_status_set_response.py +99 -0
  40. wildberries_sdk/orders_dbs/models/api_status_set_responses.py +97 -0
  41. wildberries_sdk/orders_dbs/models/api_uin.py +90 -0
  42. wildberries_sdk/orders_dbs/models/error.py +1 -1
  43. wildberries_sdk/orders_dbs/models/order_new_dbs.py +1 -1
  44. wildberries_sdk/orders_dbw/__init__.py +1 -1
  45. wildberries_sdk/orders_dbw/api_client.py +1 -1
  46. wildberries_sdk/orders_dbw/configuration.py +1 -1
  47. wildberries_sdk/orders_fbs/__init__.py +1 -1
  48. wildberries_sdk/orders_fbs/api_client.py +1 -1
  49. wildberries_sdk/orders_fbs/configuration.py +1 -1
  50. wildberries_sdk/orders_fbw/__init__.py +1 -1
  51. wildberries_sdk/orders_fbw/api_client.py +1 -1
  52. wildberries_sdk/orders_fbw/configuration.py +1 -1
  53. wildberries_sdk/products/__init__.py +1 -1
  54. wildberries_sdk/products/api_client.py +1 -1
  55. wildberries_sdk/products/configuration.py +1 -1
  56. wildberries_sdk/promotion/__init__.py +1 -1
  57. wildberries_sdk/promotion/api_client.py +1 -1
  58. wildberries_sdk/promotion/configuration.py +1 -1
  59. wildberries_sdk/reports/__init__.py +1 -1
  60. wildberries_sdk/reports/api/default_api.py +21 -21
  61. wildberries_sdk/reports/api_client.py +1 -1
  62. wildberries_sdk/reports/configuration.py +1 -1
  63. wildberries_sdk/reports/models/orders_item.py +1 -1
  64. wildberries_sdk/reports/models/sales_item.py +3 -3
  65. wildberries_sdk/tariffs/__init__.py +1 -1
  66. wildberries_sdk/tariffs/api_client.py +1 -1
  67. wildberries_sdk/tariffs/configuration.py +1 -1
  68. wildberries_sdk/wbd/__init__.py +1 -1
  69. wildberries_sdk/wbd/api_client.py +1 -1
  70. wildberries_sdk/wbd/configuration.py +1 -1
  71. {wildberries_sdk-0.1.20.dist-info → wildberries_sdk-0.1.22.dist-info}/METADATA +32 -15
  72. {wildberries_sdk-0.1.20.dist-info → wildberries_sdk-0.1.22.dist-info}/RECORD +75 -54
  73. {wildberries_sdk-0.1.20.dist-info → wildberries_sdk-0.1.22.dist-info}/LICENSE +0 -0
  74. {wildberries_sdk-0.1.20.dist-info → wildberries_sdk-0.1.22.dist-info}/WHEEL +0 -0
  75. {wildberries_sdk-0.1.20.dist-info → wildberries_sdk-0.1.22.dist-info}/top_level.txt +0 -0
@@ -21,6 +21,16 @@ from typing import List, Optional
21
21
  from typing_extensions import Annotated
22
22
  from wildberries_sdk.orders_dbs.models.api_order_group_inner import ApiOrderGroupInner
23
23
  from wildberries_sdk.orders_dbs.models.api_order_groups_request import ApiOrderGroupsRequest
24
+ from wildberries_sdk.orders_dbs.models.api_order_statuses_v2 import ApiOrderStatusesV2
25
+ from wildberries_sdk.orders_dbs.models.api_orders_code_request import ApiOrdersCodeRequest
26
+ from wildberries_sdk.orders_dbs.models.api_orders_gtin_set_request import ApiOrdersGTINSetRequest
27
+ from wildberries_sdk.orders_dbs.models.api_orders_imei_set_request import ApiOrdersIMEISetRequest
28
+ from wildberries_sdk.orders_dbs.models.api_orders_meta_delete_request import ApiOrdersMetaDeleteRequest
29
+ from wildberries_sdk.orders_dbs.models.api_orders_meta_response import ApiOrdersMetaResponse
30
+ from wildberries_sdk.orders_dbs.models.api_orders_request_v2 import ApiOrdersRequestV2
31
+ from wildberries_sdk.orders_dbs.models.api_orders_sgtins_set_request import ApiOrdersSGTINsSetRequest
32
+ from wildberries_sdk.orders_dbs.models.api_orders_uin_set_request import ApiOrdersUINSetRequest
33
+ from wildberries_sdk.orders_dbs.models.api_status_set_responses import ApiStatusSetResponses
24
34
  from wildberries_sdk.orders_dbs.models.api_v3_dbs_orders_get200_response import ApiV3DbsOrdersGet200Response
25
35
  from wildberries_sdk.orders_dbs.models.api_v3_dbs_orders_new_get200_response import ApiV3DbsOrdersNewGet200Response
26
36
  from wildberries_sdk.orders_dbs.models.api_v3_dbs_orders_order_id_meta_get200_response import ApiV3DbsOrdersOrderIdMetaGet200Response
@@ -54,6 +64,3492 @@ class DefaultApi:
54
64
  self.api_client = api_client
55
65
 
56
66
 
67
+ @validate_call
68
+ def api_marketplace_v3_dbs_orders_meta_delete_post(
69
+ self,
70
+ api_orders_meta_delete_request: Optional[ApiOrdersMetaDeleteRequest] = None,
71
+ _request_timeout: Union[
72
+ None,
73
+ Annotated[StrictFloat, Field(gt=0)],
74
+ Tuple[
75
+ Annotated[StrictFloat, Field(gt=0)],
76
+ Annotated[StrictFloat, Field(gt=0)]
77
+ ]
78
+ ] = None,
79
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
80
+ _content_type: Optional[StrictStr] = None,
81
+ _headers: Optional[Dict[StrictStr, Any]] = None,
82
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
83
+ ) -> ApiStatusSetResponses:
84
+ """Удалить метаданные сборочных заданий
85
+
86
+ Метод удаляет значение указанных [метаданных](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post) для нескольких сборочных заданий. <br><br> В одном запросе можно удалить метаданные только одного типа. Укажите тип метаданных в запросе: - `imei` — [IMEI](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1imei/post) - `uin` — [УИН](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1uin/post) - `gtin` — [GTIN](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1gtin/post) - `sgtin` — [код маркировки](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1sgtin/post) <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>получения и удаления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
87
+
88
+ :param api_orders_meta_delete_request:
89
+ :type api_orders_meta_delete_request: ApiOrdersMetaDeleteRequest
90
+ :param _request_timeout: timeout setting for this request. If one
91
+ number provided, it will be total request
92
+ timeout. It can also be a pair (tuple) of
93
+ (connection, read) timeouts.
94
+ :type _request_timeout: int, tuple(int, int), optional
95
+ :param _request_auth: set to override the auth_settings for an a single
96
+ request; this effectively ignores the
97
+ authentication in the spec for a single request.
98
+ :type _request_auth: dict, optional
99
+ :param _content_type: force content-type for the request.
100
+ :type _content_type: str, Optional
101
+ :param _headers: set to override the headers for a single
102
+ request; this effectively ignores the headers
103
+ in the spec for a single request.
104
+ :type _headers: dict, optional
105
+ :param _host_index: set to override the host_index for a single
106
+ request; this effectively ignores the host_index
107
+ in the spec for a single request.
108
+ :type _host_index: int, optional
109
+ :return: Returns the result object.
110
+ """ # noqa: E501
111
+
112
+ _param = self._api_marketplace_v3_dbs_orders_meta_delete_post_serialize(
113
+ api_orders_meta_delete_request=api_orders_meta_delete_request,
114
+ _request_auth=_request_auth,
115
+ _content_type=_content_type,
116
+ _headers=_headers,
117
+ _host_index=_host_index
118
+ )
119
+
120
+ _response_types_map: Dict[str, Optional[str]] = {
121
+ '200': "ApiStatusSetResponses",
122
+ '400': "ApiBatchError",
123
+ '401': "ApiV3DbsOrdersNewGet401Response",
124
+ '403': "ApiBatchError",
125
+ '409': "ApiError",
126
+ '429': "ApiV3DbsOrdersNewGet401Response",
127
+ }
128
+ response_data = self.api_client.call_api(
129
+ *_param,
130
+ _request_timeout=_request_timeout
131
+ )
132
+ response_data.read()
133
+ return self.api_client.response_deserialize(
134
+ response_data=response_data,
135
+ response_types_map=_response_types_map,
136
+ ).data
137
+
138
+
139
+ @validate_call
140
+ def api_marketplace_v3_dbs_orders_meta_delete_post_with_http_info(
141
+ self,
142
+ api_orders_meta_delete_request: Optional[ApiOrdersMetaDeleteRequest] = None,
143
+ _request_timeout: Union[
144
+ None,
145
+ Annotated[StrictFloat, Field(gt=0)],
146
+ Tuple[
147
+ Annotated[StrictFloat, Field(gt=0)],
148
+ Annotated[StrictFloat, Field(gt=0)]
149
+ ]
150
+ ] = None,
151
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
152
+ _content_type: Optional[StrictStr] = None,
153
+ _headers: Optional[Dict[StrictStr, Any]] = None,
154
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
155
+ ) -> ApiResponse[ApiStatusSetResponses]:
156
+ """Удалить метаданные сборочных заданий
157
+
158
+ Метод удаляет значение указанных [метаданных](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post) для нескольких сборочных заданий. <br><br> В одном запросе можно удалить метаданные только одного типа. Укажите тип метаданных в запросе: - `imei` — [IMEI](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1imei/post) - `uin` — [УИН](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1uin/post) - `gtin` — [GTIN](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1gtin/post) - `sgtin` — [код маркировки](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1sgtin/post) <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>получения и удаления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
159
+
160
+ :param api_orders_meta_delete_request:
161
+ :type api_orders_meta_delete_request: ApiOrdersMetaDeleteRequest
162
+ :param _request_timeout: timeout setting for this request. If one
163
+ number provided, it will be total request
164
+ timeout. It can also be a pair (tuple) of
165
+ (connection, read) timeouts.
166
+ :type _request_timeout: int, tuple(int, int), optional
167
+ :param _request_auth: set to override the auth_settings for an a single
168
+ request; this effectively ignores the
169
+ authentication in the spec for a single request.
170
+ :type _request_auth: dict, optional
171
+ :param _content_type: force content-type for the request.
172
+ :type _content_type: str, Optional
173
+ :param _headers: set to override the headers for a single
174
+ request; this effectively ignores the headers
175
+ in the spec for a single request.
176
+ :type _headers: dict, optional
177
+ :param _host_index: set to override the host_index for a single
178
+ request; this effectively ignores the host_index
179
+ in the spec for a single request.
180
+ :type _host_index: int, optional
181
+ :return: Returns the result object.
182
+ """ # noqa: E501
183
+
184
+ _param = self._api_marketplace_v3_dbs_orders_meta_delete_post_serialize(
185
+ api_orders_meta_delete_request=api_orders_meta_delete_request,
186
+ _request_auth=_request_auth,
187
+ _content_type=_content_type,
188
+ _headers=_headers,
189
+ _host_index=_host_index
190
+ )
191
+
192
+ _response_types_map: Dict[str, Optional[str]] = {
193
+ '200': "ApiStatusSetResponses",
194
+ '400': "ApiBatchError",
195
+ '401': "ApiV3DbsOrdersNewGet401Response",
196
+ '403': "ApiBatchError",
197
+ '409': "ApiError",
198
+ '429': "ApiV3DbsOrdersNewGet401Response",
199
+ }
200
+ response_data = self.api_client.call_api(
201
+ *_param,
202
+ _request_timeout=_request_timeout
203
+ )
204
+ response_data.read()
205
+ return self.api_client.response_deserialize(
206
+ response_data=response_data,
207
+ response_types_map=_response_types_map,
208
+ )
209
+
210
+
211
+ @validate_call
212
+ def api_marketplace_v3_dbs_orders_meta_delete_post_without_preload_content(
213
+ self,
214
+ api_orders_meta_delete_request: Optional[ApiOrdersMetaDeleteRequest] = None,
215
+ _request_timeout: Union[
216
+ None,
217
+ Annotated[StrictFloat, Field(gt=0)],
218
+ Tuple[
219
+ Annotated[StrictFloat, Field(gt=0)],
220
+ Annotated[StrictFloat, Field(gt=0)]
221
+ ]
222
+ ] = None,
223
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
224
+ _content_type: Optional[StrictStr] = None,
225
+ _headers: Optional[Dict[StrictStr, Any]] = None,
226
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
227
+ ) -> RESTResponseType:
228
+ """Удалить метаданные сборочных заданий
229
+
230
+ Метод удаляет значение указанных [метаданных](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post) для нескольких сборочных заданий. <br><br> В одном запросе можно удалить метаданные только одного типа. Укажите тип метаданных в запросе: - `imei` — [IMEI](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1imei/post) - `uin` — [УИН](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1uin/post) - `gtin` — [GTIN](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1gtin/post) - `sgtin` — [код маркировки](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1sgtin/post) <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>получения и удаления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
231
+
232
+ :param api_orders_meta_delete_request:
233
+ :type api_orders_meta_delete_request: ApiOrdersMetaDeleteRequest
234
+ :param _request_timeout: timeout setting for this request. If one
235
+ number provided, it will be total request
236
+ timeout. It can also be a pair (tuple) of
237
+ (connection, read) timeouts.
238
+ :type _request_timeout: int, tuple(int, int), optional
239
+ :param _request_auth: set to override the auth_settings for an a single
240
+ request; this effectively ignores the
241
+ authentication in the spec for a single request.
242
+ :type _request_auth: dict, optional
243
+ :param _content_type: force content-type for the request.
244
+ :type _content_type: str, Optional
245
+ :param _headers: set to override the headers for a single
246
+ request; this effectively ignores the headers
247
+ in the spec for a single request.
248
+ :type _headers: dict, optional
249
+ :param _host_index: set to override the host_index for a single
250
+ request; this effectively ignores the host_index
251
+ in the spec for a single request.
252
+ :type _host_index: int, optional
253
+ :return: Returns the result object.
254
+ """ # noqa: E501
255
+
256
+ _param = self._api_marketplace_v3_dbs_orders_meta_delete_post_serialize(
257
+ api_orders_meta_delete_request=api_orders_meta_delete_request,
258
+ _request_auth=_request_auth,
259
+ _content_type=_content_type,
260
+ _headers=_headers,
261
+ _host_index=_host_index
262
+ )
263
+
264
+ _response_types_map: Dict[str, Optional[str]] = {
265
+ '200': "ApiStatusSetResponses",
266
+ '400': "ApiBatchError",
267
+ '401': "ApiV3DbsOrdersNewGet401Response",
268
+ '403': "ApiBatchError",
269
+ '409': "ApiError",
270
+ '429': "ApiV3DbsOrdersNewGet401Response",
271
+ }
272
+ response_data = self.api_client.call_api(
273
+ *_param,
274
+ _request_timeout=_request_timeout
275
+ )
276
+ return response_data.response
277
+
278
+
279
+ def _api_marketplace_v3_dbs_orders_meta_delete_post_serialize(
280
+ self,
281
+ api_orders_meta_delete_request,
282
+ _request_auth,
283
+ _content_type,
284
+ _headers,
285
+ _host_index,
286
+ ) -> RequestSerialized:
287
+
288
+ _hosts = [
289
+ 'https://marketplace-api.wildberries.ru'
290
+ ]
291
+ _host = _hosts[_host_index]
292
+
293
+ _collection_formats: Dict[str, str] = {
294
+ }
295
+
296
+ _path_params: Dict[str, str] = {}
297
+ _query_params: List[Tuple[str, str]] = []
298
+ _header_params: Dict[str, Optional[str]] = _headers or {}
299
+ _form_params: List[Tuple[str, str]] = []
300
+ _files: Dict[
301
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
302
+ ] = {}
303
+ _body_params: Optional[bytes] = None
304
+
305
+ # process the path parameters
306
+ # process the query parameters
307
+ # process the header parameters
308
+ # process the form parameters
309
+ # process the body parameter
310
+ if api_orders_meta_delete_request is not None:
311
+ _body_params = api_orders_meta_delete_request
312
+
313
+
314
+ # set the HTTP header `Accept`
315
+ if 'Accept' not in _header_params:
316
+ _header_params['Accept'] = self.api_client.select_header_accept(
317
+ [
318
+ 'application/json'
319
+ ]
320
+ )
321
+
322
+ # set the HTTP header `Content-Type`
323
+ if _content_type:
324
+ _header_params['Content-Type'] = _content_type
325
+ else:
326
+ _default_content_type = (
327
+ self.api_client.select_header_content_type(
328
+ [
329
+ 'application/json'
330
+ ]
331
+ )
332
+ )
333
+ if _default_content_type is not None:
334
+ _header_params['Content-Type'] = _default_content_type
335
+
336
+ # authentication setting
337
+ _auth_settings: List[str] = [
338
+ 'HeaderApiKey'
339
+ ]
340
+
341
+ return self.api_client.param_serialize(
342
+ method='POST',
343
+ resource_path='/api/marketplace/v3/dbs/orders/meta/delete',
344
+ path_params=_path_params,
345
+ query_params=_query_params,
346
+ header_params=_header_params,
347
+ body=_body_params,
348
+ post_params=_form_params,
349
+ files=_files,
350
+ auth_settings=_auth_settings,
351
+ collection_formats=_collection_formats,
352
+ _host=_host,
353
+ _request_auth=_request_auth
354
+ )
355
+
356
+
357
+
358
+
359
+ @validate_call
360
+ def api_marketplace_v3_dbs_orders_meta_gtin_post(
361
+ self,
362
+ api_orders_gtin_set_request: Optional[ApiOrdersGTINSetRequest] = None,
363
+ _request_timeout: Union[
364
+ None,
365
+ Annotated[StrictFloat, Field(gt=0)],
366
+ Tuple[
367
+ Annotated[StrictFloat, Field(gt=0)],
368
+ Annotated[StrictFloat, Field(gt=0)]
369
+ ]
370
+ ] = None,
371
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
372
+ _content_type: Optional[StrictStr] = None,
373
+ _headers: Optional[Dict[StrictStr, Any]] = None,
374
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
375
+ ) -> ApiStatusSetResponses:
376
+ """Закрепить GTIN за сборочными заданиями
377
+
378
+ Метод обновляет GTIN, уникальный ID товара в Беларуси, в [метаданных](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post) нескольких сборочных заданий.<br> У одного сборочного задания может быть только один GTIN. Добавлять GTIN можно только для сборочных заданий, которые доставляются WB и находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `confirm`.<br> <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
379
+
380
+ :param api_orders_gtin_set_request:
381
+ :type api_orders_gtin_set_request: ApiOrdersGTINSetRequest
382
+ :param _request_timeout: timeout setting for this request. If one
383
+ number provided, it will be total request
384
+ timeout. It can also be a pair (tuple) of
385
+ (connection, read) timeouts.
386
+ :type _request_timeout: int, tuple(int, int), optional
387
+ :param _request_auth: set to override the auth_settings for an a single
388
+ request; this effectively ignores the
389
+ authentication in the spec for a single request.
390
+ :type _request_auth: dict, optional
391
+ :param _content_type: force content-type for the request.
392
+ :type _content_type: str, Optional
393
+ :param _headers: set to override the headers for a single
394
+ request; this effectively ignores the headers
395
+ in the spec for a single request.
396
+ :type _headers: dict, optional
397
+ :param _host_index: set to override the host_index for a single
398
+ request; this effectively ignores the host_index
399
+ in the spec for a single request.
400
+ :type _host_index: int, optional
401
+ :return: Returns the result object.
402
+ """ # noqa: E501
403
+
404
+ _param = self._api_marketplace_v3_dbs_orders_meta_gtin_post_serialize(
405
+ api_orders_gtin_set_request=api_orders_gtin_set_request,
406
+ _request_auth=_request_auth,
407
+ _content_type=_content_type,
408
+ _headers=_headers,
409
+ _host_index=_host_index
410
+ )
411
+
412
+ _response_types_map: Dict[str, Optional[str]] = {
413
+ '200': "ApiStatusSetResponses",
414
+ '400': "ApiBatchError",
415
+ '401': "ApiV3DbsOrdersNewGet401Response",
416
+ '403': "ApiBatchError",
417
+ '409': "ApiError",
418
+ '429': "ApiV3DbsOrdersNewGet401Response",
419
+ }
420
+ response_data = self.api_client.call_api(
421
+ *_param,
422
+ _request_timeout=_request_timeout
423
+ )
424
+ response_data.read()
425
+ return self.api_client.response_deserialize(
426
+ response_data=response_data,
427
+ response_types_map=_response_types_map,
428
+ ).data
429
+
430
+
431
+ @validate_call
432
+ def api_marketplace_v3_dbs_orders_meta_gtin_post_with_http_info(
433
+ self,
434
+ api_orders_gtin_set_request: Optional[ApiOrdersGTINSetRequest] = None,
435
+ _request_timeout: Union[
436
+ None,
437
+ Annotated[StrictFloat, Field(gt=0)],
438
+ Tuple[
439
+ Annotated[StrictFloat, Field(gt=0)],
440
+ Annotated[StrictFloat, Field(gt=0)]
441
+ ]
442
+ ] = None,
443
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
444
+ _content_type: Optional[StrictStr] = None,
445
+ _headers: Optional[Dict[StrictStr, Any]] = None,
446
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
447
+ ) -> ApiResponse[ApiStatusSetResponses]:
448
+ """Закрепить GTIN за сборочными заданиями
449
+
450
+ Метод обновляет GTIN, уникальный ID товара в Беларуси, в [метаданных](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post) нескольких сборочных заданий.<br> У одного сборочного задания может быть только один GTIN. Добавлять GTIN можно только для сборочных заданий, которые доставляются WB и находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `confirm`.<br> <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
451
+
452
+ :param api_orders_gtin_set_request:
453
+ :type api_orders_gtin_set_request: ApiOrdersGTINSetRequest
454
+ :param _request_timeout: timeout setting for this request. If one
455
+ number provided, it will be total request
456
+ timeout. It can also be a pair (tuple) of
457
+ (connection, read) timeouts.
458
+ :type _request_timeout: int, tuple(int, int), optional
459
+ :param _request_auth: set to override the auth_settings for an a single
460
+ request; this effectively ignores the
461
+ authentication in the spec for a single request.
462
+ :type _request_auth: dict, optional
463
+ :param _content_type: force content-type for the request.
464
+ :type _content_type: str, Optional
465
+ :param _headers: set to override the headers for a single
466
+ request; this effectively ignores the headers
467
+ in the spec for a single request.
468
+ :type _headers: dict, optional
469
+ :param _host_index: set to override the host_index for a single
470
+ request; this effectively ignores the host_index
471
+ in the spec for a single request.
472
+ :type _host_index: int, optional
473
+ :return: Returns the result object.
474
+ """ # noqa: E501
475
+
476
+ _param = self._api_marketplace_v3_dbs_orders_meta_gtin_post_serialize(
477
+ api_orders_gtin_set_request=api_orders_gtin_set_request,
478
+ _request_auth=_request_auth,
479
+ _content_type=_content_type,
480
+ _headers=_headers,
481
+ _host_index=_host_index
482
+ )
483
+
484
+ _response_types_map: Dict[str, Optional[str]] = {
485
+ '200': "ApiStatusSetResponses",
486
+ '400': "ApiBatchError",
487
+ '401': "ApiV3DbsOrdersNewGet401Response",
488
+ '403': "ApiBatchError",
489
+ '409': "ApiError",
490
+ '429': "ApiV3DbsOrdersNewGet401Response",
491
+ }
492
+ response_data = self.api_client.call_api(
493
+ *_param,
494
+ _request_timeout=_request_timeout
495
+ )
496
+ response_data.read()
497
+ return self.api_client.response_deserialize(
498
+ response_data=response_data,
499
+ response_types_map=_response_types_map,
500
+ )
501
+
502
+
503
+ @validate_call
504
+ def api_marketplace_v3_dbs_orders_meta_gtin_post_without_preload_content(
505
+ self,
506
+ api_orders_gtin_set_request: Optional[ApiOrdersGTINSetRequest] = None,
507
+ _request_timeout: Union[
508
+ None,
509
+ Annotated[StrictFloat, Field(gt=0)],
510
+ Tuple[
511
+ Annotated[StrictFloat, Field(gt=0)],
512
+ Annotated[StrictFloat, Field(gt=0)]
513
+ ]
514
+ ] = None,
515
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
516
+ _content_type: Optional[StrictStr] = None,
517
+ _headers: Optional[Dict[StrictStr, Any]] = None,
518
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
519
+ ) -> RESTResponseType:
520
+ """Закрепить GTIN за сборочными заданиями
521
+
522
+ Метод обновляет GTIN, уникальный ID товара в Беларуси, в [метаданных](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post) нескольких сборочных заданий.<br> У одного сборочного задания может быть только один GTIN. Добавлять GTIN можно только для сборочных заданий, которые доставляются WB и находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `confirm`.<br> <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
523
+
524
+ :param api_orders_gtin_set_request:
525
+ :type api_orders_gtin_set_request: ApiOrdersGTINSetRequest
526
+ :param _request_timeout: timeout setting for this request. If one
527
+ number provided, it will be total request
528
+ timeout. It can also be a pair (tuple) of
529
+ (connection, read) timeouts.
530
+ :type _request_timeout: int, tuple(int, int), optional
531
+ :param _request_auth: set to override the auth_settings for an a single
532
+ request; this effectively ignores the
533
+ authentication in the spec for a single request.
534
+ :type _request_auth: dict, optional
535
+ :param _content_type: force content-type for the request.
536
+ :type _content_type: str, Optional
537
+ :param _headers: set to override the headers for a single
538
+ request; this effectively ignores the headers
539
+ in the spec for a single request.
540
+ :type _headers: dict, optional
541
+ :param _host_index: set to override the host_index for a single
542
+ request; this effectively ignores the host_index
543
+ in the spec for a single request.
544
+ :type _host_index: int, optional
545
+ :return: Returns the result object.
546
+ """ # noqa: E501
547
+
548
+ _param = self._api_marketplace_v3_dbs_orders_meta_gtin_post_serialize(
549
+ api_orders_gtin_set_request=api_orders_gtin_set_request,
550
+ _request_auth=_request_auth,
551
+ _content_type=_content_type,
552
+ _headers=_headers,
553
+ _host_index=_host_index
554
+ )
555
+
556
+ _response_types_map: Dict[str, Optional[str]] = {
557
+ '200': "ApiStatusSetResponses",
558
+ '400': "ApiBatchError",
559
+ '401': "ApiV3DbsOrdersNewGet401Response",
560
+ '403': "ApiBatchError",
561
+ '409': "ApiError",
562
+ '429': "ApiV3DbsOrdersNewGet401Response",
563
+ }
564
+ response_data = self.api_client.call_api(
565
+ *_param,
566
+ _request_timeout=_request_timeout
567
+ )
568
+ return response_data.response
569
+
570
+
571
+ def _api_marketplace_v3_dbs_orders_meta_gtin_post_serialize(
572
+ self,
573
+ api_orders_gtin_set_request,
574
+ _request_auth,
575
+ _content_type,
576
+ _headers,
577
+ _host_index,
578
+ ) -> RequestSerialized:
579
+
580
+ _hosts = [
581
+ 'https://marketplace-api.wildberries.ru'
582
+ ]
583
+ _host = _hosts[_host_index]
584
+
585
+ _collection_formats: Dict[str, str] = {
586
+ }
587
+
588
+ _path_params: Dict[str, str] = {}
589
+ _query_params: List[Tuple[str, str]] = []
590
+ _header_params: Dict[str, Optional[str]] = _headers or {}
591
+ _form_params: List[Tuple[str, str]] = []
592
+ _files: Dict[
593
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
594
+ ] = {}
595
+ _body_params: Optional[bytes] = None
596
+
597
+ # process the path parameters
598
+ # process the query parameters
599
+ # process the header parameters
600
+ # process the form parameters
601
+ # process the body parameter
602
+ if api_orders_gtin_set_request is not None:
603
+ _body_params = api_orders_gtin_set_request
604
+
605
+
606
+ # set the HTTP header `Accept`
607
+ if 'Accept' not in _header_params:
608
+ _header_params['Accept'] = self.api_client.select_header_accept(
609
+ [
610
+ 'application/json'
611
+ ]
612
+ )
613
+
614
+ # set the HTTP header `Content-Type`
615
+ if _content_type:
616
+ _header_params['Content-Type'] = _content_type
617
+ else:
618
+ _default_content_type = (
619
+ self.api_client.select_header_content_type(
620
+ [
621
+ 'application/json'
622
+ ]
623
+ )
624
+ )
625
+ if _default_content_type is not None:
626
+ _header_params['Content-Type'] = _default_content_type
627
+
628
+ # authentication setting
629
+ _auth_settings: List[str] = [
630
+ 'HeaderApiKey'
631
+ ]
632
+
633
+ return self.api_client.param_serialize(
634
+ method='POST',
635
+ resource_path='/api/marketplace/v3/dbs/orders/meta/gtin',
636
+ path_params=_path_params,
637
+ query_params=_query_params,
638
+ header_params=_header_params,
639
+ body=_body_params,
640
+ post_params=_form_params,
641
+ files=_files,
642
+ auth_settings=_auth_settings,
643
+ collection_formats=_collection_formats,
644
+ _host=_host,
645
+ _request_auth=_request_auth
646
+ )
647
+
648
+
649
+
650
+
651
+ @validate_call
652
+ def api_marketplace_v3_dbs_orders_meta_imei_post(
653
+ self,
654
+ api_orders_imei_set_request: Optional[ApiOrdersIMEISetRequest] = None,
655
+ _request_timeout: Union[
656
+ None,
657
+ Annotated[StrictFloat, Field(gt=0)],
658
+ Tuple[
659
+ Annotated[StrictFloat, Field(gt=0)],
660
+ Annotated[StrictFloat, Field(gt=0)]
661
+ ]
662
+ ] = None,
663
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
664
+ _content_type: Optional[StrictStr] = None,
665
+ _headers: Optional[Dict[StrictStr, Any]] = None,
666
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
667
+ ) -> ApiStatusSetResponses:
668
+ """Закрепить IMEI за сборочными заданиями
669
+
670
+ Метод обновляет IMEI в [метаданных](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post) нескольких сборочных заданий.<br> У одного сборочного задания может быть только один IMEI. Добавлять IMEI можно только для сборочных заданий, которые доставляются WB и находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `confirm`.<br> <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
671
+
672
+ :param api_orders_imei_set_request:
673
+ :type api_orders_imei_set_request: ApiOrdersIMEISetRequest
674
+ :param _request_timeout: timeout setting for this request. If one
675
+ number provided, it will be total request
676
+ timeout. It can also be a pair (tuple) of
677
+ (connection, read) timeouts.
678
+ :type _request_timeout: int, tuple(int, int), optional
679
+ :param _request_auth: set to override the auth_settings for an a single
680
+ request; this effectively ignores the
681
+ authentication in the spec for a single request.
682
+ :type _request_auth: dict, optional
683
+ :param _content_type: force content-type for the request.
684
+ :type _content_type: str, Optional
685
+ :param _headers: set to override the headers for a single
686
+ request; this effectively ignores the headers
687
+ in the spec for a single request.
688
+ :type _headers: dict, optional
689
+ :param _host_index: set to override the host_index for a single
690
+ request; this effectively ignores the host_index
691
+ in the spec for a single request.
692
+ :type _host_index: int, optional
693
+ :return: Returns the result object.
694
+ """ # noqa: E501
695
+
696
+ _param = self._api_marketplace_v3_dbs_orders_meta_imei_post_serialize(
697
+ api_orders_imei_set_request=api_orders_imei_set_request,
698
+ _request_auth=_request_auth,
699
+ _content_type=_content_type,
700
+ _headers=_headers,
701
+ _host_index=_host_index
702
+ )
703
+
704
+ _response_types_map: Dict[str, Optional[str]] = {
705
+ '200': "ApiStatusSetResponses",
706
+ '400': "ApiBatchError",
707
+ '401': "ApiV3DbsOrdersNewGet401Response",
708
+ '403': "ApiBatchError",
709
+ '409': "ApiError",
710
+ '429': "ApiV3DbsOrdersNewGet401Response",
711
+ }
712
+ response_data = self.api_client.call_api(
713
+ *_param,
714
+ _request_timeout=_request_timeout
715
+ )
716
+ response_data.read()
717
+ return self.api_client.response_deserialize(
718
+ response_data=response_data,
719
+ response_types_map=_response_types_map,
720
+ ).data
721
+
722
+
723
+ @validate_call
724
+ def api_marketplace_v3_dbs_orders_meta_imei_post_with_http_info(
725
+ self,
726
+ api_orders_imei_set_request: Optional[ApiOrdersIMEISetRequest] = None,
727
+ _request_timeout: Union[
728
+ None,
729
+ Annotated[StrictFloat, Field(gt=0)],
730
+ Tuple[
731
+ Annotated[StrictFloat, Field(gt=0)],
732
+ Annotated[StrictFloat, Field(gt=0)]
733
+ ]
734
+ ] = None,
735
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
736
+ _content_type: Optional[StrictStr] = None,
737
+ _headers: Optional[Dict[StrictStr, Any]] = None,
738
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
739
+ ) -> ApiResponse[ApiStatusSetResponses]:
740
+ """Закрепить IMEI за сборочными заданиями
741
+
742
+ Метод обновляет IMEI в [метаданных](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post) нескольких сборочных заданий.<br> У одного сборочного задания может быть только один IMEI. Добавлять IMEI можно только для сборочных заданий, которые доставляются WB и находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `confirm`.<br> <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
743
+
744
+ :param api_orders_imei_set_request:
745
+ :type api_orders_imei_set_request: ApiOrdersIMEISetRequest
746
+ :param _request_timeout: timeout setting for this request. If one
747
+ number provided, it will be total request
748
+ timeout. It can also be a pair (tuple) of
749
+ (connection, read) timeouts.
750
+ :type _request_timeout: int, tuple(int, int), optional
751
+ :param _request_auth: set to override the auth_settings for an a single
752
+ request; this effectively ignores the
753
+ authentication in the spec for a single request.
754
+ :type _request_auth: dict, optional
755
+ :param _content_type: force content-type for the request.
756
+ :type _content_type: str, Optional
757
+ :param _headers: set to override the headers for a single
758
+ request; this effectively ignores the headers
759
+ in the spec for a single request.
760
+ :type _headers: dict, optional
761
+ :param _host_index: set to override the host_index for a single
762
+ request; this effectively ignores the host_index
763
+ in the spec for a single request.
764
+ :type _host_index: int, optional
765
+ :return: Returns the result object.
766
+ """ # noqa: E501
767
+
768
+ _param = self._api_marketplace_v3_dbs_orders_meta_imei_post_serialize(
769
+ api_orders_imei_set_request=api_orders_imei_set_request,
770
+ _request_auth=_request_auth,
771
+ _content_type=_content_type,
772
+ _headers=_headers,
773
+ _host_index=_host_index
774
+ )
775
+
776
+ _response_types_map: Dict[str, Optional[str]] = {
777
+ '200': "ApiStatusSetResponses",
778
+ '400': "ApiBatchError",
779
+ '401': "ApiV3DbsOrdersNewGet401Response",
780
+ '403': "ApiBatchError",
781
+ '409': "ApiError",
782
+ '429': "ApiV3DbsOrdersNewGet401Response",
783
+ }
784
+ response_data = self.api_client.call_api(
785
+ *_param,
786
+ _request_timeout=_request_timeout
787
+ )
788
+ response_data.read()
789
+ return self.api_client.response_deserialize(
790
+ response_data=response_data,
791
+ response_types_map=_response_types_map,
792
+ )
793
+
794
+
795
+ @validate_call
796
+ def api_marketplace_v3_dbs_orders_meta_imei_post_without_preload_content(
797
+ self,
798
+ api_orders_imei_set_request: Optional[ApiOrdersIMEISetRequest] = None,
799
+ _request_timeout: Union[
800
+ None,
801
+ Annotated[StrictFloat, Field(gt=0)],
802
+ Tuple[
803
+ Annotated[StrictFloat, Field(gt=0)],
804
+ Annotated[StrictFloat, Field(gt=0)]
805
+ ]
806
+ ] = None,
807
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
808
+ _content_type: Optional[StrictStr] = None,
809
+ _headers: Optional[Dict[StrictStr, Any]] = None,
810
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
811
+ ) -> RESTResponseType:
812
+ """Закрепить IMEI за сборочными заданиями
813
+
814
+ Метод обновляет IMEI в [метаданных](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post) нескольких сборочных заданий.<br> У одного сборочного задания может быть только один IMEI. Добавлять IMEI можно только для сборочных заданий, которые доставляются WB и находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `confirm`.<br> <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
815
+
816
+ :param api_orders_imei_set_request:
817
+ :type api_orders_imei_set_request: ApiOrdersIMEISetRequest
818
+ :param _request_timeout: timeout setting for this request. If one
819
+ number provided, it will be total request
820
+ timeout. It can also be a pair (tuple) of
821
+ (connection, read) timeouts.
822
+ :type _request_timeout: int, tuple(int, int), optional
823
+ :param _request_auth: set to override the auth_settings for an a single
824
+ request; this effectively ignores the
825
+ authentication in the spec for a single request.
826
+ :type _request_auth: dict, optional
827
+ :param _content_type: force content-type for the request.
828
+ :type _content_type: str, Optional
829
+ :param _headers: set to override the headers for a single
830
+ request; this effectively ignores the headers
831
+ in the spec for a single request.
832
+ :type _headers: dict, optional
833
+ :param _host_index: set to override the host_index for a single
834
+ request; this effectively ignores the host_index
835
+ in the spec for a single request.
836
+ :type _host_index: int, optional
837
+ :return: Returns the result object.
838
+ """ # noqa: E501
839
+
840
+ _param = self._api_marketplace_v3_dbs_orders_meta_imei_post_serialize(
841
+ api_orders_imei_set_request=api_orders_imei_set_request,
842
+ _request_auth=_request_auth,
843
+ _content_type=_content_type,
844
+ _headers=_headers,
845
+ _host_index=_host_index
846
+ )
847
+
848
+ _response_types_map: Dict[str, Optional[str]] = {
849
+ '200': "ApiStatusSetResponses",
850
+ '400': "ApiBatchError",
851
+ '401': "ApiV3DbsOrdersNewGet401Response",
852
+ '403': "ApiBatchError",
853
+ '409': "ApiError",
854
+ '429': "ApiV3DbsOrdersNewGet401Response",
855
+ }
856
+ response_data = self.api_client.call_api(
857
+ *_param,
858
+ _request_timeout=_request_timeout
859
+ )
860
+ return response_data.response
861
+
862
+
863
+ def _api_marketplace_v3_dbs_orders_meta_imei_post_serialize(
864
+ self,
865
+ api_orders_imei_set_request,
866
+ _request_auth,
867
+ _content_type,
868
+ _headers,
869
+ _host_index,
870
+ ) -> RequestSerialized:
871
+
872
+ _hosts = [
873
+ 'https://marketplace-api.wildberries.ru'
874
+ ]
875
+ _host = _hosts[_host_index]
876
+
877
+ _collection_formats: Dict[str, str] = {
878
+ }
879
+
880
+ _path_params: Dict[str, str] = {}
881
+ _query_params: List[Tuple[str, str]] = []
882
+ _header_params: Dict[str, Optional[str]] = _headers or {}
883
+ _form_params: List[Tuple[str, str]] = []
884
+ _files: Dict[
885
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
886
+ ] = {}
887
+ _body_params: Optional[bytes] = None
888
+
889
+ # process the path parameters
890
+ # process the query parameters
891
+ # process the header parameters
892
+ # process the form parameters
893
+ # process the body parameter
894
+ if api_orders_imei_set_request is not None:
895
+ _body_params = api_orders_imei_set_request
896
+
897
+
898
+ # set the HTTP header `Accept`
899
+ if 'Accept' not in _header_params:
900
+ _header_params['Accept'] = self.api_client.select_header_accept(
901
+ [
902
+ 'application/json'
903
+ ]
904
+ )
905
+
906
+ # set the HTTP header `Content-Type`
907
+ if _content_type:
908
+ _header_params['Content-Type'] = _content_type
909
+ else:
910
+ _default_content_type = (
911
+ self.api_client.select_header_content_type(
912
+ [
913
+ 'application/json'
914
+ ]
915
+ )
916
+ )
917
+ if _default_content_type is not None:
918
+ _header_params['Content-Type'] = _default_content_type
919
+
920
+ # authentication setting
921
+ _auth_settings: List[str] = [
922
+ 'HeaderApiKey'
923
+ ]
924
+
925
+ return self.api_client.param_serialize(
926
+ method='POST',
927
+ resource_path='/api/marketplace/v3/dbs/orders/meta/imei',
928
+ path_params=_path_params,
929
+ query_params=_query_params,
930
+ header_params=_header_params,
931
+ body=_body_params,
932
+ post_params=_form_params,
933
+ files=_files,
934
+ auth_settings=_auth_settings,
935
+ collection_formats=_collection_formats,
936
+ _host=_host,
937
+ _request_auth=_request_auth
938
+ )
939
+
940
+
941
+
942
+
943
+ @validate_call
944
+ def api_marketplace_v3_dbs_orders_meta_info_post(
945
+ self,
946
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
947
+ _request_timeout: Union[
948
+ None,
949
+ Annotated[StrictFloat, Field(gt=0)],
950
+ Tuple[
951
+ Annotated[StrictFloat, Field(gt=0)],
952
+ Annotated[StrictFloat, Field(gt=0)]
953
+ ]
954
+ ] = None,
955
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
956
+ _content_type: Optional[StrictStr] = None,
957
+ _headers: Optional[Dict[StrictStr, Any]] = None,
958
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
959
+ ) -> ApiOrdersMetaResponse:
960
+ """Получить метаданные сборочных заданий
961
+
962
+ Метод возвращает метаданные [сборочных заданий](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS). <br> Перечень метаданных, доступных для сборочного задания, можно получить в [списке новых сборочных заданий](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1new/get), поле `requiredMeta`.<br> Возможные метаданные: - `imei` — [IMEI](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1imei/post) - `uin` — [УИН](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1uin/post) - `gtin` — [GTIN](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1gtin/post) - `sgtin` — [код маркировки](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1sgtin/post) Если ответ вернулся с пустой структурой `meta`, значит у сборочного задания нет метаданных и добавить их нельзя.<br> <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>получения и удаления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
963
+
964
+ :param api_orders_request_v2:
965
+ :type api_orders_request_v2: ApiOrdersRequestV2
966
+ :param _request_timeout: timeout setting for this request. If one
967
+ number provided, it will be total request
968
+ timeout. It can also be a pair (tuple) of
969
+ (connection, read) timeouts.
970
+ :type _request_timeout: int, tuple(int, int), optional
971
+ :param _request_auth: set to override the auth_settings for an a single
972
+ request; this effectively ignores the
973
+ authentication in the spec for a single request.
974
+ :type _request_auth: dict, optional
975
+ :param _content_type: force content-type for the request.
976
+ :type _content_type: str, Optional
977
+ :param _headers: set to override the headers for a single
978
+ request; this effectively ignores the headers
979
+ in the spec for a single request.
980
+ :type _headers: dict, optional
981
+ :param _host_index: set to override the host_index for a single
982
+ request; this effectively ignores the host_index
983
+ in the spec for a single request.
984
+ :type _host_index: int, optional
985
+ :return: Returns the result object.
986
+ """ # noqa: E501
987
+
988
+ _param = self._api_marketplace_v3_dbs_orders_meta_info_post_serialize(
989
+ api_orders_request_v2=api_orders_request_v2,
990
+ _request_auth=_request_auth,
991
+ _content_type=_content_type,
992
+ _headers=_headers,
993
+ _host_index=_host_index
994
+ )
995
+
996
+ _response_types_map: Dict[str, Optional[str]] = {
997
+ '200': "ApiOrdersMetaResponse",
998
+ '400': "ApiBatchError",
999
+ '401': "ApiV3DbsOrdersNewGet401Response",
1000
+ '403': "ApiBatchError",
1001
+ '429': "ApiV3DbsOrdersNewGet401Response",
1002
+ }
1003
+ response_data = self.api_client.call_api(
1004
+ *_param,
1005
+ _request_timeout=_request_timeout
1006
+ )
1007
+ response_data.read()
1008
+ return self.api_client.response_deserialize(
1009
+ response_data=response_data,
1010
+ response_types_map=_response_types_map,
1011
+ ).data
1012
+
1013
+
1014
+ @validate_call
1015
+ def api_marketplace_v3_dbs_orders_meta_info_post_with_http_info(
1016
+ self,
1017
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
1018
+ _request_timeout: Union[
1019
+ None,
1020
+ Annotated[StrictFloat, Field(gt=0)],
1021
+ Tuple[
1022
+ Annotated[StrictFloat, Field(gt=0)],
1023
+ Annotated[StrictFloat, Field(gt=0)]
1024
+ ]
1025
+ ] = None,
1026
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1027
+ _content_type: Optional[StrictStr] = None,
1028
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1029
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1030
+ ) -> ApiResponse[ApiOrdersMetaResponse]:
1031
+ """Получить метаданные сборочных заданий
1032
+
1033
+ Метод возвращает метаданные [сборочных заданий](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS). <br> Перечень метаданных, доступных для сборочного задания, можно получить в [списке новых сборочных заданий](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1new/get), поле `requiredMeta`.<br> Возможные метаданные: - `imei` — [IMEI](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1imei/post) - `uin` — [УИН](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1uin/post) - `gtin` — [GTIN](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1gtin/post) - `sgtin` — [код маркировки](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1sgtin/post) Если ответ вернулся с пустой структурой `meta`, значит у сборочного задания нет метаданных и добавить их нельзя.<br> <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>получения и удаления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
1034
+
1035
+ :param api_orders_request_v2:
1036
+ :type api_orders_request_v2: ApiOrdersRequestV2
1037
+ :param _request_timeout: timeout setting for this request. If one
1038
+ number provided, it will be total request
1039
+ timeout. It can also be a pair (tuple) of
1040
+ (connection, read) timeouts.
1041
+ :type _request_timeout: int, tuple(int, int), optional
1042
+ :param _request_auth: set to override the auth_settings for an a single
1043
+ request; this effectively ignores the
1044
+ authentication in the spec for a single request.
1045
+ :type _request_auth: dict, optional
1046
+ :param _content_type: force content-type for the request.
1047
+ :type _content_type: str, Optional
1048
+ :param _headers: set to override the headers for a single
1049
+ request; this effectively ignores the headers
1050
+ in the spec for a single request.
1051
+ :type _headers: dict, optional
1052
+ :param _host_index: set to override the host_index for a single
1053
+ request; this effectively ignores the host_index
1054
+ in the spec for a single request.
1055
+ :type _host_index: int, optional
1056
+ :return: Returns the result object.
1057
+ """ # noqa: E501
1058
+
1059
+ _param = self._api_marketplace_v3_dbs_orders_meta_info_post_serialize(
1060
+ api_orders_request_v2=api_orders_request_v2,
1061
+ _request_auth=_request_auth,
1062
+ _content_type=_content_type,
1063
+ _headers=_headers,
1064
+ _host_index=_host_index
1065
+ )
1066
+
1067
+ _response_types_map: Dict[str, Optional[str]] = {
1068
+ '200': "ApiOrdersMetaResponse",
1069
+ '400': "ApiBatchError",
1070
+ '401': "ApiV3DbsOrdersNewGet401Response",
1071
+ '403': "ApiBatchError",
1072
+ '429': "ApiV3DbsOrdersNewGet401Response",
1073
+ }
1074
+ response_data = self.api_client.call_api(
1075
+ *_param,
1076
+ _request_timeout=_request_timeout
1077
+ )
1078
+ response_data.read()
1079
+ return self.api_client.response_deserialize(
1080
+ response_data=response_data,
1081
+ response_types_map=_response_types_map,
1082
+ )
1083
+
1084
+
1085
+ @validate_call
1086
+ def api_marketplace_v3_dbs_orders_meta_info_post_without_preload_content(
1087
+ self,
1088
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
1089
+ _request_timeout: Union[
1090
+ None,
1091
+ Annotated[StrictFloat, Field(gt=0)],
1092
+ Tuple[
1093
+ Annotated[StrictFloat, Field(gt=0)],
1094
+ Annotated[StrictFloat, Field(gt=0)]
1095
+ ]
1096
+ ] = None,
1097
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1098
+ _content_type: Optional[StrictStr] = None,
1099
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1100
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1101
+ ) -> RESTResponseType:
1102
+ """Получить метаданные сборочных заданий
1103
+
1104
+ Метод возвращает метаданные [сборочных заданий](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS). <br> Перечень метаданных, доступных для сборочного задания, можно получить в [списке новых сборочных заданий](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1new/get), поле `requiredMeta`.<br> Возможные метаданные: - `imei` — [IMEI](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1imei/post) - `uin` — [УИН](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1uin/post) - `gtin` — [GTIN](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1gtin/post) - `sgtin` — [код маркировки](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1sgtin/post) Если ответ вернулся с пустой структурой `meta`, значит у сборочного задания нет метаданных и добавить их нельзя.<br> <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>получения и удаления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
1105
+
1106
+ :param api_orders_request_v2:
1107
+ :type api_orders_request_v2: ApiOrdersRequestV2
1108
+ :param _request_timeout: timeout setting for this request. If one
1109
+ number provided, it will be total request
1110
+ timeout. It can also be a pair (tuple) of
1111
+ (connection, read) timeouts.
1112
+ :type _request_timeout: int, tuple(int, int), optional
1113
+ :param _request_auth: set to override the auth_settings for an a single
1114
+ request; this effectively ignores the
1115
+ authentication in the spec for a single request.
1116
+ :type _request_auth: dict, optional
1117
+ :param _content_type: force content-type for the request.
1118
+ :type _content_type: str, Optional
1119
+ :param _headers: set to override the headers for a single
1120
+ request; this effectively ignores the headers
1121
+ in the spec for a single request.
1122
+ :type _headers: dict, optional
1123
+ :param _host_index: set to override the host_index for a single
1124
+ request; this effectively ignores the host_index
1125
+ in the spec for a single request.
1126
+ :type _host_index: int, optional
1127
+ :return: Returns the result object.
1128
+ """ # noqa: E501
1129
+
1130
+ _param = self._api_marketplace_v3_dbs_orders_meta_info_post_serialize(
1131
+ api_orders_request_v2=api_orders_request_v2,
1132
+ _request_auth=_request_auth,
1133
+ _content_type=_content_type,
1134
+ _headers=_headers,
1135
+ _host_index=_host_index
1136
+ )
1137
+
1138
+ _response_types_map: Dict[str, Optional[str]] = {
1139
+ '200': "ApiOrdersMetaResponse",
1140
+ '400': "ApiBatchError",
1141
+ '401': "ApiV3DbsOrdersNewGet401Response",
1142
+ '403': "ApiBatchError",
1143
+ '429': "ApiV3DbsOrdersNewGet401Response",
1144
+ }
1145
+ response_data = self.api_client.call_api(
1146
+ *_param,
1147
+ _request_timeout=_request_timeout
1148
+ )
1149
+ return response_data.response
1150
+
1151
+
1152
+ def _api_marketplace_v3_dbs_orders_meta_info_post_serialize(
1153
+ self,
1154
+ api_orders_request_v2,
1155
+ _request_auth,
1156
+ _content_type,
1157
+ _headers,
1158
+ _host_index,
1159
+ ) -> RequestSerialized:
1160
+
1161
+ _hosts = [
1162
+ 'https://marketplace-api.wildberries.ru'
1163
+ ]
1164
+ _host = _hosts[_host_index]
1165
+
1166
+ _collection_formats: Dict[str, str] = {
1167
+ }
1168
+
1169
+ _path_params: Dict[str, str] = {}
1170
+ _query_params: List[Tuple[str, str]] = []
1171
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1172
+ _form_params: List[Tuple[str, str]] = []
1173
+ _files: Dict[
1174
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1175
+ ] = {}
1176
+ _body_params: Optional[bytes] = None
1177
+
1178
+ # process the path parameters
1179
+ # process the query parameters
1180
+ # process the header parameters
1181
+ # process the form parameters
1182
+ # process the body parameter
1183
+ if api_orders_request_v2 is not None:
1184
+ _body_params = api_orders_request_v2
1185
+
1186
+
1187
+ # set the HTTP header `Accept`
1188
+ if 'Accept' not in _header_params:
1189
+ _header_params['Accept'] = self.api_client.select_header_accept(
1190
+ [
1191
+ 'application/json'
1192
+ ]
1193
+ )
1194
+
1195
+ # set the HTTP header `Content-Type`
1196
+ if _content_type:
1197
+ _header_params['Content-Type'] = _content_type
1198
+ else:
1199
+ _default_content_type = (
1200
+ self.api_client.select_header_content_type(
1201
+ [
1202
+ 'application/json'
1203
+ ]
1204
+ )
1205
+ )
1206
+ if _default_content_type is not None:
1207
+ _header_params['Content-Type'] = _default_content_type
1208
+
1209
+ # authentication setting
1210
+ _auth_settings: List[str] = [
1211
+ 'HeaderApiKey'
1212
+ ]
1213
+
1214
+ return self.api_client.param_serialize(
1215
+ method='POST',
1216
+ resource_path='/api/marketplace/v3/dbs/orders/meta/info',
1217
+ path_params=_path_params,
1218
+ query_params=_query_params,
1219
+ header_params=_header_params,
1220
+ body=_body_params,
1221
+ post_params=_form_params,
1222
+ files=_files,
1223
+ auth_settings=_auth_settings,
1224
+ collection_formats=_collection_formats,
1225
+ _host=_host,
1226
+ _request_auth=_request_auth
1227
+ )
1228
+
1229
+
1230
+
1231
+
1232
+ @validate_call
1233
+ def api_marketplace_v3_dbs_orders_meta_sgtin_post(
1234
+ self,
1235
+ api_orders_sgtins_set_request: Optional[ApiOrdersSGTINsSetRequest] = None,
1236
+ _request_timeout: Union[
1237
+ None,
1238
+ Annotated[StrictFloat, Field(gt=0)],
1239
+ Tuple[
1240
+ Annotated[StrictFloat, Field(gt=0)],
1241
+ Annotated[StrictFloat, Field(gt=0)]
1242
+ ]
1243
+ ] = None,
1244
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1245
+ _content_type: Optional[StrictStr] = None,
1246
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1247
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1248
+ ) -> ApiStatusSetResponses:
1249
+ """Закрепить коды маркировки за сборочными заданиями
1250
+
1251
+ Метод обновляет код маркировки [Честный знак](https://честныйзнак.рф/) в [метаданных](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post) нескольких сборочных заданий.<br> Закрепить код маркировки можно, только если в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post) есть поле `sgtin`, а сборочное задание находится в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `confirm`. <br><br> Получить загруженные маркировки можно в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
1252
+
1253
+ :param api_orders_sgtins_set_request:
1254
+ :type api_orders_sgtins_set_request: ApiOrdersSGTINsSetRequest
1255
+ :param _request_timeout: timeout setting for this request. If one
1256
+ number provided, it will be total request
1257
+ timeout. It can also be a pair (tuple) of
1258
+ (connection, read) timeouts.
1259
+ :type _request_timeout: int, tuple(int, int), optional
1260
+ :param _request_auth: set to override the auth_settings for an a single
1261
+ request; this effectively ignores the
1262
+ authentication in the spec for a single request.
1263
+ :type _request_auth: dict, optional
1264
+ :param _content_type: force content-type for the request.
1265
+ :type _content_type: str, Optional
1266
+ :param _headers: set to override the headers for a single
1267
+ request; this effectively ignores the headers
1268
+ in the spec for a single request.
1269
+ :type _headers: dict, optional
1270
+ :param _host_index: set to override the host_index for a single
1271
+ request; this effectively ignores the host_index
1272
+ in the spec for a single request.
1273
+ :type _host_index: int, optional
1274
+ :return: Returns the result object.
1275
+ """ # noqa: E501
1276
+
1277
+ _param = self._api_marketplace_v3_dbs_orders_meta_sgtin_post_serialize(
1278
+ api_orders_sgtins_set_request=api_orders_sgtins_set_request,
1279
+ _request_auth=_request_auth,
1280
+ _content_type=_content_type,
1281
+ _headers=_headers,
1282
+ _host_index=_host_index
1283
+ )
1284
+
1285
+ _response_types_map: Dict[str, Optional[str]] = {
1286
+ '200': "ApiStatusSetResponses",
1287
+ '400': "ApiBatchError",
1288
+ '401': "ApiV3DbsOrdersNewGet401Response",
1289
+ '403': "ApiBatchError",
1290
+ '409': "ApiError",
1291
+ '429': "ApiV3DbsOrdersNewGet401Response",
1292
+ }
1293
+ response_data = self.api_client.call_api(
1294
+ *_param,
1295
+ _request_timeout=_request_timeout
1296
+ )
1297
+ response_data.read()
1298
+ return self.api_client.response_deserialize(
1299
+ response_data=response_data,
1300
+ response_types_map=_response_types_map,
1301
+ ).data
1302
+
1303
+
1304
+ @validate_call
1305
+ def api_marketplace_v3_dbs_orders_meta_sgtin_post_with_http_info(
1306
+ self,
1307
+ api_orders_sgtins_set_request: Optional[ApiOrdersSGTINsSetRequest] = None,
1308
+ _request_timeout: Union[
1309
+ None,
1310
+ Annotated[StrictFloat, Field(gt=0)],
1311
+ Tuple[
1312
+ Annotated[StrictFloat, Field(gt=0)],
1313
+ Annotated[StrictFloat, Field(gt=0)]
1314
+ ]
1315
+ ] = None,
1316
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1317
+ _content_type: Optional[StrictStr] = None,
1318
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1319
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1320
+ ) -> ApiResponse[ApiStatusSetResponses]:
1321
+ """Закрепить коды маркировки за сборочными заданиями
1322
+
1323
+ Метод обновляет код маркировки [Честный знак](https://честныйзнак.рф/) в [метаданных](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post) нескольких сборочных заданий.<br> Закрепить код маркировки можно, только если в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post) есть поле `sgtin`, а сборочное задание находится в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `confirm`. <br><br> Получить загруженные маркировки можно в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
1324
+
1325
+ :param api_orders_sgtins_set_request:
1326
+ :type api_orders_sgtins_set_request: ApiOrdersSGTINsSetRequest
1327
+ :param _request_timeout: timeout setting for this request. If one
1328
+ number provided, it will be total request
1329
+ timeout. It can also be a pair (tuple) of
1330
+ (connection, read) timeouts.
1331
+ :type _request_timeout: int, tuple(int, int), optional
1332
+ :param _request_auth: set to override the auth_settings for an a single
1333
+ request; this effectively ignores the
1334
+ authentication in the spec for a single request.
1335
+ :type _request_auth: dict, optional
1336
+ :param _content_type: force content-type for the request.
1337
+ :type _content_type: str, Optional
1338
+ :param _headers: set to override the headers for a single
1339
+ request; this effectively ignores the headers
1340
+ in the spec for a single request.
1341
+ :type _headers: dict, optional
1342
+ :param _host_index: set to override the host_index for a single
1343
+ request; this effectively ignores the host_index
1344
+ in the spec for a single request.
1345
+ :type _host_index: int, optional
1346
+ :return: Returns the result object.
1347
+ """ # noqa: E501
1348
+
1349
+ _param = self._api_marketplace_v3_dbs_orders_meta_sgtin_post_serialize(
1350
+ api_orders_sgtins_set_request=api_orders_sgtins_set_request,
1351
+ _request_auth=_request_auth,
1352
+ _content_type=_content_type,
1353
+ _headers=_headers,
1354
+ _host_index=_host_index
1355
+ )
1356
+
1357
+ _response_types_map: Dict[str, Optional[str]] = {
1358
+ '200': "ApiStatusSetResponses",
1359
+ '400': "ApiBatchError",
1360
+ '401': "ApiV3DbsOrdersNewGet401Response",
1361
+ '403': "ApiBatchError",
1362
+ '409': "ApiError",
1363
+ '429': "ApiV3DbsOrdersNewGet401Response",
1364
+ }
1365
+ response_data = self.api_client.call_api(
1366
+ *_param,
1367
+ _request_timeout=_request_timeout
1368
+ )
1369
+ response_data.read()
1370
+ return self.api_client.response_deserialize(
1371
+ response_data=response_data,
1372
+ response_types_map=_response_types_map,
1373
+ )
1374
+
1375
+
1376
+ @validate_call
1377
+ def api_marketplace_v3_dbs_orders_meta_sgtin_post_without_preload_content(
1378
+ self,
1379
+ api_orders_sgtins_set_request: Optional[ApiOrdersSGTINsSetRequest] = None,
1380
+ _request_timeout: Union[
1381
+ None,
1382
+ Annotated[StrictFloat, Field(gt=0)],
1383
+ Tuple[
1384
+ Annotated[StrictFloat, Field(gt=0)],
1385
+ Annotated[StrictFloat, Field(gt=0)]
1386
+ ]
1387
+ ] = None,
1388
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1389
+ _content_type: Optional[StrictStr] = None,
1390
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1391
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1392
+ ) -> RESTResponseType:
1393
+ """Закрепить коды маркировки за сборочными заданиями
1394
+
1395
+ Метод обновляет код маркировки [Честный знак](https://честныйзнак.рф/) в [метаданных](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post) нескольких сборочных заданий.<br> Закрепить код маркировки можно, только если в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post) есть поле `sgtin`, а сборочное задание находится в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `confirm`. <br><br> Получить загруженные маркировки можно в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
1396
+
1397
+ :param api_orders_sgtins_set_request:
1398
+ :type api_orders_sgtins_set_request: ApiOrdersSGTINsSetRequest
1399
+ :param _request_timeout: timeout setting for this request. If one
1400
+ number provided, it will be total request
1401
+ timeout. It can also be a pair (tuple) of
1402
+ (connection, read) timeouts.
1403
+ :type _request_timeout: int, tuple(int, int), optional
1404
+ :param _request_auth: set to override the auth_settings for an a single
1405
+ request; this effectively ignores the
1406
+ authentication in the spec for a single request.
1407
+ :type _request_auth: dict, optional
1408
+ :param _content_type: force content-type for the request.
1409
+ :type _content_type: str, Optional
1410
+ :param _headers: set to override the headers for a single
1411
+ request; this effectively ignores the headers
1412
+ in the spec for a single request.
1413
+ :type _headers: dict, optional
1414
+ :param _host_index: set to override the host_index for a single
1415
+ request; this effectively ignores the host_index
1416
+ in the spec for a single request.
1417
+ :type _host_index: int, optional
1418
+ :return: Returns the result object.
1419
+ """ # noqa: E501
1420
+
1421
+ _param = self._api_marketplace_v3_dbs_orders_meta_sgtin_post_serialize(
1422
+ api_orders_sgtins_set_request=api_orders_sgtins_set_request,
1423
+ _request_auth=_request_auth,
1424
+ _content_type=_content_type,
1425
+ _headers=_headers,
1426
+ _host_index=_host_index
1427
+ )
1428
+
1429
+ _response_types_map: Dict[str, Optional[str]] = {
1430
+ '200': "ApiStatusSetResponses",
1431
+ '400': "ApiBatchError",
1432
+ '401': "ApiV3DbsOrdersNewGet401Response",
1433
+ '403': "ApiBatchError",
1434
+ '409': "ApiError",
1435
+ '429': "ApiV3DbsOrdersNewGet401Response",
1436
+ }
1437
+ response_data = self.api_client.call_api(
1438
+ *_param,
1439
+ _request_timeout=_request_timeout
1440
+ )
1441
+ return response_data.response
1442
+
1443
+
1444
+ def _api_marketplace_v3_dbs_orders_meta_sgtin_post_serialize(
1445
+ self,
1446
+ api_orders_sgtins_set_request,
1447
+ _request_auth,
1448
+ _content_type,
1449
+ _headers,
1450
+ _host_index,
1451
+ ) -> RequestSerialized:
1452
+
1453
+ _hosts = [
1454
+ 'https://marketplace-api.wildberries.ru'
1455
+ ]
1456
+ _host = _hosts[_host_index]
1457
+
1458
+ _collection_formats: Dict[str, str] = {
1459
+ }
1460
+
1461
+ _path_params: Dict[str, str] = {}
1462
+ _query_params: List[Tuple[str, str]] = []
1463
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1464
+ _form_params: List[Tuple[str, str]] = []
1465
+ _files: Dict[
1466
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1467
+ ] = {}
1468
+ _body_params: Optional[bytes] = None
1469
+
1470
+ # process the path parameters
1471
+ # process the query parameters
1472
+ # process the header parameters
1473
+ # process the form parameters
1474
+ # process the body parameter
1475
+ if api_orders_sgtins_set_request is not None:
1476
+ _body_params = api_orders_sgtins_set_request
1477
+
1478
+
1479
+ # set the HTTP header `Accept`
1480
+ if 'Accept' not in _header_params:
1481
+ _header_params['Accept'] = self.api_client.select_header_accept(
1482
+ [
1483
+ 'application/json'
1484
+ ]
1485
+ )
1486
+
1487
+ # set the HTTP header `Content-Type`
1488
+ if _content_type:
1489
+ _header_params['Content-Type'] = _content_type
1490
+ else:
1491
+ _default_content_type = (
1492
+ self.api_client.select_header_content_type(
1493
+ [
1494
+ 'application/json'
1495
+ ]
1496
+ )
1497
+ )
1498
+ if _default_content_type is not None:
1499
+ _header_params['Content-Type'] = _default_content_type
1500
+
1501
+ # authentication setting
1502
+ _auth_settings: List[str] = [
1503
+ 'HeaderApiKey'
1504
+ ]
1505
+
1506
+ return self.api_client.param_serialize(
1507
+ method='POST',
1508
+ resource_path='/api/marketplace/v3/dbs/orders/meta/sgtin',
1509
+ path_params=_path_params,
1510
+ query_params=_query_params,
1511
+ header_params=_header_params,
1512
+ body=_body_params,
1513
+ post_params=_form_params,
1514
+ files=_files,
1515
+ auth_settings=_auth_settings,
1516
+ collection_formats=_collection_formats,
1517
+ _host=_host,
1518
+ _request_auth=_request_auth
1519
+ )
1520
+
1521
+
1522
+
1523
+
1524
+ @validate_call
1525
+ def api_marketplace_v3_dbs_orders_meta_uin_post(
1526
+ self,
1527
+ api_orders_uin_set_request: Optional[ApiOrdersUINSetRequest] = None,
1528
+ _request_timeout: Union[
1529
+ None,
1530
+ Annotated[StrictFloat, Field(gt=0)],
1531
+ Tuple[
1532
+ Annotated[StrictFloat, Field(gt=0)],
1533
+ Annotated[StrictFloat, Field(gt=0)]
1534
+ ]
1535
+ ] = None,
1536
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1537
+ _content_type: Optional[StrictStr] = None,
1538
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1539
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1540
+ ) -> ApiStatusSetResponses:
1541
+ """Закрепить УИН за сборочными заданиями
1542
+
1543
+ Метод обновляет УИН, уникальный идентификационный номер, в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post).<br> У одного сборочного задания может быть только один УИН. Добавлять УИН можно только для сборочных заданий, которые доставляются WB и находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `confirm`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
1544
+
1545
+ :param api_orders_uin_set_request:
1546
+ :type api_orders_uin_set_request: ApiOrdersUINSetRequest
1547
+ :param _request_timeout: timeout setting for this request. If one
1548
+ number provided, it will be total request
1549
+ timeout. It can also be a pair (tuple) of
1550
+ (connection, read) timeouts.
1551
+ :type _request_timeout: int, tuple(int, int), optional
1552
+ :param _request_auth: set to override the auth_settings for an a single
1553
+ request; this effectively ignores the
1554
+ authentication in the spec for a single request.
1555
+ :type _request_auth: dict, optional
1556
+ :param _content_type: force content-type for the request.
1557
+ :type _content_type: str, Optional
1558
+ :param _headers: set to override the headers for a single
1559
+ request; this effectively ignores the headers
1560
+ in the spec for a single request.
1561
+ :type _headers: dict, optional
1562
+ :param _host_index: set to override the host_index for a single
1563
+ request; this effectively ignores the host_index
1564
+ in the spec for a single request.
1565
+ :type _host_index: int, optional
1566
+ :return: Returns the result object.
1567
+ """ # noqa: E501
1568
+
1569
+ _param = self._api_marketplace_v3_dbs_orders_meta_uin_post_serialize(
1570
+ api_orders_uin_set_request=api_orders_uin_set_request,
1571
+ _request_auth=_request_auth,
1572
+ _content_type=_content_type,
1573
+ _headers=_headers,
1574
+ _host_index=_host_index
1575
+ )
1576
+
1577
+ _response_types_map: Dict[str, Optional[str]] = {
1578
+ '200': "ApiStatusSetResponses",
1579
+ '400': "ApiBatchError",
1580
+ '401': "ApiV3DbsOrdersNewGet401Response",
1581
+ '403': "ApiBatchError",
1582
+ '409': "ApiError",
1583
+ '429': "ApiV3DbsOrdersNewGet401Response",
1584
+ }
1585
+ response_data = self.api_client.call_api(
1586
+ *_param,
1587
+ _request_timeout=_request_timeout
1588
+ )
1589
+ response_data.read()
1590
+ return self.api_client.response_deserialize(
1591
+ response_data=response_data,
1592
+ response_types_map=_response_types_map,
1593
+ ).data
1594
+
1595
+
1596
+ @validate_call
1597
+ def api_marketplace_v3_dbs_orders_meta_uin_post_with_http_info(
1598
+ self,
1599
+ api_orders_uin_set_request: Optional[ApiOrdersUINSetRequest] = None,
1600
+ _request_timeout: Union[
1601
+ None,
1602
+ Annotated[StrictFloat, Field(gt=0)],
1603
+ Tuple[
1604
+ Annotated[StrictFloat, Field(gt=0)],
1605
+ Annotated[StrictFloat, Field(gt=0)]
1606
+ ]
1607
+ ] = None,
1608
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1609
+ _content_type: Optional[StrictStr] = None,
1610
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1611
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1612
+ ) -> ApiResponse[ApiStatusSetResponses]:
1613
+ """Закрепить УИН за сборочными заданиями
1614
+
1615
+ Метод обновляет УИН, уникальный идентификационный номер, в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post).<br> У одного сборочного задания может быть только один УИН. Добавлять УИН можно только для сборочных заданий, которые доставляются WB и находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `confirm`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
1616
+
1617
+ :param api_orders_uin_set_request:
1618
+ :type api_orders_uin_set_request: ApiOrdersUINSetRequest
1619
+ :param _request_timeout: timeout setting for this request. If one
1620
+ number provided, it will be total request
1621
+ timeout. It can also be a pair (tuple) of
1622
+ (connection, read) timeouts.
1623
+ :type _request_timeout: int, tuple(int, int), optional
1624
+ :param _request_auth: set to override the auth_settings for an a single
1625
+ request; this effectively ignores the
1626
+ authentication in the spec for a single request.
1627
+ :type _request_auth: dict, optional
1628
+ :param _content_type: force content-type for the request.
1629
+ :type _content_type: str, Optional
1630
+ :param _headers: set to override the headers for a single
1631
+ request; this effectively ignores the headers
1632
+ in the spec for a single request.
1633
+ :type _headers: dict, optional
1634
+ :param _host_index: set to override the host_index for a single
1635
+ request; this effectively ignores the host_index
1636
+ in the spec for a single request.
1637
+ :type _host_index: int, optional
1638
+ :return: Returns the result object.
1639
+ """ # noqa: E501
1640
+
1641
+ _param = self._api_marketplace_v3_dbs_orders_meta_uin_post_serialize(
1642
+ api_orders_uin_set_request=api_orders_uin_set_request,
1643
+ _request_auth=_request_auth,
1644
+ _content_type=_content_type,
1645
+ _headers=_headers,
1646
+ _host_index=_host_index
1647
+ )
1648
+
1649
+ _response_types_map: Dict[str, Optional[str]] = {
1650
+ '200': "ApiStatusSetResponses",
1651
+ '400': "ApiBatchError",
1652
+ '401': "ApiV3DbsOrdersNewGet401Response",
1653
+ '403': "ApiBatchError",
1654
+ '409': "ApiError",
1655
+ '429': "ApiV3DbsOrdersNewGet401Response",
1656
+ }
1657
+ response_data = self.api_client.call_api(
1658
+ *_param,
1659
+ _request_timeout=_request_timeout
1660
+ )
1661
+ response_data.read()
1662
+ return self.api_client.response_deserialize(
1663
+ response_data=response_data,
1664
+ response_types_map=_response_types_map,
1665
+ )
1666
+
1667
+
1668
+ @validate_call
1669
+ def api_marketplace_v3_dbs_orders_meta_uin_post_without_preload_content(
1670
+ self,
1671
+ api_orders_uin_set_request: Optional[ApiOrdersUINSetRequest] = None,
1672
+ _request_timeout: Union[
1673
+ None,
1674
+ Annotated[StrictFloat, Field(gt=0)],
1675
+ Tuple[
1676
+ Annotated[StrictFloat, Field(gt=0)],
1677
+ Annotated[StrictFloat, Field(gt=0)]
1678
+ ]
1679
+ ] = None,
1680
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1681
+ _content_type: Optional[StrictStr] = None,
1682
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1683
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1684
+ ) -> RESTResponseType:
1685
+ """Закрепить УИН за сборочными заданиями
1686
+
1687
+ Метод обновляет УИН, уникальный идентификационный номер, в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post).<br> У одного сборочного задания может быть только один УИН. Добавлять УИН можно только для сборочных заданий, которые доставляются WB и находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `confirm`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
1688
+
1689
+ :param api_orders_uin_set_request:
1690
+ :type api_orders_uin_set_request: ApiOrdersUINSetRequest
1691
+ :param _request_timeout: timeout setting for this request. If one
1692
+ number provided, it will be total request
1693
+ timeout. It can also be a pair (tuple) of
1694
+ (connection, read) timeouts.
1695
+ :type _request_timeout: int, tuple(int, int), optional
1696
+ :param _request_auth: set to override the auth_settings for an a single
1697
+ request; this effectively ignores the
1698
+ authentication in the spec for a single request.
1699
+ :type _request_auth: dict, optional
1700
+ :param _content_type: force content-type for the request.
1701
+ :type _content_type: str, Optional
1702
+ :param _headers: set to override the headers for a single
1703
+ request; this effectively ignores the headers
1704
+ in the spec for a single request.
1705
+ :type _headers: dict, optional
1706
+ :param _host_index: set to override the host_index for a single
1707
+ request; this effectively ignores the host_index
1708
+ in the spec for a single request.
1709
+ :type _host_index: int, optional
1710
+ :return: Returns the result object.
1711
+ """ # noqa: E501
1712
+
1713
+ _param = self._api_marketplace_v3_dbs_orders_meta_uin_post_serialize(
1714
+ api_orders_uin_set_request=api_orders_uin_set_request,
1715
+ _request_auth=_request_auth,
1716
+ _content_type=_content_type,
1717
+ _headers=_headers,
1718
+ _host_index=_host_index
1719
+ )
1720
+
1721
+ _response_types_map: Dict[str, Optional[str]] = {
1722
+ '200': "ApiStatusSetResponses",
1723
+ '400': "ApiBatchError",
1724
+ '401': "ApiV3DbsOrdersNewGet401Response",
1725
+ '403': "ApiBatchError",
1726
+ '409': "ApiError",
1727
+ '429': "ApiV3DbsOrdersNewGet401Response",
1728
+ }
1729
+ response_data = self.api_client.call_api(
1730
+ *_param,
1731
+ _request_timeout=_request_timeout
1732
+ )
1733
+ return response_data.response
1734
+
1735
+
1736
+ def _api_marketplace_v3_dbs_orders_meta_uin_post_serialize(
1737
+ self,
1738
+ api_orders_uin_set_request,
1739
+ _request_auth,
1740
+ _content_type,
1741
+ _headers,
1742
+ _host_index,
1743
+ ) -> RequestSerialized:
1744
+
1745
+ _hosts = [
1746
+ 'https://marketplace-api.wildberries.ru'
1747
+ ]
1748
+ _host = _hosts[_host_index]
1749
+
1750
+ _collection_formats: Dict[str, str] = {
1751
+ }
1752
+
1753
+ _path_params: Dict[str, str] = {}
1754
+ _query_params: List[Tuple[str, str]] = []
1755
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1756
+ _form_params: List[Tuple[str, str]] = []
1757
+ _files: Dict[
1758
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1759
+ ] = {}
1760
+ _body_params: Optional[bytes] = None
1761
+
1762
+ # process the path parameters
1763
+ # process the query parameters
1764
+ # process the header parameters
1765
+ # process the form parameters
1766
+ # process the body parameter
1767
+ if api_orders_uin_set_request is not None:
1768
+ _body_params = api_orders_uin_set_request
1769
+
1770
+
1771
+ # set the HTTP header `Accept`
1772
+ if 'Accept' not in _header_params:
1773
+ _header_params['Accept'] = self.api_client.select_header_accept(
1774
+ [
1775
+ 'application/json'
1776
+ ]
1777
+ )
1778
+
1779
+ # set the HTTP header `Content-Type`
1780
+ if _content_type:
1781
+ _header_params['Content-Type'] = _content_type
1782
+ else:
1783
+ _default_content_type = (
1784
+ self.api_client.select_header_content_type(
1785
+ [
1786
+ 'application/json'
1787
+ ]
1788
+ )
1789
+ )
1790
+ if _default_content_type is not None:
1791
+ _header_params['Content-Type'] = _default_content_type
1792
+
1793
+ # authentication setting
1794
+ _auth_settings: List[str] = [
1795
+ 'HeaderApiKey'
1796
+ ]
1797
+
1798
+ return self.api_client.param_serialize(
1799
+ method='POST',
1800
+ resource_path='/api/marketplace/v3/dbs/orders/meta/uin',
1801
+ path_params=_path_params,
1802
+ query_params=_query_params,
1803
+ header_params=_header_params,
1804
+ body=_body_params,
1805
+ post_params=_form_params,
1806
+ files=_files,
1807
+ auth_settings=_auth_settings,
1808
+ collection_formats=_collection_formats,
1809
+ _host=_host,
1810
+ _request_auth=_request_auth
1811
+ )
1812
+
1813
+
1814
+
1815
+
1816
+ @validate_call
1817
+ def api_marketplace_v3_dbs_orders_status_cancel_post(
1818
+ self,
1819
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
1820
+ _request_timeout: Union[
1821
+ None,
1822
+ Annotated[StrictFloat, Field(gt=0)],
1823
+ Tuple[
1824
+ Annotated[StrictFloat, Field(gt=0)],
1825
+ Annotated[StrictFloat, Field(gt=0)]
1826
+ ]
1827
+ ] = None,
1828
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1829
+ _content_type: Optional[StrictStr] = None,
1830
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1831
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1832
+ ) -> ApiStatusSetResponses:
1833
+ """Отменить сборочные задания
1834
+
1835
+ Метод переводит [сборочные задания](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) из [статусов](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `new`, `confirm` и `deliver` в статус `cancel` — отменено продавцом. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
1836
+
1837
+ :param api_orders_request_v2:
1838
+ :type api_orders_request_v2: ApiOrdersRequestV2
1839
+ :param _request_timeout: timeout setting for this request. If one
1840
+ number provided, it will be total request
1841
+ timeout. It can also be a pair (tuple) of
1842
+ (connection, read) timeouts.
1843
+ :type _request_timeout: int, tuple(int, int), optional
1844
+ :param _request_auth: set to override the auth_settings for an a single
1845
+ request; this effectively ignores the
1846
+ authentication in the spec for a single request.
1847
+ :type _request_auth: dict, optional
1848
+ :param _content_type: force content-type for the request.
1849
+ :type _content_type: str, Optional
1850
+ :param _headers: set to override the headers for a single
1851
+ request; this effectively ignores the headers
1852
+ in the spec for a single request.
1853
+ :type _headers: dict, optional
1854
+ :param _host_index: set to override the host_index for a single
1855
+ request; this effectively ignores the host_index
1856
+ in the spec for a single request.
1857
+ :type _host_index: int, optional
1858
+ :return: Returns the result object.
1859
+ """ # noqa: E501
1860
+
1861
+ _param = self._api_marketplace_v3_dbs_orders_status_cancel_post_serialize(
1862
+ api_orders_request_v2=api_orders_request_v2,
1863
+ _request_auth=_request_auth,
1864
+ _content_type=_content_type,
1865
+ _headers=_headers,
1866
+ _host_index=_host_index
1867
+ )
1868
+
1869
+ _response_types_map: Dict[str, Optional[str]] = {
1870
+ '200': "ApiStatusSetResponses",
1871
+ '400': "ApiBatchError",
1872
+ '401': "ApiV3DbsOrdersNewGet401Response",
1873
+ '403': "ApiBatchError",
1874
+ '429': "ApiV3DbsOrdersNewGet401Response",
1875
+ }
1876
+ response_data = self.api_client.call_api(
1877
+ *_param,
1878
+ _request_timeout=_request_timeout
1879
+ )
1880
+ response_data.read()
1881
+ return self.api_client.response_deserialize(
1882
+ response_data=response_data,
1883
+ response_types_map=_response_types_map,
1884
+ ).data
1885
+
1886
+
1887
+ @validate_call
1888
+ def api_marketplace_v3_dbs_orders_status_cancel_post_with_http_info(
1889
+ self,
1890
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
1891
+ _request_timeout: Union[
1892
+ None,
1893
+ Annotated[StrictFloat, Field(gt=0)],
1894
+ Tuple[
1895
+ Annotated[StrictFloat, Field(gt=0)],
1896
+ Annotated[StrictFloat, Field(gt=0)]
1897
+ ]
1898
+ ] = None,
1899
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1900
+ _content_type: Optional[StrictStr] = None,
1901
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1902
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1903
+ ) -> ApiResponse[ApiStatusSetResponses]:
1904
+ """Отменить сборочные задания
1905
+
1906
+ Метод переводит [сборочные задания](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) из [статусов](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `new`, `confirm` и `deliver` в статус `cancel` — отменено продавцом. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
1907
+
1908
+ :param api_orders_request_v2:
1909
+ :type api_orders_request_v2: ApiOrdersRequestV2
1910
+ :param _request_timeout: timeout setting for this request. If one
1911
+ number provided, it will be total request
1912
+ timeout. It can also be a pair (tuple) of
1913
+ (connection, read) timeouts.
1914
+ :type _request_timeout: int, tuple(int, int), optional
1915
+ :param _request_auth: set to override the auth_settings for an a single
1916
+ request; this effectively ignores the
1917
+ authentication in the spec for a single request.
1918
+ :type _request_auth: dict, optional
1919
+ :param _content_type: force content-type for the request.
1920
+ :type _content_type: str, Optional
1921
+ :param _headers: set to override the headers for a single
1922
+ request; this effectively ignores the headers
1923
+ in the spec for a single request.
1924
+ :type _headers: dict, optional
1925
+ :param _host_index: set to override the host_index for a single
1926
+ request; this effectively ignores the host_index
1927
+ in the spec for a single request.
1928
+ :type _host_index: int, optional
1929
+ :return: Returns the result object.
1930
+ """ # noqa: E501
1931
+
1932
+ _param = self._api_marketplace_v3_dbs_orders_status_cancel_post_serialize(
1933
+ api_orders_request_v2=api_orders_request_v2,
1934
+ _request_auth=_request_auth,
1935
+ _content_type=_content_type,
1936
+ _headers=_headers,
1937
+ _host_index=_host_index
1938
+ )
1939
+
1940
+ _response_types_map: Dict[str, Optional[str]] = {
1941
+ '200': "ApiStatusSetResponses",
1942
+ '400': "ApiBatchError",
1943
+ '401': "ApiV3DbsOrdersNewGet401Response",
1944
+ '403': "ApiBatchError",
1945
+ '429': "ApiV3DbsOrdersNewGet401Response",
1946
+ }
1947
+ response_data = self.api_client.call_api(
1948
+ *_param,
1949
+ _request_timeout=_request_timeout
1950
+ )
1951
+ response_data.read()
1952
+ return self.api_client.response_deserialize(
1953
+ response_data=response_data,
1954
+ response_types_map=_response_types_map,
1955
+ )
1956
+
1957
+
1958
+ @validate_call
1959
+ def api_marketplace_v3_dbs_orders_status_cancel_post_without_preload_content(
1960
+ self,
1961
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
1962
+ _request_timeout: Union[
1963
+ None,
1964
+ Annotated[StrictFloat, Field(gt=0)],
1965
+ Tuple[
1966
+ Annotated[StrictFloat, Field(gt=0)],
1967
+ Annotated[StrictFloat, Field(gt=0)]
1968
+ ]
1969
+ ] = None,
1970
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1971
+ _content_type: Optional[StrictStr] = None,
1972
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1973
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1974
+ ) -> RESTResponseType:
1975
+ """Отменить сборочные задания
1976
+
1977
+ Метод переводит [сборочные задания](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) из [статусов](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `new`, `confirm` и `deliver` в статус `cancel` — отменено продавцом. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
1978
+
1979
+ :param api_orders_request_v2:
1980
+ :type api_orders_request_v2: ApiOrdersRequestV2
1981
+ :param _request_timeout: timeout setting for this request. If one
1982
+ number provided, it will be total request
1983
+ timeout. It can also be a pair (tuple) of
1984
+ (connection, read) timeouts.
1985
+ :type _request_timeout: int, tuple(int, int), optional
1986
+ :param _request_auth: set to override the auth_settings for an a single
1987
+ request; this effectively ignores the
1988
+ authentication in the spec for a single request.
1989
+ :type _request_auth: dict, optional
1990
+ :param _content_type: force content-type for the request.
1991
+ :type _content_type: str, Optional
1992
+ :param _headers: set to override the headers for a single
1993
+ request; this effectively ignores the headers
1994
+ in the spec for a single request.
1995
+ :type _headers: dict, optional
1996
+ :param _host_index: set to override the host_index for a single
1997
+ request; this effectively ignores the host_index
1998
+ in the spec for a single request.
1999
+ :type _host_index: int, optional
2000
+ :return: Returns the result object.
2001
+ """ # noqa: E501
2002
+
2003
+ _param = self._api_marketplace_v3_dbs_orders_status_cancel_post_serialize(
2004
+ api_orders_request_v2=api_orders_request_v2,
2005
+ _request_auth=_request_auth,
2006
+ _content_type=_content_type,
2007
+ _headers=_headers,
2008
+ _host_index=_host_index
2009
+ )
2010
+
2011
+ _response_types_map: Dict[str, Optional[str]] = {
2012
+ '200': "ApiStatusSetResponses",
2013
+ '400': "ApiBatchError",
2014
+ '401': "ApiV3DbsOrdersNewGet401Response",
2015
+ '403': "ApiBatchError",
2016
+ '429': "ApiV3DbsOrdersNewGet401Response",
2017
+ }
2018
+ response_data = self.api_client.call_api(
2019
+ *_param,
2020
+ _request_timeout=_request_timeout
2021
+ )
2022
+ return response_data.response
2023
+
2024
+
2025
+ def _api_marketplace_v3_dbs_orders_status_cancel_post_serialize(
2026
+ self,
2027
+ api_orders_request_v2,
2028
+ _request_auth,
2029
+ _content_type,
2030
+ _headers,
2031
+ _host_index,
2032
+ ) -> RequestSerialized:
2033
+
2034
+ _hosts = [
2035
+ 'https://marketplace-api.wildberries.ru'
2036
+ ]
2037
+ _host = _hosts[_host_index]
2038
+
2039
+ _collection_formats: Dict[str, str] = {
2040
+ }
2041
+
2042
+ _path_params: Dict[str, str] = {}
2043
+ _query_params: List[Tuple[str, str]] = []
2044
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2045
+ _form_params: List[Tuple[str, str]] = []
2046
+ _files: Dict[
2047
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2048
+ ] = {}
2049
+ _body_params: Optional[bytes] = None
2050
+
2051
+ # process the path parameters
2052
+ # process the query parameters
2053
+ # process the header parameters
2054
+ # process the form parameters
2055
+ # process the body parameter
2056
+ if api_orders_request_v2 is not None:
2057
+ _body_params = api_orders_request_v2
2058
+
2059
+
2060
+ # set the HTTP header `Accept`
2061
+ if 'Accept' not in _header_params:
2062
+ _header_params['Accept'] = self.api_client.select_header_accept(
2063
+ [
2064
+ 'application/json'
2065
+ ]
2066
+ )
2067
+
2068
+ # set the HTTP header `Content-Type`
2069
+ if _content_type:
2070
+ _header_params['Content-Type'] = _content_type
2071
+ else:
2072
+ _default_content_type = (
2073
+ self.api_client.select_header_content_type(
2074
+ [
2075
+ 'application/json'
2076
+ ]
2077
+ )
2078
+ )
2079
+ if _default_content_type is not None:
2080
+ _header_params['Content-Type'] = _default_content_type
2081
+
2082
+ # authentication setting
2083
+ _auth_settings: List[str] = [
2084
+ 'HeaderApiKey'
2085
+ ]
2086
+
2087
+ return self.api_client.param_serialize(
2088
+ method='POST',
2089
+ resource_path='/api/marketplace/v3/dbs/orders/status/cancel',
2090
+ path_params=_path_params,
2091
+ query_params=_query_params,
2092
+ header_params=_header_params,
2093
+ body=_body_params,
2094
+ post_params=_form_params,
2095
+ files=_files,
2096
+ auth_settings=_auth_settings,
2097
+ collection_formats=_collection_formats,
2098
+ _host=_host,
2099
+ _request_auth=_request_auth
2100
+ )
2101
+
2102
+
2103
+
2104
+
2105
+ @validate_call
2106
+ def api_marketplace_v3_dbs_orders_status_confirm_post(
2107
+ self,
2108
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
2109
+ _request_timeout: Union[
2110
+ None,
2111
+ Annotated[StrictFloat, Field(gt=0)],
2112
+ Tuple[
2113
+ Annotated[StrictFloat, Field(gt=0)],
2114
+ Annotated[StrictFloat, Field(gt=0)]
2115
+ ]
2116
+ ] = None,
2117
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2118
+ _content_type: Optional[StrictStr] = None,
2119
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2120
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2121
+ ) -> ApiStatusSetResponses:
2122
+ """Перевести сборочные задания на сборку
2123
+
2124
+ Метод переводит [сборочные задания](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) из [статуса](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `new` в статус `confirm` — на сборке. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
2125
+
2126
+ :param api_orders_request_v2:
2127
+ :type api_orders_request_v2: ApiOrdersRequestV2
2128
+ :param _request_timeout: timeout setting for this request. If one
2129
+ number provided, it will be total request
2130
+ timeout. It can also be a pair (tuple) of
2131
+ (connection, read) timeouts.
2132
+ :type _request_timeout: int, tuple(int, int), optional
2133
+ :param _request_auth: set to override the auth_settings for an a single
2134
+ request; this effectively ignores the
2135
+ authentication in the spec for a single request.
2136
+ :type _request_auth: dict, optional
2137
+ :param _content_type: force content-type for the request.
2138
+ :type _content_type: str, Optional
2139
+ :param _headers: set to override the headers for a single
2140
+ request; this effectively ignores the headers
2141
+ in the spec for a single request.
2142
+ :type _headers: dict, optional
2143
+ :param _host_index: set to override the host_index for a single
2144
+ request; this effectively ignores the host_index
2145
+ in the spec for a single request.
2146
+ :type _host_index: int, optional
2147
+ :return: Returns the result object.
2148
+ """ # noqa: E501
2149
+
2150
+ _param = self._api_marketplace_v3_dbs_orders_status_confirm_post_serialize(
2151
+ api_orders_request_v2=api_orders_request_v2,
2152
+ _request_auth=_request_auth,
2153
+ _content_type=_content_type,
2154
+ _headers=_headers,
2155
+ _host_index=_host_index
2156
+ )
2157
+
2158
+ _response_types_map: Dict[str, Optional[str]] = {
2159
+ '200': "ApiStatusSetResponses",
2160
+ '400': "ApiBatchError",
2161
+ '401': "ApiV3DbsOrdersNewGet401Response",
2162
+ '403': "ApiBatchError",
2163
+ '429': "ApiV3DbsOrdersNewGet401Response",
2164
+ }
2165
+ response_data = self.api_client.call_api(
2166
+ *_param,
2167
+ _request_timeout=_request_timeout
2168
+ )
2169
+ response_data.read()
2170
+ return self.api_client.response_deserialize(
2171
+ response_data=response_data,
2172
+ response_types_map=_response_types_map,
2173
+ ).data
2174
+
2175
+
2176
+ @validate_call
2177
+ def api_marketplace_v3_dbs_orders_status_confirm_post_with_http_info(
2178
+ self,
2179
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
2180
+ _request_timeout: Union[
2181
+ None,
2182
+ Annotated[StrictFloat, Field(gt=0)],
2183
+ Tuple[
2184
+ Annotated[StrictFloat, Field(gt=0)],
2185
+ Annotated[StrictFloat, Field(gt=0)]
2186
+ ]
2187
+ ] = None,
2188
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2189
+ _content_type: Optional[StrictStr] = None,
2190
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2191
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2192
+ ) -> ApiResponse[ApiStatusSetResponses]:
2193
+ """Перевести сборочные задания на сборку
2194
+
2195
+ Метод переводит [сборочные задания](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) из [статуса](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `new` в статус `confirm` — на сборке. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
2196
+
2197
+ :param api_orders_request_v2:
2198
+ :type api_orders_request_v2: ApiOrdersRequestV2
2199
+ :param _request_timeout: timeout setting for this request. If one
2200
+ number provided, it will be total request
2201
+ timeout. It can also be a pair (tuple) of
2202
+ (connection, read) timeouts.
2203
+ :type _request_timeout: int, tuple(int, int), optional
2204
+ :param _request_auth: set to override the auth_settings for an a single
2205
+ request; this effectively ignores the
2206
+ authentication in the spec for a single request.
2207
+ :type _request_auth: dict, optional
2208
+ :param _content_type: force content-type for the request.
2209
+ :type _content_type: str, Optional
2210
+ :param _headers: set to override the headers for a single
2211
+ request; this effectively ignores the headers
2212
+ in the spec for a single request.
2213
+ :type _headers: dict, optional
2214
+ :param _host_index: set to override the host_index for a single
2215
+ request; this effectively ignores the host_index
2216
+ in the spec for a single request.
2217
+ :type _host_index: int, optional
2218
+ :return: Returns the result object.
2219
+ """ # noqa: E501
2220
+
2221
+ _param = self._api_marketplace_v3_dbs_orders_status_confirm_post_serialize(
2222
+ api_orders_request_v2=api_orders_request_v2,
2223
+ _request_auth=_request_auth,
2224
+ _content_type=_content_type,
2225
+ _headers=_headers,
2226
+ _host_index=_host_index
2227
+ )
2228
+
2229
+ _response_types_map: Dict[str, Optional[str]] = {
2230
+ '200': "ApiStatusSetResponses",
2231
+ '400': "ApiBatchError",
2232
+ '401': "ApiV3DbsOrdersNewGet401Response",
2233
+ '403': "ApiBatchError",
2234
+ '429': "ApiV3DbsOrdersNewGet401Response",
2235
+ }
2236
+ response_data = self.api_client.call_api(
2237
+ *_param,
2238
+ _request_timeout=_request_timeout
2239
+ )
2240
+ response_data.read()
2241
+ return self.api_client.response_deserialize(
2242
+ response_data=response_data,
2243
+ response_types_map=_response_types_map,
2244
+ )
2245
+
2246
+
2247
+ @validate_call
2248
+ def api_marketplace_v3_dbs_orders_status_confirm_post_without_preload_content(
2249
+ self,
2250
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
2251
+ _request_timeout: Union[
2252
+ None,
2253
+ Annotated[StrictFloat, Field(gt=0)],
2254
+ Tuple[
2255
+ Annotated[StrictFloat, Field(gt=0)],
2256
+ Annotated[StrictFloat, Field(gt=0)]
2257
+ ]
2258
+ ] = None,
2259
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2260
+ _content_type: Optional[StrictStr] = None,
2261
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2262
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2263
+ ) -> RESTResponseType:
2264
+ """Перевести сборочные задания на сборку
2265
+
2266
+ Метод переводит [сборочные задания](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) из [статуса](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `new` в статус `confirm` — на сборке. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
2267
+
2268
+ :param api_orders_request_v2:
2269
+ :type api_orders_request_v2: ApiOrdersRequestV2
2270
+ :param _request_timeout: timeout setting for this request. If one
2271
+ number provided, it will be total request
2272
+ timeout. It can also be a pair (tuple) of
2273
+ (connection, read) timeouts.
2274
+ :type _request_timeout: int, tuple(int, int), optional
2275
+ :param _request_auth: set to override the auth_settings for an a single
2276
+ request; this effectively ignores the
2277
+ authentication in the spec for a single request.
2278
+ :type _request_auth: dict, optional
2279
+ :param _content_type: force content-type for the request.
2280
+ :type _content_type: str, Optional
2281
+ :param _headers: set to override the headers for a single
2282
+ request; this effectively ignores the headers
2283
+ in the spec for a single request.
2284
+ :type _headers: dict, optional
2285
+ :param _host_index: set to override the host_index for a single
2286
+ request; this effectively ignores the host_index
2287
+ in the spec for a single request.
2288
+ :type _host_index: int, optional
2289
+ :return: Returns the result object.
2290
+ """ # noqa: E501
2291
+
2292
+ _param = self._api_marketplace_v3_dbs_orders_status_confirm_post_serialize(
2293
+ api_orders_request_v2=api_orders_request_v2,
2294
+ _request_auth=_request_auth,
2295
+ _content_type=_content_type,
2296
+ _headers=_headers,
2297
+ _host_index=_host_index
2298
+ )
2299
+
2300
+ _response_types_map: Dict[str, Optional[str]] = {
2301
+ '200': "ApiStatusSetResponses",
2302
+ '400': "ApiBatchError",
2303
+ '401': "ApiV3DbsOrdersNewGet401Response",
2304
+ '403': "ApiBatchError",
2305
+ '429': "ApiV3DbsOrdersNewGet401Response",
2306
+ }
2307
+ response_data = self.api_client.call_api(
2308
+ *_param,
2309
+ _request_timeout=_request_timeout
2310
+ )
2311
+ return response_data.response
2312
+
2313
+
2314
+ def _api_marketplace_v3_dbs_orders_status_confirm_post_serialize(
2315
+ self,
2316
+ api_orders_request_v2,
2317
+ _request_auth,
2318
+ _content_type,
2319
+ _headers,
2320
+ _host_index,
2321
+ ) -> RequestSerialized:
2322
+
2323
+ _hosts = [
2324
+ 'https://marketplace-api.wildberries.ru'
2325
+ ]
2326
+ _host = _hosts[_host_index]
2327
+
2328
+ _collection_formats: Dict[str, str] = {
2329
+ }
2330
+
2331
+ _path_params: Dict[str, str] = {}
2332
+ _query_params: List[Tuple[str, str]] = []
2333
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2334
+ _form_params: List[Tuple[str, str]] = []
2335
+ _files: Dict[
2336
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2337
+ ] = {}
2338
+ _body_params: Optional[bytes] = None
2339
+
2340
+ # process the path parameters
2341
+ # process the query parameters
2342
+ # process the header parameters
2343
+ # process the form parameters
2344
+ # process the body parameter
2345
+ if api_orders_request_v2 is not None:
2346
+ _body_params = api_orders_request_v2
2347
+
2348
+
2349
+ # set the HTTP header `Accept`
2350
+ if 'Accept' not in _header_params:
2351
+ _header_params['Accept'] = self.api_client.select_header_accept(
2352
+ [
2353
+ 'application/json'
2354
+ ]
2355
+ )
2356
+
2357
+ # set the HTTP header `Content-Type`
2358
+ if _content_type:
2359
+ _header_params['Content-Type'] = _content_type
2360
+ else:
2361
+ _default_content_type = (
2362
+ self.api_client.select_header_content_type(
2363
+ [
2364
+ 'application/json'
2365
+ ]
2366
+ )
2367
+ )
2368
+ if _default_content_type is not None:
2369
+ _header_params['Content-Type'] = _default_content_type
2370
+
2371
+ # authentication setting
2372
+ _auth_settings: List[str] = [
2373
+ 'HeaderApiKey'
2374
+ ]
2375
+
2376
+ return self.api_client.param_serialize(
2377
+ method='POST',
2378
+ resource_path='/api/marketplace/v3/dbs/orders/status/confirm',
2379
+ path_params=_path_params,
2380
+ query_params=_query_params,
2381
+ header_params=_header_params,
2382
+ body=_body_params,
2383
+ post_params=_form_params,
2384
+ files=_files,
2385
+ auth_settings=_auth_settings,
2386
+ collection_formats=_collection_formats,
2387
+ _host=_host,
2388
+ _request_auth=_request_auth
2389
+ )
2390
+
2391
+
2392
+
2393
+
2394
+ @validate_call
2395
+ def api_marketplace_v3_dbs_orders_status_deliver_post(
2396
+ self,
2397
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
2398
+ _request_timeout: Union[
2399
+ None,
2400
+ Annotated[StrictFloat, Field(gt=0)],
2401
+ Tuple[
2402
+ Annotated[StrictFloat, Field(gt=0)],
2403
+ Annotated[StrictFloat, Field(gt=0)]
2404
+ ]
2405
+ ] = None,
2406
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2407
+ _content_type: Optional[StrictStr] = None,
2408
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2409
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2410
+ ) -> ApiStatusSetResponses:
2411
+ """Перевести сборочные задания в доставку
2412
+
2413
+ Метод переводит [сборочные задания](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) из [статуса](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `confirm` в статус `deliver` — в доставке. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
2414
+
2415
+ :param api_orders_request_v2:
2416
+ :type api_orders_request_v2: ApiOrdersRequestV2
2417
+ :param _request_timeout: timeout setting for this request. If one
2418
+ number provided, it will be total request
2419
+ timeout. It can also be a pair (tuple) of
2420
+ (connection, read) timeouts.
2421
+ :type _request_timeout: int, tuple(int, int), optional
2422
+ :param _request_auth: set to override the auth_settings for an a single
2423
+ request; this effectively ignores the
2424
+ authentication in the spec for a single request.
2425
+ :type _request_auth: dict, optional
2426
+ :param _content_type: force content-type for the request.
2427
+ :type _content_type: str, Optional
2428
+ :param _headers: set to override the headers for a single
2429
+ request; this effectively ignores the headers
2430
+ in the spec for a single request.
2431
+ :type _headers: dict, optional
2432
+ :param _host_index: set to override the host_index for a single
2433
+ request; this effectively ignores the host_index
2434
+ in the spec for a single request.
2435
+ :type _host_index: int, optional
2436
+ :return: Returns the result object.
2437
+ """ # noqa: E501
2438
+
2439
+ _param = self._api_marketplace_v3_dbs_orders_status_deliver_post_serialize(
2440
+ api_orders_request_v2=api_orders_request_v2,
2441
+ _request_auth=_request_auth,
2442
+ _content_type=_content_type,
2443
+ _headers=_headers,
2444
+ _host_index=_host_index
2445
+ )
2446
+
2447
+ _response_types_map: Dict[str, Optional[str]] = {
2448
+ '200': "ApiStatusSetResponses",
2449
+ '400': "ApiBatchError",
2450
+ '401': "ApiV3DbsOrdersNewGet401Response",
2451
+ '403': "ApiBatchError",
2452
+ '429': "ApiV3DbsOrdersNewGet401Response",
2453
+ }
2454
+ response_data = self.api_client.call_api(
2455
+ *_param,
2456
+ _request_timeout=_request_timeout
2457
+ )
2458
+ response_data.read()
2459
+ return self.api_client.response_deserialize(
2460
+ response_data=response_data,
2461
+ response_types_map=_response_types_map,
2462
+ ).data
2463
+
2464
+
2465
+ @validate_call
2466
+ def api_marketplace_v3_dbs_orders_status_deliver_post_with_http_info(
2467
+ self,
2468
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
2469
+ _request_timeout: Union[
2470
+ None,
2471
+ Annotated[StrictFloat, Field(gt=0)],
2472
+ Tuple[
2473
+ Annotated[StrictFloat, Field(gt=0)],
2474
+ Annotated[StrictFloat, Field(gt=0)]
2475
+ ]
2476
+ ] = None,
2477
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2478
+ _content_type: Optional[StrictStr] = None,
2479
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2480
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2481
+ ) -> ApiResponse[ApiStatusSetResponses]:
2482
+ """Перевести сборочные задания в доставку
2483
+
2484
+ Метод переводит [сборочные задания](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) из [статуса](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `confirm` в статус `deliver` — в доставке. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
2485
+
2486
+ :param api_orders_request_v2:
2487
+ :type api_orders_request_v2: ApiOrdersRequestV2
2488
+ :param _request_timeout: timeout setting for this request. If one
2489
+ number provided, it will be total request
2490
+ timeout. It can also be a pair (tuple) of
2491
+ (connection, read) timeouts.
2492
+ :type _request_timeout: int, tuple(int, int), optional
2493
+ :param _request_auth: set to override the auth_settings for an a single
2494
+ request; this effectively ignores the
2495
+ authentication in the spec for a single request.
2496
+ :type _request_auth: dict, optional
2497
+ :param _content_type: force content-type for the request.
2498
+ :type _content_type: str, Optional
2499
+ :param _headers: set to override the headers for a single
2500
+ request; this effectively ignores the headers
2501
+ in the spec for a single request.
2502
+ :type _headers: dict, optional
2503
+ :param _host_index: set to override the host_index for a single
2504
+ request; this effectively ignores the host_index
2505
+ in the spec for a single request.
2506
+ :type _host_index: int, optional
2507
+ :return: Returns the result object.
2508
+ """ # noqa: E501
2509
+
2510
+ _param = self._api_marketplace_v3_dbs_orders_status_deliver_post_serialize(
2511
+ api_orders_request_v2=api_orders_request_v2,
2512
+ _request_auth=_request_auth,
2513
+ _content_type=_content_type,
2514
+ _headers=_headers,
2515
+ _host_index=_host_index
2516
+ )
2517
+
2518
+ _response_types_map: Dict[str, Optional[str]] = {
2519
+ '200': "ApiStatusSetResponses",
2520
+ '400': "ApiBatchError",
2521
+ '401': "ApiV3DbsOrdersNewGet401Response",
2522
+ '403': "ApiBatchError",
2523
+ '429': "ApiV3DbsOrdersNewGet401Response",
2524
+ }
2525
+ response_data = self.api_client.call_api(
2526
+ *_param,
2527
+ _request_timeout=_request_timeout
2528
+ )
2529
+ response_data.read()
2530
+ return self.api_client.response_deserialize(
2531
+ response_data=response_data,
2532
+ response_types_map=_response_types_map,
2533
+ )
2534
+
2535
+
2536
+ @validate_call
2537
+ def api_marketplace_v3_dbs_orders_status_deliver_post_without_preload_content(
2538
+ self,
2539
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
2540
+ _request_timeout: Union[
2541
+ None,
2542
+ Annotated[StrictFloat, Field(gt=0)],
2543
+ Tuple[
2544
+ Annotated[StrictFloat, Field(gt=0)],
2545
+ Annotated[StrictFloat, Field(gt=0)]
2546
+ ]
2547
+ ] = None,
2548
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2549
+ _content_type: Optional[StrictStr] = None,
2550
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2551
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2552
+ ) -> RESTResponseType:
2553
+ """Перевести сборочные задания в доставку
2554
+
2555
+ Метод переводит [сборочные задания](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) из [статуса](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `confirm` в статус `deliver` — в доставке. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
2556
+
2557
+ :param api_orders_request_v2:
2558
+ :type api_orders_request_v2: ApiOrdersRequestV2
2559
+ :param _request_timeout: timeout setting for this request. If one
2560
+ number provided, it will be total request
2561
+ timeout. It can also be a pair (tuple) of
2562
+ (connection, read) timeouts.
2563
+ :type _request_timeout: int, tuple(int, int), optional
2564
+ :param _request_auth: set to override the auth_settings for an a single
2565
+ request; this effectively ignores the
2566
+ authentication in the spec for a single request.
2567
+ :type _request_auth: dict, optional
2568
+ :param _content_type: force content-type for the request.
2569
+ :type _content_type: str, Optional
2570
+ :param _headers: set to override the headers for a single
2571
+ request; this effectively ignores the headers
2572
+ in the spec for a single request.
2573
+ :type _headers: dict, optional
2574
+ :param _host_index: set to override the host_index for a single
2575
+ request; this effectively ignores the host_index
2576
+ in the spec for a single request.
2577
+ :type _host_index: int, optional
2578
+ :return: Returns the result object.
2579
+ """ # noqa: E501
2580
+
2581
+ _param = self._api_marketplace_v3_dbs_orders_status_deliver_post_serialize(
2582
+ api_orders_request_v2=api_orders_request_v2,
2583
+ _request_auth=_request_auth,
2584
+ _content_type=_content_type,
2585
+ _headers=_headers,
2586
+ _host_index=_host_index
2587
+ )
2588
+
2589
+ _response_types_map: Dict[str, Optional[str]] = {
2590
+ '200': "ApiStatusSetResponses",
2591
+ '400': "ApiBatchError",
2592
+ '401': "ApiV3DbsOrdersNewGet401Response",
2593
+ '403': "ApiBatchError",
2594
+ '429': "ApiV3DbsOrdersNewGet401Response",
2595
+ }
2596
+ response_data = self.api_client.call_api(
2597
+ *_param,
2598
+ _request_timeout=_request_timeout
2599
+ )
2600
+ return response_data.response
2601
+
2602
+
2603
+ def _api_marketplace_v3_dbs_orders_status_deliver_post_serialize(
2604
+ self,
2605
+ api_orders_request_v2,
2606
+ _request_auth,
2607
+ _content_type,
2608
+ _headers,
2609
+ _host_index,
2610
+ ) -> RequestSerialized:
2611
+
2612
+ _hosts = [
2613
+ 'https://marketplace-api.wildberries.ru'
2614
+ ]
2615
+ _host = _hosts[_host_index]
2616
+
2617
+ _collection_formats: Dict[str, str] = {
2618
+ }
2619
+
2620
+ _path_params: Dict[str, str] = {}
2621
+ _query_params: List[Tuple[str, str]] = []
2622
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2623
+ _form_params: List[Tuple[str, str]] = []
2624
+ _files: Dict[
2625
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2626
+ ] = {}
2627
+ _body_params: Optional[bytes] = None
2628
+
2629
+ # process the path parameters
2630
+ # process the query parameters
2631
+ # process the header parameters
2632
+ # process the form parameters
2633
+ # process the body parameter
2634
+ if api_orders_request_v2 is not None:
2635
+ _body_params = api_orders_request_v2
2636
+
2637
+
2638
+ # set the HTTP header `Accept`
2639
+ if 'Accept' not in _header_params:
2640
+ _header_params['Accept'] = self.api_client.select_header_accept(
2641
+ [
2642
+ 'application/json'
2643
+ ]
2644
+ )
2645
+
2646
+ # set the HTTP header `Content-Type`
2647
+ if _content_type:
2648
+ _header_params['Content-Type'] = _content_type
2649
+ else:
2650
+ _default_content_type = (
2651
+ self.api_client.select_header_content_type(
2652
+ [
2653
+ 'application/json'
2654
+ ]
2655
+ )
2656
+ )
2657
+ if _default_content_type is not None:
2658
+ _header_params['Content-Type'] = _default_content_type
2659
+
2660
+ # authentication setting
2661
+ _auth_settings: List[str] = [
2662
+ 'HeaderApiKey'
2663
+ ]
2664
+
2665
+ return self.api_client.param_serialize(
2666
+ method='POST',
2667
+ resource_path='/api/marketplace/v3/dbs/orders/status/deliver',
2668
+ path_params=_path_params,
2669
+ query_params=_query_params,
2670
+ header_params=_header_params,
2671
+ body=_body_params,
2672
+ post_params=_form_params,
2673
+ files=_files,
2674
+ auth_settings=_auth_settings,
2675
+ collection_formats=_collection_formats,
2676
+ _host=_host,
2677
+ _request_auth=_request_auth
2678
+ )
2679
+
2680
+
2681
+
2682
+
2683
+ @validate_call
2684
+ def api_marketplace_v3_dbs_orders_status_info_post(
2685
+ self,
2686
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
2687
+ _request_timeout: Union[
2688
+ None,
2689
+ Annotated[StrictFloat, Field(gt=0)],
2690
+ Tuple[
2691
+ Annotated[StrictFloat, Field(gt=0)],
2692
+ Annotated[StrictFloat, Field(gt=0)]
2693
+ ]
2694
+ ] = None,
2695
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2696
+ _content_type: Optional[StrictStr] = None,
2697
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2698
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2699
+ ) -> ApiOrderStatusesV2:
2700
+ """Получить статусы сборочных заданий
2701
+
2702
+ Метод возвращает статусы [сборочных заданий](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) по их ID. <br><br> `supplierStatus` — статус сборочного задания. Триггер его изменения — действие самого продавца. Возможные значения `supplierStatus`: | Статус | Описание | Как перевести сборочное задание в данный статус | | ------- | --------- | --------------------------------------| | `new` | **Новое сборочное задание** | | | `confirm` | **На сборке** | [Перевести сборочное задание на сборку](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1confirm/post) | `deliver` | **В доставке** | [Перевести сборочное задание в доставку](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1deliver/post) | `receive` | **Получено покупателем** | [Сообщить, что заказ принят покупателем](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1receive/post) <br> | `reject` | **Отказ покупателя при получении** | [Сообщить, что покупатель отказался от заказа](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1reject/post) | `cancel` | **Отменено продавцом** | [Отменить сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1cancel/post) | `cancel_missed_call` | **Отмена по причине недозвона** | Статус меняется автоматически | <br><br> `wbStatus` — статус системы Wildberries. Возможные значения `wbStatus`: - `waiting` — сборочное задание в работе - `sold` — заказ получен покупателем - `canceled` — отмена сборочного задания - `canceled_by_client` — покупатель отменил заказ при получении - `declined_by_client` — покупатель отменил заказ в первый чаc <br> Отмена доступна покупателю в первый час с момента заказа, если заказ не переведен на сборку - `defect` — отмена заказа по причине брака - `ready_for_pickup` — сборочное задание прибыло на ПВЗ - `canceled_by_missed_call` — отмена по причине недозвона <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | </div>
2703
+
2704
+ :param api_orders_request_v2:
2705
+ :type api_orders_request_v2: ApiOrdersRequestV2
2706
+ :param _request_timeout: timeout setting for this request. If one
2707
+ number provided, it will be total request
2708
+ timeout. It can also be a pair (tuple) of
2709
+ (connection, read) timeouts.
2710
+ :type _request_timeout: int, tuple(int, int), optional
2711
+ :param _request_auth: set to override the auth_settings for an a single
2712
+ request; this effectively ignores the
2713
+ authentication in the spec for a single request.
2714
+ :type _request_auth: dict, optional
2715
+ :param _content_type: force content-type for the request.
2716
+ :type _content_type: str, Optional
2717
+ :param _headers: set to override the headers for a single
2718
+ request; this effectively ignores the headers
2719
+ in the spec for a single request.
2720
+ :type _headers: dict, optional
2721
+ :param _host_index: set to override the host_index for a single
2722
+ request; this effectively ignores the host_index
2723
+ in the spec for a single request.
2724
+ :type _host_index: int, optional
2725
+ :return: Returns the result object.
2726
+ """ # noqa: E501
2727
+
2728
+ _param = self._api_marketplace_v3_dbs_orders_status_info_post_serialize(
2729
+ api_orders_request_v2=api_orders_request_v2,
2730
+ _request_auth=_request_auth,
2731
+ _content_type=_content_type,
2732
+ _headers=_headers,
2733
+ _host_index=_host_index
2734
+ )
2735
+
2736
+ _response_types_map: Dict[str, Optional[str]] = {
2737
+ '200': "ApiOrderStatusesV2",
2738
+ '400': "ApiBatchError",
2739
+ '401': "ApiV3DbsOrdersNewGet401Response",
2740
+ '403': "ApiBatchError",
2741
+ '404': "ApiBatchError",
2742
+ '429': "ApiV3DbsOrdersNewGet401Response",
2743
+ }
2744
+ response_data = self.api_client.call_api(
2745
+ *_param,
2746
+ _request_timeout=_request_timeout
2747
+ )
2748
+ response_data.read()
2749
+ return self.api_client.response_deserialize(
2750
+ response_data=response_data,
2751
+ response_types_map=_response_types_map,
2752
+ ).data
2753
+
2754
+
2755
+ @validate_call
2756
+ def api_marketplace_v3_dbs_orders_status_info_post_with_http_info(
2757
+ self,
2758
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
2759
+ _request_timeout: Union[
2760
+ None,
2761
+ Annotated[StrictFloat, Field(gt=0)],
2762
+ Tuple[
2763
+ Annotated[StrictFloat, Field(gt=0)],
2764
+ Annotated[StrictFloat, Field(gt=0)]
2765
+ ]
2766
+ ] = None,
2767
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2768
+ _content_type: Optional[StrictStr] = None,
2769
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2770
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2771
+ ) -> ApiResponse[ApiOrderStatusesV2]:
2772
+ """Получить статусы сборочных заданий
2773
+
2774
+ Метод возвращает статусы [сборочных заданий](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) по их ID. <br><br> `supplierStatus` — статус сборочного задания. Триггер его изменения — действие самого продавца. Возможные значения `supplierStatus`: | Статус | Описание | Как перевести сборочное задание в данный статус | | ------- | --------- | --------------------------------------| | `new` | **Новое сборочное задание** | | | `confirm` | **На сборке** | [Перевести сборочное задание на сборку](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1confirm/post) | `deliver` | **В доставке** | [Перевести сборочное задание в доставку](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1deliver/post) | `receive` | **Получено покупателем** | [Сообщить, что заказ принят покупателем](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1receive/post) <br> | `reject` | **Отказ покупателя при получении** | [Сообщить, что покупатель отказался от заказа](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1reject/post) | `cancel` | **Отменено продавцом** | [Отменить сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1cancel/post) | `cancel_missed_call` | **Отмена по причине недозвона** | Статус меняется автоматически | <br><br> `wbStatus` — статус системы Wildberries. Возможные значения `wbStatus`: - `waiting` — сборочное задание в работе - `sold` — заказ получен покупателем - `canceled` — отмена сборочного задания - `canceled_by_client` — покупатель отменил заказ при получении - `declined_by_client` — покупатель отменил заказ в первый чаc <br> Отмена доступна покупателю в первый час с момента заказа, если заказ не переведен на сборку - `defect` — отмена заказа по причине брака - `ready_for_pickup` — сборочное задание прибыло на ПВЗ - `canceled_by_missed_call` — отмена по причине недозвона <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | </div>
2775
+
2776
+ :param api_orders_request_v2:
2777
+ :type api_orders_request_v2: ApiOrdersRequestV2
2778
+ :param _request_timeout: timeout setting for this request. If one
2779
+ number provided, it will be total request
2780
+ timeout. It can also be a pair (tuple) of
2781
+ (connection, read) timeouts.
2782
+ :type _request_timeout: int, tuple(int, int), optional
2783
+ :param _request_auth: set to override the auth_settings for an a single
2784
+ request; this effectively ignores the
2785
+ authentication in the spec for a single request.
2786
+ :type _request_auth: dict, optional
2787
+ :param _content_type: force content-type for the request.
2788
+ :type _content_type: str, Optional
2789
+ :param _headers: set to override the headers for a single
2790
+ request; this effectively ignores the headers
2791
+ in the spec for a single request.
2792
+ :type _headers: dict, optional
2793
+ :param _host_index: set to override the host_index for a single
2794
+ request; this effectively ignores the host_index
2795
+ in the spec for a single request.
2796
+ :type _host_index: int, optional
2797
+ :return: Returns the result object.
2798
+ """ # noqa: E501
2799
+
2800
+ _param = self._api_marketplace_v3_dbs_orders_status_info_post_serialize(
2801
+ api_orders_request_v2=api_orders_request_v2,
2802
+ _request_auth=_request_auth,
2803
+ _content_type=_content_type,
2804
+ _headers=_headers,
2805
+ _host_index=_host_index
2806
+ )
2807
+
2808
+ _response_types_map: Dict[str, Optional[str]] = {
2809
+ '200': "ApiOrderStatusesV2",
2810
+ '400': "ApiBatchError",
2811
+ '401': "ApiV3DbsOrdersNewGet401Response",
2812
+ '403': "ApiBatchError",
2813
+ '404': "ApiBatchError",
2814
+ '429': "ApiV3DbsOrdersNewGet401Response",
2815
+ }
2816
+ response_data = self.api_client.call_api(
2817
+ *_param,
2818
+ _request_timeout=_request_timeout
2819
+ )
2820
+ response_data.read()
2821
+ return self.api_client.response_deserialize(
2822
+ response_data=response_data,
2823
+ response_types_map=_response_types_map,
2824
+ )
2825
+
2826
+
2827
+ @validate_call
2828
+ def api_marketplace_v3_dbs_orders_status_info_post_without_preload_content(
2829
+ self,
2830
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
2831
+ _request_timeout: Union[
2832
+ None,
2833
+ Annotated[StrictFloat, Field(gt=0)],
2834
+ Tuple[
2835
+ Annotated[StrictFloat, Field(gt=0)],
2836
+ Annotated[StrictFloat, Field(gt=0)]
2837
+ ]
2838
+ ] = None,
2839
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2840
+ _content_type: Optional[StrictStr] = None,
2841
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2842
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2843
+ ) -> RESTResponseType:
2844
+ """Получить статусы сборочных заданий
2845
+
2846
+ Метод возвращает статусы [сборочных заданий](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) по их ID. <br><br> `supplierStatus` — статус сборочного задания. Триггер его изменения — действие самого продавца. Возможные значения `supplierStatus`: | Статус | Описание | Как перевести сборочное задание в данный статус | | ------- | --------- | --------------------------------------| | `new` | **Новое сборочное задание** | | | `confirm` | **На сборке** | [Перевести сборочное задание на сборку](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1confirm/post) | `deliver` | **В доставке** | [Перевести сборочное задание в доставку](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1deliver/post) | `receive` | **Получено покупателем** | [Сообщить, что заказ принят покупателем](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1receive/post) <br> | `reject` | **Отказ покупателя при получении** | [Сообщить, что покупатель отказался от заказа](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1reject/post) | `cancel` | **Отменено продавцом** | [Отменить сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1cancel/post) | `cancel_missed_call` | **Отмена по причине недозвона** | Статус меняется автоматически | <br><br> `wbStatus` — статус системы Wildberries. Возможные значения `wbStatus`: - `waiting` — сборочное задание в работе - `sold` — заказ получен покупателем - `canceled` — отмена сборочного задания - `canceled_by_client` — покупатель отменил заказ при получении - `declined_by_client` — покупатель отменил заказ в первый чаc <br> Отмена доступна покупателю в первый час с момента заказа, если заказ не переведен на сборку - `defect` — отмена заказа по причине брака - `ready_for_pickup` — сборочное задание прибыло на ПВЗ - `canceled_by_missed_call` — отмена по причине недозвона <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | </div>
2847
+
2848
+ :param api_orders_request_v2:
2849
+ :type api_orders_request_v2: ApiOrdersRequestV2
2850
+ :param _request_timeout: timeout setting for this request. If one
2851
+ number provided, it will be total request
2852
+ timeout. It can also be a pair (tuple) of
2853
+ (connection, read) timeouts.
2854
+ :type _request_timeout: int, tuple(int, int), optional
2855
+ :param _request_auth: set to override the auth_settings for an a single
2856
+ request; this effectively ignores the
2857
+ authentication in the spec for a single request.
2858
+ :type _request_auth: dict, optional
2859
+ :param _content_type: force content-type for the request.
2860
+ :type _content_type: str, Optional
2861
+ :param _headers: set to override the headers for a single
2862
+ request; this effectively ignores the headers
2863
+ in the spec for a single request.
2864
+ :type _headers: dict, optional
2865
+ :param _host_index: set to override the host_index for a single
2866
+ request; this effectively ignores the host_index
2867
+ in the spec for a single request.
2868
+ :type _host_index: int, optional
2869
+ :return: Returns the result object.
2870
+ """ # noqa: E501
2871
+
2872
+ _param = self._api_marketplace_v3_dbs_orders_status_info_post_serialize(
2873
+ api_orders_request_v2=api_orders_request_v2,
2874
+ _request_auth=_request_auth,
2875
+ _content_type=_content_type,
2876
+ _headers=_headers,
2877
+ _host_index=_host_index
2878
+ )
2879
+
2880
+ _response_types_map: Dict[str, Optional[str]] = {
2881
+ '200': "ApiOrderStatusesV2",
2882
+ '400': "ApiBatchError",
2883
+ '401': "ApiV3DbsOrdersNewGet401Response",
2884
+ '403': "ApiBatchError",
2885
+ '404': "ApiBatchError",
2886
+ '429': "ApiV3DbsOrdersNewGet401Response",
2887
+ }
2888
+ response_data = self.api_client.call_api(
2889
+ *_param,
2890
+ _request_timeout=_request_timeout
2891
+ )
2892
+ return response_data.response
2893
+
2894
+
2895
+ def _api_marketplace_v3_dbs_orders_status_info_post_serialize(
2896
+ self,
2897
+ api_orders_request_v2,
2898
+ _request_auth,
2899
+ _content_type,
2900
+ _headers,
2901
+ _host_index,
2902
+ ) -> RequestSerialized:
2903
+
2904
+ _hosts = [
2905
+ 'https://marketplace-api.wildberries.ru'
2906
+ ]
2907
+ _host = _hosts[_host_index]
2908
+
2909
+ _collection_formats: Dict[str, str] = {
2910
+ }
2911
+
2912
+ _path_params: Dict[str, str] = {}
2913
+ _query_params: List[Tuple[str, str]] = []
2914
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2915
+ _form_params: List[Tuple[str, str]] = []
2916
+ _files: Dict[
2917
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2918
+ ] = {}
2919
+ _body_params: Optional[bytes] = None
2920
+
2921
+ # process the path parameters
2922
+ # process the query parameters
2923
+ # process the header parameters
2924
+ # process the form parameters
2925
+ # process the body parameter
2926
+ if api_orders_request_v2 is not None:
2927
+ _body_params = api_orders_request_v2
2928
+
2929
+
2930
+ # set the HTTP header `Accept`
2931
+ if 'Accept' not in _header_params:
2932
+ _header_params['Accept'] = self.api_client.select_header_accept(
2933
+ [
2934
+ 'application/json'
2935
+ ]
2936
+ )
2937
+
2938
+ # set the HTTP header `Content-Type`
2939
+ if _content_type:
2940
+ _header_params['Content-Type'] = _content_type
2941
+ else:
2942
+ _default_content_type = (
2943
+ self.api_client.select_header_content_type(
2944
+ [
2945
+ 'application/json'
2946
+ ]
2947
+ )
2948
+ )
2949
+ if _default_content_type is not None:
2950
+ _header_params['Content-Type'] = _default_content_type
2951
+
2952
+ # authentication setting
2953
+ _auth_settings: List[str] = [
2954
+ 'HeaderApiKey'
2955
+ ]
2956
+
2957
+ return self.api_client.param_serialize(
2958
+ method='POST',
2959
+ resource_path='/api/marketplace/v3/dbs/orders/status/info',
2960
+ path_params=_path_params,
2961
+ query_params=_query_params,
2962
+ header_params=_header_params,
2963
+ body=_body_params,
2964
+ post_params=_form_params,
2965
+ files=_files,
2966
+ auth_settings=_auth_settings,
2967
+ collection_formats=_collection_formats,
2968
+ _host=_host,
2969
+ _request_auth=_request_auth
2970
+ )
2971
+
2972
+
2973
+
2974
+
2975
+ @validate_call
2976
+ def api_marketplace_v3_dbs_orders_status_receive_post(
2977
+ self,
2978
+ api_orders_code_request: Optional[ApiOrdersCodeRequest] = None,
2979
+ _request_timeout: Union[
2980
+ None,
2981
+ Annotated[StrictFloat, Field(gt=0)],
2982
+ Tuple[
2983
+ Annotated[StrictFloat, Field(gt=0)],
2984
+ Annotated[StrictFloat, Field(gt=0)]
2985
+ ]
2986
+ ] = None,
2987
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2988
+ _content_type: Optional[StrictStr] = None,
2989
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2990
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2991
+ ) -> ApiStatusSetResponses:
2992
+ """Сообщить о получении заказов
2993
+
2994
+ Метод переводит [сборочные задания](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) из [статуса](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `deliver` в статус `receive` — получено покупателем. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
2995
+
2996
+ :param api_orders_code_request:
2997
+ :type api_orders_code_request: ApiOrdersCodeRequest
2998
+ :param _request_timeout: timeout setting for this request. If one
2999
+ number provided, it will be total request
3000
+ timeout. It can also be a pair (tuple) of
3001
+ (connection, read) timeouts.
3002
+ :type _request_timeout: int, tuple(int, int), optional
3003
+ :param _request_auth: set to override the auth_settings for an a single
3004
+ request; this effectively ignores the
3005
+ authentication in the spec for a single request.
3006
+ :type _request_auth: dict, optional
3007
+ :param _content_type: force content-type for the request.
3008
+ :type _content_type: str, Optional
3009
+ :param _headers: set to override the headers for a single
3010
+ request; this effectively ignores the headers
3011
+ in the spec for a single request.
3012
+ :type _headers: dict, optional
3013
+ :param _host_index: set to override the host_index for a single
3014
+ request; this effectively ignores the host_index
3015
+ in the spec for a single request.
3016
+ :type _host_index: int, optional
3017
+ :return: Returns the result object.
3018
+ """ # noqa: E501
3019
+
3020
+ _param = self._api_marketplace_v3_dbs_orders_status_receive_post_serialize(
3021
+ api_orders_code_request=api_orders_code_request,
3022
+ _request_auth=_request_auth,
3023
+ _content_type=_content_type,
3024
+ _headers=_headers,
3025
+ _host_index=_host_index
3026
+ )
3027
+
3028
+ _response_types_map: Dict[str, Optional[str]] = {
3029
+ '200': "ApiStatusSetResponses",
3030
+ '400': "ApiBatchError",
3031
+ '401': "ApiV3DbsOrdersNewGet401Response",
3032
+ '403': "ApiBatchError",
3033
+ '429': "ApiV3DbsOrdersNewGet401Response",
3034
+ }
3035
+ response_data = self.api_client.call_api(
3036
+ *_param,
3037
+ _request_timeout=_request_timeout
3038
+ )
3039
+ response_data.read()
3040
+ return self.api_client.response_deserialize(
3041
+ response_data=response_data,
3042
+ response_types_map=_response_types_map,
3043
+ ).data
3044
+
3045
+
3046
+ @validate_call
3047
+ def api_marketplace_v3_dbs_orders_status_receive_post_with_http_info(
3048
+ self,
3049
+ api_orders_code_request: Optional[ApiOrdersCodeRequest] = None,
3050
+ _request_timeout: Union[
3051
+ None,
3052
+ Annotated[StrictFloat, Field(gt=0)],
3053
+ Tuple[
3054
+ Annotated[StrictFloat, Field(gt=0)],
3055
+ Annotated[StrictFloat, Field(gt=0)]
3056
+ ]
3057
+ ] = None,
3058
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3059
+ _content_type: Optional[StrictStr] = None,
3060
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3061
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3062
+ ) -> ApiResponse[ApiStatusSetResponses]:
3063
+ """Сообщить о получении заказов
3064
+
3065
+ Метод переводит [сборочные задания](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) из [статуса](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `deliver` в статус `receive` — получено покупателем. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
3066
+
3067
+ :param api_orders_code_request:
3068
+ :type api_orders_code_request: ApiOrdersCodeRequest
3069
+ :param _request_timeout: timeout setting for this request. If one
3070
+ number provided, it will be total request
3071
+ timeout. It can also be a pair (tuple) of
3072
+ (connection, read) timeouts.
3073
+ :type _request_timeout: int, tuple(int, int), optional
3074
+ :param _request_auth: set to override the auth_settings for an a single
3075
+ request; this effectively ignores the
3076
+ authentication in the spec for a single request.
3077
+ :type _request_auth: dict, optional
3078
+ :param _content_type: force content-type for the request.
3079
+ :type _content_type: str, Optional
3080
+ :param _headers: set to override the headers for a single
3081
+ request; this effectively ignores the headers
3082
+ in the spec for a single request.
3083
+ :type _headers: dict, optional
3084
+ :param _host_index: set to override the host_index for a single
3085
+ request; this effectively ignores the host_index
3086
+ in the spec for a single request.
3087
+ :type _host_index: int, optional
3088
+ :return: Returns the result object.
3089
+ """ # noqa: E501
3090
+
3091
+ _param = self._api_marketplace_v3_dbs_orders_status_receive_post_serialize(
3092
+ api_orders_code_request=api_orders_code_request,
3093
+ _request_auth=_request_auth,
3094
+ _content_type=_content_type,
3095
+ _headers=_headers,
3096
+ _host_index=_host_index
3097
+ )
3098
+
3099
+ _response_types_map: Dict[str, Optional[str]] = {
3100
+ '200': "ApiStatusSetResponses",
3101
+ '400': "ApiBatchError",
3102
+ '401': "ApiV3DbsOrdersNewGet401Response",
3103
+ '403': "ApiBatchError",
3104
+ '429': "ApiV3DbsOrdersNewGet401Response",
3105
+ }
3106
+ response_data = self.api_client.call_api(
3107
+ *_param,
3108
+ _request_timeout=_request_timeout
3109
+ )
3110
+ response_data.read()
3111
+ return self.api_client.response_deserialize(
3112
+ response_data=response_data,
3113
+ response_types_map=_response_types_map,
3114
+ )
3115
+
3116
+
3117
+ @validate_call
3118
+ def api_marketplace_v3_dbs_orders_status_receive_post_without_preload_content(
3119
+ self,
3120
+ api_orders_code_request: Optional[ApiOrdersCodeRequest] = None,
3121
+ _request_timeout: Union[
3122
+ None,
3123
+ Annotated[StrictFloat, Field(gt=0)],
3124
+ Tuple[
3125
+ Annotated[StrictFloat, Field(gt=0)],
3126
+ Annotated[StrictFloat, Field(gt=0)]
3127
+ ]
3128
+ ] = None,
3129
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3130
+ _content_type: Optional[StrictStr] = None,
3131
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3132
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3133
+ ) -> RESTResponseType:
3134
+ """Сообщить о получении заказов
3135
+
3136
+ Метод переводит [сборочные задания](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) из [статуса](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `deliver` в статус `receive` — получено покупателем. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
3137
+
3138
+ :param api_orders_code_request:
3139
+ :type api_orders_code_request: ApiOrdersCodeRequest
3140
+ :param _request_timeout: timeout setting for this request. If one
3141
+ number provided, it will be total request
3142
+ timeout. It can also be a pair (tuple) of
3143
+ (connection, read) timeouts.
3144
+ :type _request_timeout: int, tuple(int, int), optional
3145
+ :param _request_auth: set to override the auth_settings for an a single
3146
+ request; this effectively ignores the
3147
+ authentication in the spec for a single request.
3148
+ :type _request_auth: dict, optional
3149
+ :param _content_type: force content-type for the request.
3150
+ :type _content_type: str, Optional
3151
+ :param _headers: set to override the headers for a single
3152
+ request; this effectively ignores the headers
3153
+ in the spec for a single request.
3154
+ :type _headers: dict, optional
3155
+ :param _host_index: set to override the host_index for a single
3156
+ request; this effectively ignores the host_index
3157
+ in the spec for a single request.
3158
+ :type _host_index: int, optional
3159
+ :return: Returns the result object.
3160
+ """ # noqa: E501
3161
+
3162
+ _param = self._api_marketplace_v3_dbs_orders_status_receive_post_serialize(
3163
+ api_orders_code_request=api_orders_code_request,
3164
+ _request_auth=_request_auth,
3165
+ _content_type=_content_type,
3166
+ _headers=_headers,
3167
+ _host_index=_host_index
3168
+ )
3169
+
3170
+ _response_types_map: Dict[str, Optional[str]] = {
3171
+ '200': "ApiStatusSetResponses",
3172
+ '400': "ApiBatchError",
3173
+ '401': "ApiV3DbsOrdersNewGet401Response",
3174
+ '403': "ApiBatchError",
3175
+ '429': "ApiV3DbsOrdersNewGet401Response",
3176
+ }
3177
+ response_data = self.api_client.call_api(
3178
+ *_param,
3179
+ _request_timeout=_request_timeout
3180
+ )
3181
+ return response_data.response
3182
+
3183
+
3184
+ def _api_marketplace_v3_dbs_orders_status_receive_post_serialize(
3185
+ self,
3186
+ api_orders_code_request,
3187
+ _request_auth,
3188
+ _content_type,
3189
+ _headers,
3190
+ _host_index,
3191
+ ) -> RequestSerialized:
3192
+
3193
+ _hosts = [
3194
+ 'https://marketplace-api.wildberries.ru'
3195
+ ]
3196
+ _host = _hosts[_host_index]
3197
+
3198
+ _collection_formats: Dict[str, str] = {
3199
+ }
3200
+
3201
+ _path_params: Dict[str, str] = {}
3202
+ _query_params: List[Tuple[str, str]] = []
3203
+ _header_params: Dict[str, Optional[str]] = _headers or {}
3204
+ _form_params: List[Tuple[str, str]] = []
3205
+ _files: Dict[
3206
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3207
+ ] = {}
3208
+ _body_params: Optional[bytes] = None
3209
+
3210
+ # process the path parameters
3211
+ # process the query parameters
3212
+ # process the header parameters
3213
+ # process the form parameters
3214
+ # process the body parameter
3215
+ if api_orders_code_request is not None:
3216
+ _body_params = api_orders_code_request
3217
+
3218
+
3219
+ # set the HTTP header `Accept`
3220
+ if 'Accept' not in _header_params:
3221
+ _header_params['Accept'] = self.api_client.select_header_accept(
3222
+ [
3223
+ 'application/json'
3224
+ ]
3225
+ )
3226
+
3227
+ # set the HTTP header `Content-Type`
3228
+ if _content_type:
3229
+ _header_params['Content-Type'] = _content_type
3230
+ else:
3231
+ _default_content_type = (
3232
+ self.api_client.select_header_content_type(
3233
+ [
3234
+ 'application/json'
3235
+ ]
3236
+ )
3237
+ )
3238
+ if _default_content_type is not None:
3239
+ _header_params['Content-Type'] = _default_content_type
3240
+
3241
+ # authentication setting
3242
+ _auth_settings: List[str] = [
3243
+ 'HeaderApiKey'
3244
+ ]
3245
+
3246
+ return self.api_client.param_serialize(
3247
+ method='POST',
3248
+ resource_path='/api/marketplace/v3/dbs/orders/status/receive',
3249
+ path_params=_path_params,
3250
+ query_params=_query_params,
3251
+ header_params=_header_params,
3252
+ body=_body_params,
3253
+ post_params=_form_params,
3254
+ files=_files,
3255
+ auth_settings=_auth_settings,
3256
+ collection_formats=_collection_formats,
3257
+ _host=_host,
3258
+ _request_auth=_request_auth
3259
+ )
3260
+
3261
+
3262
+
3263
+
3264
+ @validate_call
3265
+ def api_marketplace_v3_dbs_orders_status_reject_post(
3266
+ self,
3267
+ api_orders_code_request: Optional[ApiOrdersCodeRequest] = None,
3268
+ _request_timeout: Union[
3269
+ None,
3270
+ Annotated[StrictFloat, Field(gt=0)],
3271
+ Tuple[
3272
+ Annotated[StrictFloat, Field(gt=0)],
3273
+ Annotated[StrictFloat, Field(gt=0)]
3274
+ ]
3275
+ ] = None,
3276
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3277
+ _content_type: Optional[StrictStr] = None,
3278
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3279
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3280
+ ) -> ApiStatusSetResponses:
3281
+ """Сообщить об отказе от заказов
3282
+
3283
+ Метод переводит [сборочные задания](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) из [статуса](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `deliver` в статус `reject` — отказ покупателя при получении. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
3284
+
3285
+ :param api_orders_code_request:
3286
+ :type api_orders_code_request: ApiOrdersCodeRequest
3287
+ :param _request_timeout: timeout setting for this request. If one
3288
+ number provided, it will be total request
3289
+ timeout. It can also be a pair (tuple) of
3290
+ (connection, read) timeouts.
3291
+ :type _request_timeout: int, tuple(int, int), optional
3292
+ :param _request_auth: set to override the auth_settings for an a single
3293
+ request; this effectively ignores the
3294
+ authentication in the spec for a single request.
3295
+ :type _request_auth: dict, optional
3296
+ :param _content_type: force content-type for the request.
3297
+ :type _content_type: str, Optional
3298
+ :param _headers: set to override the headers for a single
3299
+ request; this effectively ignores the headers
3300
+ in the spec for a single request.
3301
+ :type _headers: dict, optional
3302
+ :param _host_index: set to override the host_index for a single
3303
+ request; this effectively ignores the host_index
3304
+ in the spec for a single request.
3305
+ :type _host_index: int, optional
3306
+ :return: Returns the result object.
3307
+ """ # noqa: E501
3308
+
3309
+ _param = self._api_marketplace_v3_dbs_orders_status_reject_post_serialize(
3310
+ api_orders_code_request=api_orders_code_request,
3311
+ _request_auth=_request_auth,
3312
+ _content_type=_content_type,
3313
+ _headers=_headers,
3314
+ _host_index=_host_index
3315
+ )
3316
+
3317
+ _response_types_map: Dict[str, Optional[str]] = {
3318
+ '200': "ApiStatusSetResponses",
3319
+ '400': "ApiBatchError",
3320
+ '401': "ApiV3DbsOrdersNewGet401Response",
3321
+ '403': "ApiBatchError",
3322
+ '429': "ApiV3DbsOrdersNewGet401Response",
3323
+ }
3324
+ response_data = self.api_client.call_api(
3325
+ *_param,
3326
+ _request_timeout=_request_timeout
3327
+ )
3328
+ response_data.read()
3329
+ return self.api_client.response_deserialize(
3330
+ response_data=response_data,
3331
+ response_types_map=_response_types_map,
3332
+ ).data
3333
+
3334
+
3335
+ @validate_call
3336
+ def api_marketplace_v3_dbs_orders_status_reject_post_with_http_info(
3337
+ self,
3338
+ api_orders_code_request: Optional[ApiOrdersCodeRequest] = None,
3339
+ _request_timeout: Union[
3340
+ None,
3341
+ Annotated[StrictFloat, Field(gt=0)],
3342
+ Tuple[
3343
+ Annotated[StrictFloat, Field(gt=0)],
3344
+ Annotated[StrictFloat, Field(gt=0)]
3345
+ ]
3346
+ ] = None,
3347
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3348
+ _content_type: Optional[StrictStr] = None,
3349
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3350
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3351
+ ) -> ApiResponse[ApiStatusSetResponses]:
3352
+ """Сообщить об отказе от заказов
3353
+
3354
+ Метод переводит [сборочные задания](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) из [статуса](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `deliver` в статус `reject` — отказ покупателя при получении. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
3355
+
3356
+ :param api_orders_code_request:
3357
+ :type api_orders_code_request: ApiOrdersCodeRequest
3358
+ :param _request_timeout: timeout setting for this request. If one
3359
+ number provided, it will be total request
3360
+ timeout. It can also be a pair (tuple) of
3361
+ (connection, read) timeouts.
3362
+ :type _request_timeout: int, tuple(int, int), optional
3363
+ :param _request_auth: set to override the auth_settings for an a single
3364
+ request; this effectively ignores the
3365
+ authentication in the spec for a single request.
3366
+ :type _request_auth: dict, optional
3367
+ :param _content_type: force content-type for the request.
3368
+ :type _content_type: str, Optional
3369
+ :param _headers: set to override the headers for a single
3370
+ request; this effectively ignores the headers
3371
+ in the spec for a single request.
3372
+ :type _headers: dict, optional
3373
+ :param _host_index: set to override the host_index for a single
3374
+ request; this effectively ignores the host_index
3375
+ in the spec for a single request.
3376
+ :type _host_index: int, optional
3377
+ :return: Returns the result object.
3378
+ """ # noqa: E501
3379
+
3380
+ _param = self._api_marketplace_v3_dbs_orders_status_reject_post_serialize(
3381
+ api_orders_code_request=api_orders_code_request,
3382
+ _request_auth=_request_auth,
3383
+ _content_type=_content_type,
3384
+ _headers=_headers,
3385
+ _host_index=_host_index
3386
+ )
3387
+
3388
+ _response_types_map: Dict[str, Optional[str]] = {
3389
+ '200': "ApiStatusSetResponses",
3390
+ '400': "ApiBatchError",
3391
+ '401': "ApiV3DbsOrdersNewGet401Response",
3392
+ '403': "ApiBatchError",
3393
+ '429': "ApiV3DbsOrdersNewGet401Response",
3394
+ }
3395
+ response_data = self.api_client.call_api(
3396
+ *_param,
3397
+ _request_timeout=_request_timeout
3398
+ )
3399
+ response_data.read()
3400
+ return self.api_client.response_deserialize(
3401
+ response_data=response_data,
3402
+ response_types_map=_response_types_map,
3403
+ )
3404
+
3405
+
3406
+ @validate_call
3407
+ def api_marketplace_v3_dbs_orders_status_reject_post_without_preload_content(
3408
+ self,
3409
+ api_orders_code_request: Optional[ApiOrdersCodeRequest] = None,
3410
+ _request_timeout: Union[
3411
+ None,
3412
+ Annotated[StrictFloat, Field(gt=0)],
3413
+ Tuple[
3414
+ Annotated[StrictFloat, Field(gt=0)],
3415
+ Annotated[StrictFloat, Field(gt=0)]
3416
+ ]
3417
+ ] = None,
3418
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3419
+ _content_type: Optional[StrictStr] = None,
3420
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3421
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3422
+ ) -> RESTResponseType:
3423
+ """Сообщить об отказе от заказов
3424
+
3425
+ Метод переводит [сборочные задания](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) из [статуса](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1status~1info/post) `deliver` в статус `reject` — отказ покупателя при получении. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
3426
+
3427
+ :param api_orders_code_request:
3428
+ :type api_orders_code_request: ApiOrdersCodeRequest
3429
+ :param _request_timeout: timeout setting for this request. If one
3430
+ number provided, it will be total request
3431
+ timeout. It can also be a pair (tuple) of
3432
+ (connection, read) timeouts.
3433
+ :type _request_timeout: int, tuple(int, int), optional
3434
+ :param _request_auth: set to override the auth_settings for an a single
3435
+ request; this effectively ignores the
3436
+ authentication in the spec for a single request.
3437
+ :type _request_auth: dict, optional
3438
+ :param _content_type: force content-type for the request.
3439
+ :type _content_type: str, Optional
3440
+ :param _headers: set to override the headers for a single
3441
+ request; this effectively ignores the headers
3442
+ in the spec for a single request.
3443
+ :type _headers: dict, optional
3444
+ :param _host_index: set to override the host_index for a single
3445
+ request; this effectively ignores the host_index
3446
+ in the spec for a single request.
3447
+ :type _host_index: int, optional
3448
+ :return: Returns the result object.
3449
+ """ # noqa: E501
3450
+
3451
+ _param = self._api_marketplace_v3_dbs_orders_status_reject_post_serialize(
3452
+ api_orders_code_request=api_orders_code_request,
3453
+ _request_auth=_request_auth,
3454
+ _content_type=_content_type,
3455
+ _headers=_headers,
3456
+ _host_index=_host_index
3457
+ )
3458
+
3459
+ _response_types_map: Dict[str, Optional[str]] = {
3460
+ '200': "ApiStatusSetResponses",
3461
+ '400': "ApiBatchError",
3462
+ '401': "ApiV3DbsOrdersNewGet401Response",
3463
+ '403': "ApiBatchError",
3464
+ '429': "ApiV3DbsOrdersNewGet401Response",
3465
+ }
3466
+ response_data = self.api_client.call_api(
3467
+ *_param,
3468
+ _request_timeout=_request_timeout
3469
+ )
3470
+ return response_data.response
3471
+
3472
+
3473
+ def _api_marketplace_v3_dbs_orders_status_reject_post_serialize(
3474
+ self,
3475
+ api_orders_code_request,
3476
+ _request_auth,
3477
+ _content_type,
3478
+ _headers,
3479
+ _host_index,
3480
+ ) -> RequestSerialized:
3481
+
3482
+ _hosts = [
3483
+ 'https://marketplace-api.wildberries.ru'
3484
+ ]
3485
+ _host = _hosts[_host_index]
3486
+
3487
+ _collection_formats: Dict[str, str] = {
3488
+ }
3489
+
3490
+ _path_params: Dict[str, str] = {}
3491
+ _query_params: List[Tuple[str, str]] = []
3492
+ _header_params: Dict[str, Optional[str]] = _headers or {}
3493
+ _form_params: List[Tuple[str, str]] = []
3494
+ _files: Dict[
3495
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3496
+ ] = {}
3497
+ _body_params: Optional[bytes] = None
3498
+
3499
+ # process the path parameters
3500
+ # process the query parameters
3501
+ # process the header parameters
3502
+ # process the form parameters
3503
+ # process the body parameter
3504
+ if api_orders_code_request is not None:
3505
+ _body_params = api_orders_code_request
3506
+
3507
+
3508
+ # set the HTTP header `Accept`
3509
+ if 'Accept' not in _header_params:
3510
+ _header_params['Accept'] = self.api_client.select_header_accept(
3511
+ [
3512
+ 'application/json'
3513
+ ]
3514
+ )
3515
+
3516
+ # set the HTTP header `Content-Type`
3517
+ if _content_type:
3518
+ _header_params['Content-Type'] = _content_type
3519
+ else:
3520
+ _default_content_type = (
3521
+ self.api_client.select_header_content_type(
3522
+ [
3523
+ 'application/json'
3524
+ ]
3525
+ )
3526
+ )
3527
+ if _default_content_type is not None:
3528
+ _header_params['Content-Type'] = _default_content_type
3529
+
3530
+ # authentication setting
3531
+ _auth_settings: List[str] = [
3532
+ 'HeaderApiKey'
3533
+ ]
3534
+
3535
+ return self.api_client.param_serialize(
3536
+ method='POST',
3537
+ resource_path='/api/marketplace/v3/dbs/orders/status/reject',
3538
+ path_params=_path_params,
3539
+ query_params=_query_params,
3540
+ header_params=_header_params,
3541
+ body=_body_params,
3542
+ post_params=_form_params,
3543
+ files=_files,
3544
+ auth_settings=_auth_settings,
3545
+ collection_formats=_collection_formats,
3546
+ _host=_host,
3547
+ _request_auth=_request_auth
3548
+ )
3549
+
3550
+
3551
+
3552
+
57
3553
  @validate_call
58
3554
  def api_v3_dbs_groups_info_post(
59
3555
  self,
@@ -1528,9 +5024,9 @@ class DefaultApi:
1528
5024
  _headers: Optional[Dict[StrictStr, Any]] = None,
1529
5025
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1530
5026
  ) -> None:
1531
- """Отменить сборочное задание
5027
+ """(Deprecated) Отменить сборочное задание
1532
5028
 
1533
- Метод отменяет [сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) и переводит в [статус](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `cancel` — отменено продавцом. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
5029
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
1534
5030
 
1535
5031
  :param order_id: ID сборочного задания (required)
1536
5032
  :type order_id: int
@@ -1555,6 +5051,7 @@ class DefaultApi:
1555
5051
  :type _host_index: int, optional
1556
5052
  :return: Returns the result object.
1557
5053
  """ # noqa: E501
5054
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/cancel is deprecated.", DeprecationWarning)
1558
5055
 
1559
5056
  _param = self._api_v3_dbs_orders_order_id_cancel_patch_serialize(
1560
5057
  order_id=order_id,
@@ -1601,9 +5098,9 @@ class DefaultApi:
1601
5098
  _headers: Optional[Dict[StrictStr, Any]] = None,
1602
5099
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1603
5100
  ) -> ApiResponse[None]:
1604
- """Отменить сборочное задание
5101
+ """(Deprecated) Отменить сборочное задание
1605
5102
 
1606
- Метод отменяет [сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) и переводит в [статус](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `cancel` — отменено продавцом. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
5103
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
1607
5104
 
1608
5105
  :param order_id: ID сборочного задания (required)
1609
5106
  :type order_id: int
@@ -1628,6 +5125,7 @@ class DefaultApi:
1628
5125
  :type _host_index: int, optional
1629
5126
  :return: Returns the result object.
1630
5127
  """ # noqa: E501
5128
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/cancel is deprecated.", DeprecationWarning)
1631
5129
 
1632
5130
  _param = self._api_v3_dbs_orders_order_id_cancel_patch_serialize(
1633
5131
  order_id=order_id,
@@ -1674,9 +5172,9 @@ class DefaultApi:
1674
5172
  _headers: Optional[Dict[StrictStr, Any]] = None,
1675
5173
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1676
5174
  ) -> RESTResponseType:
1677
- """Отменить сборочное задание
5175
+ """(Deprecated) Отменить сборочное задание
1678
5176
 
1679
- Метод отменяет [сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) и переводит в [статус](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `cancel` — отменено продавцом. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
5177
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
1680
5178
 
1681
5179
  :param order_id: ID сборочного задания (required)
1682
5180
  :type order_id: int
@@ -1701,6 +5199,7 @@ class DefaultApi:
1701
5199
  :type _host_index: int, optional
1702
5200
  :return: Returns the result object.
1703
5201
  """ # noqa: E501
5202
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/cancel is deprecated.", DeprecationWarning)
1704
5203
 
1705
5204
  _param = self._api_v3_dbs_orders_order_id_cancel_patch_serialize(
1706
5205
  order_id=order_id,
@@ -1810,9 +5309,9 @@ class DefaultApi:
1810
5309
  _headers: Optional[Dict[StrictStr, Any]] = None,
1811
5310
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1812
5311
  ) -> None:
1813
- """Перевести на сборку
5312
+ """(Deprecated) Перевести на сборку
1814
5313
 
1815
- Метод переводит [сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) в [статус](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `confirm` — на сборке. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
5314
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
1816
5315
 
1817
5316
  :param order_id: ID сборочного задания (required)
1818
5317
  :type order_id: int
@@ -1837,6 +5336,7 @@ class DefaultApi:
1837
5336
  :type _host_index: int, optional
1838
5337
  :return: Returns the result object.
1839
5338
  """ # noqa: E501
5339
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/confirm is deprecated.", DeprecationWarning)
1840
5340
 
1841
5341
  _param = self._api_v3_dbs_orders_order_id_confirm_patch_serialize(
1842
5342
  order_id=order_id,
@@ -1883,9 +5383,9 @@ class DefaultApi:
1883
5383
  _headers: Optional[Dict[StrictStr, Any]] = None,
1884
5384
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1885
5385
  ) -> ApiResponse[None]:
1886
- """Перевести на сборку
5386
+ """(Deprecated) Перевести на сборку
1887
5387
 
1888
- Метод переводит [сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) в [статус](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `confirm` — на сборке. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
5388
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
1889
5389
 
1890
5390
  :param order_id: ID сборочного задания (required)
1891
5391
  :type order_id: int
@@ -1910,6 +5410,7 @@ class DefaultApi:
1910
5410
  :type _host_index: int, optional
1911
5411
  :return: Returns the result object.
1912
5412
  """ # noqa: E501
5413
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/confirm is deprecated.", DeprecationWarning)
1913
5414
 
1914
5415
  _param = self._api_v3_dbs_orders_order_id_confirm_patch_serialize(
1915
5416
  order_id=order_id,
@@ -1956,9 +5457,9 @@ class DefaultApi:
1956
5457
  _headers: Optional[Dict[StrictStr, Any]] = None,
1957
5458
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1958
5459
  ) -> RESTResponseType:
1959
- """Перевести на сборку
5460
+ """(Deprecated) Перевести на сборку
1960
5461
 
1961
- Метод переводит [сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) в [статус](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `confirm` — на сборке. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
5462
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
1962
5463
 
1963
5464
  :param order_id: ID сборочного задания (required)
1964
5465
  :type order_id: int
@@ -1983,6 +5484,7 @@ class DefaultApi:
1983
5484
  :type _host_index: int, optional
1984
5485
  :return: Returns the result object.
1985
5486
  """ # noqa: E501
5487
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/confirm is deprecated.", DeprecationWarning)
1986
5488
 
1987
5489
  _param = self._api_v3_dbs_orders_order_id_confirm_patch_serialize(
1988
5490
  order_id=order_id,
@@ -2092,9 +5594,9 @@ class DefaultApi:
2092
5594
  _headers: Optional[Dict[StrictStr, Any]] = None,
2093
5595
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2094
5596
  ) -> None:
2095
- """Перевести в доставку
5597
+ """(Deprecated) Перевести в доставку
2096
5598
 
2097
- Метод переводит [сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) в [статус](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `deliver` — в доставке. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
5599
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2098
5600
 
2099
5601
  :param order_id: ID сборочного задания (required)
2100
5602
  :type order_id: int
@@ -2119,6 +5621,7 @@ class DefaultApi:
2119
5621
  :type _host_index: int, optional
2120
5622
  :return: Returns the result object.
2121
5623
  """ # noqa: E501
5624
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/deliver is deprecated.", DeprecationWarning)
2122
5625
 
2123
5626
  _param = self._api_v3_dbs_orders_order_id_deliver_patch_serialize(
2124
5627
  order_id=order_id,
@@ -2165,9 +5668,9 @@ class DefaultApi:
2165
5668
  _headers: Optional[Dict[StrictStr, Any]] = None,
2166
5669
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2167
5670
  ) -> ApiResponse[None]:
2168
- """Перевести в доставку
5671
+ """(Deprecated) Перевести в доставку
2169
5672
 
2170
- Метод переводит [сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) в [статус](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `deliver` — в доставке. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
5673
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2171
5674
 
2172
5675
  :param order_id: ID сборочного задания (required)
2173
5676
  :type order_id: int
@@ -2192,6 +5695,7 @@ class DefaultApi:
2192
5695
  :type _host_index: int, optional
2193
5696
  :return: Returns the result object.
2194
5697
  """ # noqa: E501
5698
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/deliver is deprecated.", DeprecationWarning)
2195
5699
 
2196
5700
  _param = self._api_v3_dbs_orders_order_id_deliver_patch_serialize(
2197
5701
  order_id=order_id,
@@ -2238,9 +5742,9 @@ class DefaultApi:
2238
5742
  _headers: Optional[Dict[StrictStr, Any]] = None,
2239
5743
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2240
5744
  ) -> RESTResponseType:
2241
- """Перевести в доставку
5745
+ """(Deprecated) Перевести в доставку
2242
5746
 
2243
- Метод переводит [сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) в [статус](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `deliver` — в доставке. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
5747
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2244
5748
 
2245
5749
  :param order_id: ID сборочного задания (required)
2246
5750
  :type order_id: int
@@ -2265,6 +5769,7 @@ class DefaultApi:
2265
5769
  :type _host_index: int, optional
2266
5770
  :return: Returns the result object.
2267
5771
  """ # noqa: E501
5772
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/deliver is deprecated.", DeprecationWarning)
2268
5773
 
2269
5774
  _param = self._api_v3_dbs_orders_order_id_deliver_patch_serialize(
2270
5775
  order_id=order_id,
@@ -2361,7 +5866,7 @@ class DefaultApi:
2361
5866
  def api_v3_dbs_orders_order_id_meta_delete(
2362
5867
  self,
2363
5868
  order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
2364
- key: Annotated[Optional[StrictStr], Field(description="Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передается только одно значение.")] = None,
5869
+ key: Annotated[Optional[StrictStr], Field(description="Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передаётся только одно значение")] = None,
2365
5870
  _request_timeout: Union[
2366
5871
  None,
2367
5872
  Annotated[StrictFloat, Field(gt=0)],
@@ -2375,13 +5880,13 @@ class DefaultApi:
2375
5880
  _headers: Optional[Dict[StrictStr, Any]] = None,
2376
5881
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2377
5882
  ) -> None:
2378
- """Удалить метаданные сборочного задания
5883
+ """(Deprecated) Удалить метаданные сборочного задания
2379
5884
 
2380
- Метод удаляет значение [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta/get) для переданного ключа. <br><br> Возможные метаданные: - `imei` — [IMEI](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1imei/put) - `uin` — [УИН](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1uin/put) - `gtin` — [GTIN](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1gtin/put) - `sgtin` — [код маркировки](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1sgtin/put) Можно передать только один ключ. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>получения и удаления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
5885
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2381
5886
 
2382
5887
  :param order_id: ID сборочного задания (required)
2383
5888
  :type order_id: int
2384
- :param key: Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передается только одно значение.
5889
+ :param key: Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передаётся только одно значение
2385
5890
  :type key: str
2386
5891
  :param _request_timeout: timeout setting for this request. If one
2387
5892
  number provided, it will be total request
@@ -2404,6 +5909,7 @@ class DefaultApi:
2404
5909
  :type _host_index: int, optional
2405
5910
  :return: Returns the result object.
2406
5911
  """ # noqa: E501
5912
+ warnings.warn("DELETE /api/v3/dbs/orders/{orderId}/meta is deprecated.", DeprecationWarning)
2407
5913
 
2408
5914
  _param = self._api_v3_dbs_orders_order_id_meta_delete_serialize(
2409
5915
  order_id=order_id,
@@ -2437,7 +5943,7 @@ class DefaultApi:
2437
5943
  def api_v3_dbs_orders_order_id_meta_delete_with_http_info(
2438
5944
  self,
2439
5945
  order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
2440
- key: Annotated[Optional[StrictStr], Field(description="Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передается только одно значение.")] = None,
5946
+ key: Annotated[Optional[StrictStr], Field(description="Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передаётся только одно значение")] = None,
2441
5947
  _request_timeout: Union[
2442
5948
  None,
2443
5949
  Annotated[StrictFloat, Field(gt=0)],
@@ -2451,13 +5957,13 @@ class DefaultApi:
2451
5957
  _headers: Optional[Dict[StrictStr, Any]] = None,
2452
5958
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2453
5959
  ) -> ApiResponse[None]:
2454
- """Удалить метаданные сборочного задания
5960
+ """(Deprecated) Удалить метаданные сборочного задания
2455
5961
 
2456
- Метод удаляет значение [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta/get) для переданного ключа. <br><br> Возможные метаданные: - `imei` — [IMEI](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1imei/put) - `uin` — [УИН](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1uin/put) - `gtin` — [GTIN](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1gtin/put) - `sgtin` — [код маркировки](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1sgtin/put) Можно передать только один ключ. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>получения и удаления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
5962
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2457
5963
 
2458
5964
  :param order_id: ID сборочного задания (required)
2459
5965
  :type order_id: int
2460
- :param key: Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передается только одно значение.
5966
+ :param key: Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передаётся только одно значение
2461
5967
  :type key: str
2462
5968
  :param _request_timeout: timeout setting for this request. If one
2463
5969
  number provided, it will be total request
@@ -2480,6 +5986,7 @@ class DefaultApi:
2480
5986
  :type _host_index: int, optional
2481
5987
  :return: Returns the result object.
2482
5988
  """ # noqa: E501
5989
+ warnings.warn("DELETE /api/v3/dbs/orders/{orderId}/meta is deprecated.", DeprecationWarning)
2483
5990
 
2484
5991
  _param = self._api_v3_dbs_orders_order_id_meta_delete_serialize(
2485
5992
  order_id=order_id,
@@ -2513,7 +6020,7 @@ class DefaultApi:
2513
6020
  def api_v3_dbs_orders_order_id_meta_delete_without_preload_content(
2514
6021
  self,
2515
6022
  order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
2516
- key: Annotated[Optional[StrictStr], Field(description="Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передается только одно значение.")] = None,
6023
+ key: Annotated[Optional[StrictStr], Field(description="Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передаётся только одно значение")] = None,
2517
6024
  _request_timeout: Union[
2518
6025
  None,
2519
6026
  Annotated[StrictFloat, Field(gt=0)],
@@ -2527,13 +6034,13 @@ class DefaultApi:
2527
6034
  _headers: Optional[Dict[StrictStr, Any]] = None,
2528
6035
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2529
6036
  ) -> RESTResponseType:
2530
- """Удалить метаданные сборочного задания
6037
+ """(Deprecated) Удалить метаданные сборочного задания
2531
6038
 
2532
- Метод удаляет значение [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta/get) для переданного ключа. <br><br> Возможные метаданные: - `imei` — [IMEI](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1imei/put) - `uin` — [УИН](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1uin/put) - `gtin` — [GTIN](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1gtin/put) - `sgtin` — [код маркировки](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1sgtin/put) Можно передать только один ключ. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>получения и удаления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
6039
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2533
6040
 
2534
6041
  :param order_id: ID сборочного задания (required)
2535
6042
  :type order_id: int
2536
- :param key: Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передается только одно значение.
6043
+ :param key: Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передаётся только одно значение
2537
6044
  :type key: str
2538
6045
  :param _request_timeout: timeout setting for this request. If one
2539
6046
  number provided, it will be total request
@@ -2556,6 +6063,7 @@ class DefaultApi:
2556
6063
  :type _host_index: int, optional
2557
6064
  :return: Returns the result object.
2558
6065
  """ # noqa: E501
6066
+ warnings.warn("DELETE /api/v3/dbs/orders/{orderId}/meta is deprecated.", DeprecationWarning)
2559
6067
 
2560
6068
  _param = self._api_v3_dbs_orders_order_id_meta_delete_serialize(
2561
6069
  order_id=order_id,
@@ -2670,9 +6178,9 @@ class DefaultApi:
2670
6178
  _headers: Optional[Dict[StrictStr, Any]] = None,
2671
6179
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2672
6180
  ) -> ApiV3DbsOrdersOrderIdMetaGet200Response:
2673
- """Получить метаданные сборочного задания
6181
+ """(Deprecated) Получить метаданные сборочного задания
2674
6182
 
2675
- Метод возвращает метаданные [сборочного задания](/openapi/orders-dbw#tag/Sborochnye-zadaniya-DBW/paths/~1api~1v3~1dbw~1orders/get). <br><br> Перечень метаданных, доступных для сборочного задания, можно получить в [списке новых сборочных заданий](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1new/get), поле `requiredMeta`. <br><br> Возможные метаданные: - `imei` — [IMEI](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1imei/put) - `uin` — [УИН](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1uin/put) - `gtin` — [GTIN](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1gtin/put) - `sgtin` — [код маркировки](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1sgtin/put) Если ответ вернулся с пустой структурой `meta`, значит у сборочного задания нет метаданных и добавить их нельзя. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>получения и удаления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | </div>
6183
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2676
6184
 
2677
6185
  :param order_id: ID сборочного задания (required)
2678
6186
  :type order_id: int
@@ -2697,6 +6205,7 @@ class DefaultApi:
2697
6205
  :type _host_index: int, optional
2698
6206
  :return: Returns the result object.
2699
6207
  """ # noqa: E501
6208
+ warnings.warn("GET /api/v3/dbs/orders/{orderId}/meta is deprecated.", DeprecationWarning)
2700
6209
 
2701
6210
  _param = self._api_v3_dbs_orders_order_id_meta_get_serialize(
2702
6211
  order_id=order_id,
@@ -2741,9 +6250,9 @@ class DefaultApi:
2741
6250
  _headers: Optional[Dict[StrictStr, Any]] = None,
2742
6251
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2743
6252
  ) -> ApiResponse[ApiV3DbsOrdersOrderIdMetaGet200Response]:
2744
- """Получить метаданные сборочного задания
6253
+ """(Deprecated) Получить метаданные сборочного задания
2745
6254
 
2746
- Метод возвращает метаданные [сборочного задания](/openapi/orders-dbw#tag/Sborochnye-zadaniya-DBW/paths/~1api~1v3~1dbw~1orders/get). <br><br> Перечень метаданных, доступных для сборочного задания, можно получить в [списке новых сборочных заданий](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1new/get), поле `requiredMeta`. <br><br> Возможные метаданные: - `imei` — [IMEI](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1imei/put) - `uin` — [УИН](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1uin/put) - `gtin` — [GTIN](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1gtin/put) - `sgtin` — [код маркировки](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1sgtin/put) Если ответ вернулся с пустой структурой `meta`, значит у сборочного задания нет метаданных и добавить их нельзя. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>получения и удаления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | </div>
6255
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2747
6256
 
2748
6257
  :param order_id: ID сборочного задания (required)
2749
6258
  :type order_id: int
@@ -2768,6 +6277,7 @@ class DefaultApi:
2768
6277
  :type _host_index: int, optional
2769
6278
  :return: Returns the result object.
2770
6279
  """ # noqa: E501
6280
+ warnings.warn("GET /api/v3/dbs/orders/{orderId}/meta is deprecated.", DeprecationWarning)
2771
6281
 
2772
6282
  _param = self._api_v3_dbs_orders_order_id_meta_get_serialize(
2773
6283
  order_id=order_id,
@@ -2812,9 +6322,9 @@ class DefaultApi:
2812
6322
  _headers: Optional[Dict[StrictStr, Any]] = None,
2813
6323
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2814
6324
  ) -> RESTResponseType:
2815
- """Получить метаданные сборочного задания
6325
+ """(Deprecated) Получить метаданные сборочного задания
2816
6326
 
2817
- Метод возвращает метаданные [сборочного задания](/openapi/orders-dbw#tag/Sborochnye-zadaniya-DBW/paths/~1api~1v3~1dbw~1orders/get). <br><br> Перечень метаданных, доступных для сборочного задания, можно получить в [списке новых сборочных заданий](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1new/get), поле `requiredMeta`. <br><br> Возможные метаданные: - `imei` — [IMEI](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1imei/put) - `uin` — [УИН](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1uin/put) - `gtin` — [GTIN](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1gtin/put) - `sgtin` — [код маркировки](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta~1sgtin/put) Если ответ вернулся с пустой структурой `meta`, значит у сборочного задания нет метаданных и добавить их нельзя. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>получения и удаления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | </div>
6327
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2818
6328
 
2819
6329
  :param order_id: ID сборочного задания (required)
2820
6330
  :type order_id: int
@@ -2839,6 +6349,7 @@ class DefaultApi:
2839
6349
  :type _host_index: int, optional
2840
6350
  :return: Returns the result object.
2841
6351
  """ # noqa: E501
6352
+ warnings.warn("GET /api/v3/dbs/orders/{orderId}/meta is deprecated.", DeprecationWarning)
2842
6353
 
2843
6354
  _param = self._api_v3_dbs_orders_order_id_meta_get_serialize(
2844
6355
  order_id=order_id,
@@ -2947,9 +6458,9 @@ class DefaultApi:
2947
6458
  _headers: Optional[Dict[StrictStr, Any]] = None,
2948
6459
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2949
6460
  ) -> None:
2950
- """Закрепить за сборочным заданием GTIN
6461
+ """(Deprecated) Закрепить за сборочным заданием GTIN
2951
6462
 
2952
- Метод обновляет GTIN в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta/get) — уникальный ID товара в Беларуси. <br><br> У одного сборочного задания может быть только один GTIN. Добавлять маркировку можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `confirm`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
6463
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2953
6464
 
2954
6465
  :param order_id: ID сборочного задания (required)
2955
6466
  :type order_id: int
@@ -2976,6 +6487,7 @@ class DefaultApi:
2976
6487
  :type _host_index: int, optional
2977
6488
  :return: Returns the result object.
2978
6489
  """ # noqa: E501
6490
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/gtin is deprecated.", DeprecationWarning)
2979
6491
 
2980
6492
  _param = self._api_v3_dbs_orders_order_id_meta_gtin_put_serialize(
2981
6493
  order_id=order_id,
@@ -3024,9 +6536,9 @@ class DefaultApi:
3024
6536
  _headers: Optional[Dict[StrictStr, Any]] = None,
3025
6537
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3026
6538
  ) -> ApiResponse[None]:
3027
- """Закрепить за сборочным заданием GTIN
6539
+ """(Deprecated) Закрепить за сборочным заданием GTIN
3028
6540
 
3029
- Метод обновляет GTIN в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta/get) — уникальный ID товара в Беларуси. <br><br> У одного сборочного задания может быть только один GTIN. Добавлять маркировку можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `confirm`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
6541
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3030
6542
 
3031
6543
  :param order_id: ID сборочного задания (required)
3032
6544
  :type order_id: int
@@ -3053,6 +6565,7 @@ class DefaultApi:
3053
6565
  :type _host_index: int, optional
3054
6566
  :return: Returns the result object.
3055
6567
  """ # noqa: E501
6568
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/gtin is deprecated.", DeprecationWarning)
3056
6569
 
3057
6570
  _param = self._api_v3_dbs_orders_order_id_meta_gtin_put_serialize(
3058
6571
  order_id=order_id,
@@ -3101,9 +6614,9 @@ class DefaultApi:
3101
6614
  _headers: Optional[Dict[StrictStr, Any]] = None,
3102
6615
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3103
6616
  ) -> RESTResponseType:
3104
- """Закрепить за сборочным заданием GTIN
6617
+ """(Deprecated) Закрепить за сборочным заданием GTIN
3105
6618
 
3106
- Метод обновляет GTIN в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta/get) — уникальный ID товара в Беларуси. <br><br> У одного сборочного задания может быть только один GTIN. Добавлять маркировку можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `confirm`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
6619
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3107
6620
 
3108
6621
  :param order_id: ID сборочного задания (required)
3109
6622
  :type order_id: int
@@ -3130,6 +6643,7 @@ class DefaultApi:
3130
6643
  :type _host_index: int, optional
3131
6644
  :return: Returns the result object.
3132
6645
  """ # noqa: E501
6646
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/gtin is deprecated.", DeprecationWarning)
3133
6647
 
3134
6648
  _param = self._api_v3_dbs_orders_order_id_meta_gtin_put_serialize(
3135
6649
  order_id=order_id,
@@ -3257,9 +6771,9 @@ class DefaultApi:
3257
6771
  _headers: Optional[Dict[StrictStr, Any]] = None,
3258
6772
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3259
6773
  ) -> None:
3260
- """Закрепить за сборочным заданием IMEI
6774
+ """(Deprecated) Закрепить за сборочным заданием IMEI
3261
6775
 
3262
- Метод обновляет IMEI в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta/get). <br><br> У одного сборочного задания может быть только один IMEI. Добавлять маркировку можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `confirm`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
6776
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3263
6777
 
3264
6778
  :param order_id: ID сборочного задания (required)
3265
6779
  :type order_id: int
@@ -3286,6 +6800,7 @@ class DefaultApi:
3286
6800
  :type _host_index: int, optional
3287
6801
  :return: Returns the result object.
3288
6802
  """ # noqa: E501
6803
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/imei is deprecated.", DeprecationWarning)
3289
6804
 
3290
6805
  _param = self._api_v3_dbs_orders_order_id_meta_imei_put_serialize(
3291
6806
  order_id=order_id,
@@ -3334,9 +6849,9 @@ class DefaultApi:
3334
6849
  _headers: Optional[Dict[StrictStr, Any]] = None,
3335
6850
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3336
6851
  ) -> ApiResponse[None]:
3337
- """Закрепить за сборочным заданием IMEI
6852
+ """(Deprecated) Закрепить за сборочным заданием IMEI
3338
6853
 
3339
- Метод обновляет IMEI в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta/get). <br><br> У одного сборочного задания может быть только один IMEI. Добавлять маркировку можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `confirm`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
6854
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3340
6855
 
3341
6856
  :param order_id: ID сборочного задания (required)
3342
6857
  :type order_id: int
@@ -3363,6 +6878,7 @@ class DefaultApi:
3363
6878
  :type _host_index: int, optional
3364
6879
  :return: Returns the result object.
3365
6880
  """ # noqa: E501
6881
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/imei is deprecated.", DeprecationWarning)
3366
6882
 
3367
6883
  _param = self._api_v3_dbs_orders_order_id_meta_imei_put_serialize(
3368
6884
  order_id=order_id,
@@ -3411,9 +6927,9 @@ class DefaultApi:
3411
6927
  _headers: Optional[Dict[StrictStr, Any]] = None,
3412
6928
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3413
6929
  ) -> RESTResponseType:
3414
- """Закрепить за сборочным заданием IMEI
6930
+ """(Deprecated) Закрепить за сборочным заданием IMEI
3415
6931
 
3416
- Метод обновляет IMEI в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta/get). <br><br> У одного сборочного задания может быть только один IMEI. Добавлять маркировку можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `confirm`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
6932
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3417
6933
 
3418
6934
  :param order_id: ID сборочного задания (required)
3419
6935
  :type order_id: int
@@ -3440,6 +6956,7 @@ class DefaultApi:
3440
6956
  :type _host_index: int, optional
3441
6957
  :return: Returns the result object.
3442
6958
  """ # noqa: E501
6959
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/imei is deprecated.", DeprecationWarning)
3443
6960
 
3444
6961
  _param = self._api_v3_dbs_orders_order_id_meta_imei_put_serialize(
3445
6962
  order_id=order_id,
@@ -3567,9 +7084,9 @@ class DefaultApi:
3567
7084
  _headers: Optional[Dict[StrictStr, Any]] = None,
3568
7085
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3569
7086
  ) -> None:
3570
- """Закрепить за сборочным заданием код маркировки товара
7087
+ """(Deprecated) Закрепить за сборочным заданием код маркировки товара
3571
7088
 
3572
- Метод позволяет закрепить за сборочным заданием код маркировки [Честный знак](https://честныйзнак.рф). <br><br> Закрепить код маркировки можно только если в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta/get) есть поле `sgtin`, а сборочное задание находится в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `confirm`. <br><br> Получить загруженные маркировки можно в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta/get). <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
7089
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3573
7090
 
3574
7091
  :param order_id: ID сборочного задания (required)
3575
7092
  :type order_id: int
@@ -3596,6 +7113,7 @@ class DefaultApi:
3596
7113
  :type _host_index: int, optional
3597
7114
  :return: Returns the result object.
3598
7115
  """ # noqa: E501
7116
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/sgtin is deprecated.", DeprecationWarning)
3599
7117
 
3600
7118
  _param = self._api_v3_dbs_orders_order_id_meta_sgtin_put_serialize(
3601
7119
  order_id=order_id,
@@ -3644,9 +7162,9 @@ class DefaultApi:
3644
7162
  _headers: Optional[Dict[StrictStr, Any]] = None,
3645
7163
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3646
7164
  ) -> ApiResponse[None]:
3647
- """Закрепить за сборочным заданием код маркировки товара
7165
+ """(Deprecated) Закрепить за сборочным заданием код маркировки товара
3648
7166
 
3649
- Метод позволяет закрепить за сборочным заданием код маркировки [Честный знак](https://честныйзнак.рф). <br><br> Закрепить код маркировки можно только если в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta/get) есть поле `sgtin`, а сборочное задание находится в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `confirm`. <br><br> Получить загруженные маркировки можно в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta/get). <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
7167
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3650
7168
 
3651
7169
  :param order_id: ID сборочного задания (required)
3652
7170
  :type order_id: int
@@ -3673,6 +7191,7 @@ class DefaultApi:
3673
7191
  :type _host_index: int, optional
3674
7192
  :return: Returns the result object.
3675
7193
  """ # noqa: E501
7194
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/sgtin is deprecated.", DeprecationWarning)
3676
7195
 
3677
7196
  _param = self._api_v3_dbs_orders_order_id_meta_sgtin_put_serialize(
3678
7197
  order_id=order_id,
@@ -3721,9 +7240,9 @@ class DefaultApi:
3721
7240
  _headers: Optional[Dict[StrictStr, Any]] = None,
3722
7241
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3723
7242
  ) -> RESTResponseType:
3724
- """Закрепить за сборочным заданием код маркировки товара
7243
+ """(Deprecated) Закрепить за сборочным заданием код маркировки товара
3725
7244
 
3726
- Метод позволяет закрепить за сборочным заданием код маркировки [Честный знак](https://честныйзнак.рф). <br><br> Закрепить код маркировки можно только если в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta/get) есть поле `sgtin`, а сборочное задание находится в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `confirm`. <br><br> Получить загруженные маркировки можно в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta/get). <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
7245
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3727
7246
 
3728
7247
  :param order_id: ID сборочного задания (required)
3729
7248
  :type order_id: int
@@ -3750,6 +7269,7 @@ class DefaultApi:
3750
7269
  :type _host_index: int, optional
3751
7270
  :return: Returns the result object.
3752
7271
  """ # noqa: E501
7272
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/sgtin is deprecated.", DeprecationWarning)
3753
7273
 
3754
7274
  _param = self._api_v3_dbs_orders_order_id_meta_sgtin_put_serialize(
3755
7275
  order_id=order_id,
@@ -3877,9 +7397,9 @@ class DefaultApi:
3877
7397
  _headers: Optional[Dict[StrictStr, Any]] = None,
3878
7398
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3879
7399
  ) -> None:
3880
- """Закрепить за сборочным заданием УИН (уникальный идентификационный номер)
7400
+ """(Deprecated) Закрепить за сборочным заданием УИН (уникальный идентификационный номер)
3881
7401
 
3882
- Метод обновляет УИН в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta/get) — уникальный идентификационный номер. <br><br> У одного сборочного задания может быть только один УИН. Добавлять маркировку можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `confirm`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
7402
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3883
7403
 
3884
7404
  :param order_id: ID сборочного задания (required)
3885
7405
  :type order_id: int
@@ -3906,6 +7426,7 @@ class DefaultApi:
3906
7426
  :type _host_index: int, optional
3907
7427
  :return: Returns the result object.
3908
7428
  """ # noqa: E501
7429
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/uin is deprecated.", DeprecationWarning)
3909
7430
 
3910
7431
  _param = self._api_v3_dbs_orders_order_id_meta_uin_put_serialize(
3911
7432
  order_id=order_id,
@@ -3954,9 +7475,9 @@ class DefaultApi:
3954
7475
  _headers: Optional[Dict[StrictStr, Any]] = None,
3955
7476
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3956
7477
  ) -> ApiResponse[None]:
3957
- """Закрепить за сборочным заданием УИН (уникальный идентификационный номер)
7478
+ """(Deprecated) Закрепить за сборочным заданием УИН (уникальный идентификационный номер)
3958
7479
 
3959
- Метод обновляет УИН в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta/get) — уникальный идентификационный номер. <br><br> У одного сборочного задания может быть только один УИН. Добавлять маркировку можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `confirm`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
7480
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3960
7481
 
3961
7482
  :param order_id: ID сборочного задания (required)
3962
7483
  :type order_id: int
@@ -3983,6 +7504,7 @@ class DefaultApi:
3983
7504
  :type _host_index: int, optional
3984
7505
  :return: Returns the result object.
3985
7506
  """ # noqa: E501
7507
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/uin is deprecated.", DeprecationWarning)
3986
7508
 
3987
7509
  _param = self._api_v3_dbs_orders_order_id_meta_uin_put_serialize(
3988
7510
  order_id=order_id,
@@ -4031,9 +7553,9 @@ class DefaultApi:
4031
7553
  _headers: Optional[Dict[StrictStr, Any]] = None,
4032
7554
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4033
7555
  ) -> RESTResponseType:
4034
- """Закрепить за сборочным заданием УИН (уникальный идентификационный номер)
7556
+ """(Deprecated) Закрепить за сборочным заданием УИН (уникальный идентификационный номер)
4035
7557
 
4036
- Метод обновляет УИН в [метаданных сборочного задания](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1v3~1dbs~1orders~1%7BorderId%7D~1meta/get) — уникальный идентификационный номер. <br><br> У одного сборочного задания может быть только один УИН. Добавлять маркировку можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `confirm`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 1000 запросов | 60 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
7558
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4037
7559
 
4038
7560
  :param order_id: ID сборочного задания (required)
4039
7561
  :type order_id: int
@@ -4060,6 +7582,7 @@ class DefaultApi:
4060
7582
  :type _host_index: int, optional
4061
7583
  :return: Returns the result object.
4062
7584
  """ # noqa: E501
7585
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/uin is deprecated.", DeprecationWarning)
4063
7586
 
4064
7587
  _param = self._api_v3_dbs_orders_order_id_meta_uin_put_serialize(
4065
7588
  order_id=order_id,
@@ -4187,9 +7710,9 @@ class DefaultApi:
4187
7710
  _headers: Optional[Dict[StrictStr, Any]] = None,
4188
7711
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4189
7712
  ) -> None:
4190
- """Сообщить, что заказ принят покупателем
7713
+ """(Deprecated) Сообщить, что заказ принят покупателем
4191
7714
 
4192
- Метод переводит [сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) в [статус](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `receive` — получено покупателем. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 33 запроса </div>
7715
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4193
7716
 
4194
7717
  :param order_id: ID сборочного задания (required)
4195
7718
  :type order_id: int
@@ -4216,6 +7739,7 @@ class DefaultApi:
4216
7739
  :type _host_index: int, optional
4217
7740
  :return: Returns the result object.
4218
7741
  """ # noqa: E501
7742
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/receive is deprecated.", DeprecationWarning)
4219
7743
 
4220
7744
  _param = self._api_v3_dbs_orders_order_id_receive_patch_serialize(
4221
7745
  order_id=order_id,
@@ -4264,9 +7788,9 @@ class DefaultApi:
4264
7788
  _headers: Optional[Dict[StrictStr, Any]] = None,
4265
7789
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4266
7790
  ) -> ApiResponse[None]:
4267
- """Сообщить, что заказ принят покупателем
7791
+ """(Deprecated) Сообщить, что заказ принят покупателем
4268
7792
 
4269
- Метод переводит [сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) в [статус](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `receive` — получено покупателем. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 33 запроса </div>
7793
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4270
7794
 
4271
7795
  :param order_id: ID сборочного задания (required)
4272
7796
  :type order_id: int
@@ -4293,6 +7817,7 @@ class DefaultApi:
4293
7817
  :type _host_index: int, optional
4294
7818
  :return: Returns the result object.
4295
7819
  """ # noqa: E501
7820
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/receive is deprecated.", DeprecationWarning)
4296
7821
 
4297
7822
  _param = self._api_v3_dbs_orders_order_id_receive_patch_serialize(
4298
7823
  order_id=order_id,
@@ -4341,9 +7866,9 @@ class DefaultApi:
4341
7866
  _headers: Optional[Dict[StrictStr, Any]] = None,
4342
7867
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4343
7868
  ) -> RESTResponseType:
4344
- """Сообщить, что заказ принят покупателем
7869
+ """(Deprecated) Сообщить, что заказ принят покупателем
4345
7870
 
4346
- Метод переводит [сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) в [статус](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `receive` — получено покупателем. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 33 запроса </div>
7871
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4347
7872
 
4348
7873
  :param order_id: ID сборочного задания (required)
4349
7874
  :type order_id: int
@@ -4370,6 +7895,7 @@ class DefaultApi:
4370
7895
  :type _host_index: int, optional
4371
7896
  :return: Returns the result object.
4372
7897
  """ # noqa: E501
7898
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/receive is deprecated.", DeprecationWarning)
4373
7899
 
4374
7900
  _param = self._api_v3_dbs_orders_order_id_receive_patch_serialize(
4375
7901
  order_id=order_id,
@@ -4497,9 +8023,9 @@ class DefaultApi:
4497
8023
  _headers: Optional[Dict[StrictStr, Any]] = None,
4498
8024
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4499
8025
  ) -> None:
4500
- """Сообщить, что покупатель отказался от заказа
8026
+ """(Deprecated) Сообщить, что покупатель отказался от заказа
4501
8027
 
4502
- Метод переводит [сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) в [статус](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `reject` — отказ при получении. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 33 запроса </div>
8028
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4503
8029
 
4504
8030
  :param order_id: ID сборочного задания (required)
4505
8031
  :type order_id: int
@@ -4526,6 +8052,7 @@ class DefaultApi:
4526
8052
  :type _host_index: int, optional
4527
8053
  :return: Returns the result object.
4528
8054
  """ # noqa: E501
8055
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/reject is deprecated.", DeprecationWarning)
4529
8056
 
4530
8057
  _param = self._api_v3_dbs_orders_order_id_reject_patch_serialize(
4531
8058
  order_id=order_id,
@@ -4574,9 +8101,9 @@ class DefaultApi:
4574
8101
  _headers: Optional[Dict[StrictStr, Any]] = None,
4575
8102
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4576
8103
  ) -> ApiResponse[None]:
4577
- """Сообщить, что покупатель отказался от заказа
8104
+ """(Deprecated) Сообщить, что покупатель отказался от заказа
4578
8105
 
4579
- Метод переводит [сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) в [статус](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `reject` — отказ при получении. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 33 запроса </div>
8106
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4580
8107
 
4581
8108
  :param order_id: ID сборочного задания (required)
4582
8109
  :type order_id: int
@@ -4603,6 +8130,7 @@ class DefaultApi:
4603
8130
  :type _host_index: int, optional
4604
8131
  :return: Returns the result object.
4605
8132
  """ # noqa: E501
8133
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/reject is deprecated.", DeprecationWarning)
4606
8134
 
4607
8135
  _param = self._api_v3_dbs_orders_order_id_reject_patch_serialize(
4608
8136
  order_id=order_id,
@@ -4651,9 +8179,9 @@ class DefaultApi:
4651
8179
  _headers: Optional[Dict[StrictStr, Any]] = None,
4652
8180
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4653
8181
  ) -> RESTResponseType:
4654
- """Сообщить, что покупатель отказался от заказа
8182
+ """(Deprecated) Сообщить, что покупатель отказался от заказа
4655
8183
 
4656
- Метод переводит [сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS) в [статус](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `reject` — отказ при получении. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 33 запроса </div>
8184
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4657
8185
 
4658
8186
  :param order_id: ID сборочного задания (required)
4659
8187
  :type order_id: int
@@ -4680,6 +8208,7 @@ class DefaultApi:
4680
8208
  :type _host_index: int, optional
4681
8209
  :return: Returns the result object.
4682
8210
  """ # noqa: E501
8211
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/reject is deprecated.", DeprecationWarning)
4683
8212
 
4684
8213
  _param = self._api_v3_dbs_orders_order_id_reject_patch_serialize(
4685
8214
  order_id=order_id,
@@ -4806,9 +8335,9 @@ class DefaultApi:
4806
8335
  _headers: Optional[Dict[StrictStr, Any]] = None,
4807
8336
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4808
8337
  ) -> ApiV3DbsOrdersStatusPost200Response:
4809
- """Получить статусы сборочных заданий
8338
+ """(Deprecated) Получить статусы сборочных заданий
4810
8339
 
4811
- Метод возвращает статусы сборочных заданий по их ID. <br><br> `supplierStatus` — статус сборочного задания. Триггер его изменения — действие самого продавца. Возможные значения `supplierStatus`: | Статус | Описание | Как перевести сборочное задание в данный статус | | ------- | --------- | --------------------------------------| | `new` | **Новое сборочное задание** | | | `confirm` | **На сборке** | [Перевести сборочное задание на сборку](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1{orderId}~1confirm/patch) | `deliver` | **В доставке** | [Перевести сборочное задание в доставку](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1{orderId}~1deliver/patch) | `receive` | **Получено покупателем** | [Сообщить, что заказ принят покупателем](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1{orderId}~1receive/patch) <br> | `reject` | **Отказ покупателя при получении** | [Сообщить, что покупатель отказался от заказа](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1{orderId}~1reject/patch) | `cancel` | **Отменено продавцом** | [Отменить сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1{orderId}~1cancel/patch) | `cancel_missed_call` | **Отмена по причине недозвона** | Статус меняется автоматически | <br><br> `wbStatus` — статус системы Wildberries. Возможные значения `wbStatus`: - `waiting` — сборочное задание в работе - `sold` — заказ получен покупателем - `canceled` — отмена сборочного задания - `canceled_by_client` — покупатель отменил заказ при получении - `declined_by_client` — покупатель отменил заказ в первый чаc <br> Отмена доступна покупателю в первый час с момента заказа, если заказ не переведен на сборку - `defect` — отмена заказа по причине брака - `ready_for_pickup` — сборочное задание прибыло на ПВЗ - `canceled_by_missed_call` — отмена по причине недозвона <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | </div>
8340
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4812
8341
 
4813
8342
  :param api_v3_dbs_orders_status_post_request:
4814
8343
  :type api_v3_dbs_orders_status_post_request: ApiV3DbsOrdersStatusPostRequest
@@ -4833,6 +8362,7 @@ class DefaultApi:
4833
8362
  :type _host_index: int, optional
4834
8363
  :return: Returns the result object.
4835
8364
  """ # noqa: E501
8365
+ warnings.warn("POST /api/v3/dbs/orders/status is deprecated.", DeprecationWarning)
4836
8366
 
4837
8367
  _param = self._api_v3_dbs_orders_status_post_serialize(
4838
8368
  api_v3_dbs_orders_status_post_request=api_v3_dbs_orders_status_post_request,
@@ -4877,9 +8407,9 @@ class DefaultApi:
4877
8407
  _headers: Optional[Dict[StrictStr, Any]] = None,
4878
8408
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4879
8409
  ) -> ApiResponse[ApiV3DbsOrdersStatusPost200Response]:
4880
- """Получить статусы сборочных заданий
8410
+ """(Deprecated) Получить статусы сборочных заданий
4881
8411
 
4882
- Метод возвращает статусы сборочных заданий по их ID. <br><br> `supplierStatus` — статус сборочного задания. Триггер его изменения — действие самого продавца. Возможные значения `supplierStatus`: | Статус | Описание | Как перевести сборочное задание в данный статус | | ------- | --------- | --------------------------------------| | `new` | **Новое сборочное задание** | | | `confirm` | **На сборке** | [Перевести сборочное задание на сборку](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1{orderId}~1confirm/patch) | `deliver` | **В доставке** | [Перевести сборочное задание в доставку](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1{orderId}~1deliver/patch) | `receive` | **Получено покупателем** | [Сообщить, что заказ принят покупателем](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1{orderId}~1receive/patch) <br> | `reject` | **Отказ покупателя при получении** | [Сообщить, что покупатель отказался от заказа](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1{orderId}~1reject/patch) | `cancel` | **Отменено продавцом** | [Отменить сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1{orderId}~1cancel/patch) | `cancel_missed_call` | **Отмена по причине недозвона** | Статус меняется автоматически | <br><br> `wbStatus` — статус системы Wildberries. Возможные значения `wbStatus`: - `waiting` — сборочное задание в работе - `sold` — заказ получен покупателем - `canceled` — отмена сборочного задания - `canceled_by_client` — покупатель отменил заказ при получении - `declined_by_client` — покупатель отменил заказ в первый чаc <br> Отмена доступна покупателю в первый час с момента заказа, если заказ не переведен на сборку - `defect` — отмена заказа по причине брака - `ready_for_pickup` — сборочное задание прибыло на ПВЗ - `canceled_by_missed_call` — отмена по причине недозвона <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | </div>
8412
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4883
8413
 
4884
8414
  :param api_v3_dbs_orders_status_post_request:
4885
8415
  :type api_v3_dbs_orders_status_post_request: ApiV3DbsOrdersStatusPostRequest
@@ -4904,6 +8434,7 @@ class DefaultApi:
4904
8434
  :type _host_index: int, optional
4905
8435
  :return: Returns the result object.
4906
8436
  """ # noqa: E501
8437
+ warnings.warn("POST /api/v3/dbs/orders/status is deprecated.", DeprecationWarning)
4907
8438
 
4908
8439
  _param = self._api_v3_dbs_orders_status_post_serialize(
4909
8440
  api_v3_dbs_orders_status_post_request=api_v3_dbs_orders_status_post_request,
@@ -4948,9 +8479,9 @@ class DefaultApi:
4948
8479
  _headers: Optional[Dict[StrictStr, Any]] = None,
4949
8480
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4950
8481
  ) -> RESTResponseType:
4951
- """Получить статусы сборочных заданий
8482
+ """(Deprecated) Получить статусы сборочных заданий
4952
8483
 
4953
- Метод возвращает статусы сборочных заданий по их ID. <br><br> `supplierStatus` — статус сборочного задания. Триггер его изменения — действие самого продавца. Возможные значения `supplierStatus`: | Статус | Описание | Как перевести сборочное задание в данный статус | | ------- | --------- | --------------------------------------| | `new` | **Новое сборочное задание** | | | `confirm` | **На сборке** | [Перевести сборочное задание на сборку](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1{orderId}~1confirm/patch) | `deliver` | **В доставке** | [Перевести сборочное задание в доставку](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1{orderId}~1deliver/patch) | `receive` | **Получено покупателем** | [Сообщить, что заказ принят покупателем](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1{orderId}~1receive/patch) <br> | `reject` | **Отказ покупателя при получении** | [Сообщить, что покупатель отказался от заказа](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1{orderId}~1reject/patch) | `cancel` | **Отменено продавцом** | [Отменить сборочное задание](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1{orderId}~1cancel/patch) | `cancel_missed_call` | **Отмена по причине недозвона** | Статус меняется автоматически | <br><br> `wbStatus` — статус системы Wildberries. Возможные значения `wbStatus`: - `waiting` — сборочное задание в работе - `sold` — заказ получен покупателем - `canceled` — отмена сборочного задания - `canceled_by_client` — покупатель отменил заказ при получении - `declined_by_client` — покупатель отменил заказ в первый чаc <br> Отмена доступна покупателю в первый час с момента заказа, если заказ не переведен на сборку - `defect` — отмена заказа по причине брака - `ready_for_pickup` — сборочное задание прибыло на ПВЗ - `canceled_by_missed_call` — отмена по причине недозвона <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | </div>
8484
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4954
8485
 
4955
8486
  :param api_v3_dbs_orders_status_post_request:
4956
8487
  :type api_v3_dbs_orders_status_post_request: ApiV3DbsOrdersStatusPostRequest
@@ -4975,6 +8506,7 @@ class DefaultApi:
4975
8506
  :type _host_index: int, optional
4976
8507
  :return: Returns the result object.
4977
8508
  """ # noqa: E501
8509
+ warnings.warn("POST /api/v3/dbs/orders/status is deprecated.", DeprecationWarning)
4978
8510
 
4979
8511
  _param = self._api_v3_dbs_orders_status_post_serialize(
4980
8512
  api_v3_dbs_orders_status_post_request=api_v3_dbs_orders_status_post_request,