wildberries-sdk 0.1.20__py3-none-any.whl → 0.1.23__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 (151) hide show
  1. wildberries_sdk/analytics/__init__.py +1 -1
  2. wildberries_sdk/analytics/api/default_api.py +3 -3
  3. wildberries_sdk/analytics/api_client.py +1 -1
  4. wildberries_sdk/analytics/configuration.py +1 -1
  5. wildberries_sdk/communications/__init__.py +1 -1
  6. wildberries_sdk/communications/api/default_api.py +3 -3
  7. wildberries_sdk/communications/api_client.py +1 -1
  8. wildberries_sdk/communications/configuration.py +1 -1
  9. wildberries_sdk/finances/__init__.py +1 -1
  10. wildberries_sdk/finances/api_client.py +1 -1
  11. wildberries_sdk/finances/configuration.py +1 -1
  12. wildberries_sdk/general/__init__.py +1 -1
  13. wildberries_sdk/general/api_client.py +1 -1
  14. wildberries_sdk/general/configuration.py +1 -1
  15. wildberries_sdk/in_store_pickup/__init__.py +1 -1
  16. wildberries_sdk/in_store_pickup/api/default_api.py +3 -3
  17. wildberries_sdk/in_store_pickup/api_client.py +1 -1
  18. wildberries_sdk/in_store_pickup/configuration.py +1 -1
  19. wildberries_sdk/orders_dbs/__init__.py +49 -1
  20. wildberries_sdk/orders_dbs/api/default_api.py +3906 -78
  21. wildberries_sdk/orders_dbs/api_client.py +1 -1
  22. wildberries_sdk/orders_dbs/configuration.py +1 -1
  23. wildberries_sdk/orders_dbs/models/__init__.py +24 -0
  24. wildberries_sdk/orders_dbs/models/api_batch_error.py +93 -0
  25. wildberries_sdk/orders_dbs/models/api_batch_error_response.py +89 -0
  26. wildberries_sdk/orders_dbs/models/api_error.py +93 -0
  27. wildberries_sdk/orders_dbs/models/api_gtin.py +90 -0
  28. wildberries_sdk/orders_dbs/models/api_imei.py +90 -0
  29. wildberries_sdk/orders_dbs/models/api_marketplace_v3_dbs_meta_customs_declaration_post_request.py +96 -0
  30. wildberries_sdk/orders_dbs/models/api_marketplace_v3_dbs_meta_customs_declaration_post_request_orders_inner.py +90 -0
  31. wildberries_sdk/orders_dbs/models/api_order_code_request.py +89 -0
  32. wildberries_sdk/orders_dbs/models/api_order_meta_v2.py +103 -0
  33. wildberries_sdk/orders_dbs/models/api_order_status_v2.py +101 -0
  34. wildberries_sdk/orders_dbs/models/api_order_statuses_v2.py +95 -0
  35. wildberries_sdk/orders_dbs/models/api_orders_code_request.py +96 -0
  36. wildberries_sdk/orders_dbs/models/api_orders_gtin_set_request.py +96 -0
  37. wildberries_sdk/orders_dbs/models/api_orders_imei_set_request.py +96 -0
  38. wildberries_sdk/orders_dbs/models/api_orders_meta_delete_request.py +90 -0
  39. wildberries_sdk/orders_dbs/models/api_orders_meta_response.py +95 -0
  40. wildberries_sdk/orders_dbs/models/api_orders_request_v2.py +88 -0
  41. wildberries_sdk/orders_dbs/models/api_orders_sgtins_set_request.py +96 -0
  42. wildberries_sdk/orders_dbs/models/api_orders_uin_set_request.py +96 -0
  43. wildberries_sdk/orders_dbs/models/api_sgtins.py +90 -0
  44. wildberries_sdk/orders_dbs/models/api_status_set_response.py +99 -0
  45. wildberries_sdk/orders_dbs/models/api_status_set_responses.py +97 -0
  46. wildberries_sdk/orders_dbs/models/api_uin.py +90 -0
  47. wildberries_sdk/orders_dbs/models/error.py +1 -1
  48. wildberries_sdk/orders_dbs/models/meta.py +9 -3
  49. wildberries_sdk/orders_dbs/models/meta_customs_declaration.py +92 -0
  50. wildberries_sdk/orders_dbs/models/order_new_dbs.py +1 -1
  51. wildberries_sdk/orders_dbw/__init__.py +1 -1
  52. wildberries_sdk/orders_dbw/api_client.py +1 -1
  53. wildberries_sdk/orders_dbw/configuration.py +1 -1
  54. wildberries_sdk/orders_fbs/__init__.py +6 -2
  55. wildberries_sdk/orders_fbs/api/default_api.py +324 -13
  56. wildberries_sdk/orders_fbs/api_client.py +2 -2
  57. wildberries_sdk/orders_fbs/configuration.py +2 -2
  58. wildberries_sdk/orders_fbs/exceptions.py +1 -1
  59. wildberries_sdk/orders_fbs/models/__init__.py +3 -1
  60. wildberries_sdk/orders_fbs/models/api_marketplace_v3_orders_order_id_meta_customs_declaration_put_request.py +88 -0
  61. wildberries_sdk/orders_fbs/models/api_marketplace_v3_supplies_supply_id_orders_patch_request.py +1 -1
  62. wildberries_sdk/orders_fbs/models/api_v3_orders_get200_response.py +1 -1
  63. wildberries_sdk/orders_fbs/models/api_v3_orders_new_get200_response.py +1 -1
  64. wildberries_sdk/orders_fbs/models/api_v3_orders_order_id_meta_expiration_put_request.py +1 -1
  65. wildberries_sdk/orders_fbs/models/api_v3_orders_order_id_meta_gtin_put_request.py +1 -1
  66. wildberries_sdk/orders_fbs/models/api_v3_orders_order_id_meta_imei_put_request.py +1 -1
  67. wildberries_sdk/orders_fbs/models/api_v3_orders_order_id_meta_sgtin_put_request.py +1 -1
  68. wildberries_sdk/orders_fbs/models/api_v3_orders_order_id_meta_uin_put_request.py +1 -1
  69. wildberries_sdk/orders_fbs/models/api_v3_orders_status_history_post200_response.py +1 -1
  70. wildberries_sdk/orders_fbs/models/api_v3_orders_status_history_post200_response_orders_inner.py +1 -1
  71. wildberries_sdk/orders_fbs/models/api_v3_orders_status_history_post200_response_orders_inner_statuses_inner.py +1 -1
  72. wildberries_sdk/orders_fbs/models/api_v3_orders_status_history_post_request.py +1 -1
  73. wildberries_sdk/orders_fbs/models/api_v3_orders_status_post200_response.py +1 -1
  74. wildberries_sdk/orders_fbs/models/api_v3_orders_status_post200_response_orders_inner.py +1 -1
  75. wildberries_sdk/orders_fbs/models/api_v3_orders_status_post_request.py +1 -1
  76. wildberries_sdk/orders_fbs/models/api_v3_orders_stickers_cross_border_post200_response.py +1 -1
  77. wildberries_sdk/orders_fbs/models/api_v3_orders_stickers_cross_border_post200_response_stickers_inner.py +1 -1
  78. wildberries_sdk/orders_fbs/models/api_v3_orders_stickers_cross_border_post_request.py +1 -1
  79. wildberries_sdk/orders_fbs/models/api_v3_orders_stickers_post200_response.py +1 -1
  80. wildberries_sdk/orders_fbs/models/api_v3_orders_stickers_post200_response_stickers_inner.py +1 -1
  81. wildberries_sdk/orders_fbs/models/api_v3_orders_stickers_post_request.py +1 -1
  82. wildberries_sdk/orders_fbs/models/api_v3_passes_offices_get401_response.py +1 -1
  83. wildberries_sdk/orders_fbs/models/api_v3_passes_pass_id_put_request.py +1 -1
  84. wildberries_sdk/orders_fbs/models/api_v3_passes_post201_response.py +1 -1
  85. wildberries_sdk/orders_fbs/models/api_v3_passes_post_request.py +1 -1
  86. wildberries_sdk/orders_fbs/models/api_v3_supplies_get200_response.py +1 -1
  87. wildberries_sdk/orders_fbs/models/api_v3_supplies_orders_reshipment_get200_response.py +1 -1
  88. wildberries_sdk/orders_fbs/models/api_v3_supplies_orders_reshipment_get200_response_orders_inner.py +1 -1
  89. wildberries_sdk/orders_fbs/models/api_v3_supplies_post201_response.py +1 -1
  90. wildberries_sdk/orders_fbs/models/api_v3_supplies_post_request.py +1 -1
  91. wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_barcode_get200_response.py +1 -1
  92. wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_orders_get200_response.py +1 -1
  93. wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_trbx_delete_request.py +1 -1
  94. wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_trbx_get200_response.py +1 -1
  95. wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_trbx_post201_response.py +1 -1
  96. wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_trbx_post_request.py +1 -1
  97. wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_trbx_stickers_post200_response.py +1 -1
  98. wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_trbx_stickers_post_request.py +1 -1
  99. wildberries_sdk/orders_fbs/models/crossborder_turkey_client_info.py +1 -1
  100. wildberries_sdk/orders_fbs/models/crossborder_turkey_client_info_resp.py +1 -1
  101. wildberries_sdk/orders_fbs/models/error.py +1 -1
  102. wildberries_sdk/orders_fbs/models/meta.py +10 -4
  103. wildberries_sdk/orders_fbs/models/meta_customs_declaration.py +92 -0
  104. wildberries_sdk/orders_fbs/models/meta_expiration.py +1 -1
  105. wildberries_sdk/orders_fbs/models/meta_gtin.py +1 -1
  106. wildberries_sdk/orders_fbs/models/meta_imei.py +1 -1
  107. wildberries_sdk/orders_fbs/models/meta_sgtin.py +1 -1
  108. wildberries_sdk/orders_fbs/models/meta_uin.py +1 -1
  109. wildberries_sdk/orders_fbs/models/model_pass.py +1 -1
  110. wildberries_sdk/orders_fbs/models/order.py +1 -1
  111. wildberries_sdk/orders_fbs/models/order_address.py +1 -1
  112. wildberries_sdk/orders_fbs/models/order_new.py +1 -1
  113. wildberries_sdk/orders_fbs/models/order_options.py +1 -1
  114. wildberries_sdk/orders_fbs/models/orders_request_api.py +1 -1
  115. wildberries_sdk/orders_fbs/models/pass_office.py +1 -1
  116. wildberries_sdk/orders_fbs/models/supply.py +1 -1
  117. wildberries_sdk/orders_fbs/models/supply_order.py +1 -1
  118. wildberries_sdk/orders_fbs/models/supply_trbx.py +1 -1
  119. wildberries_sdk/orders_fbs/models/trbx_stickers.py +1 -1
  120. wildberries_sdk/orders_fbs/models/v3_api_error.py +1 -1
  121. wildberries_sdk/orders_fbs/models/v3_get_meta_multi_request.py +1 -1
  122. wildberries_sdk/orders_fbs/models/v3_order_meta_api.py +1 -1
  123. wildberries_sdk/orders_fbs/models/v3_orders_meta_api.py +1 -1
  124. wildberries_sdk/orders_fbs/models/v3_supply_order_ids_api.py +1 -1
  125. wildberries_sdk/orders_fbs/rest.py +1 -1
  126. wildberries_sdk/orders_fbw/__init__.py +1 -1
  127. wildberries_sdk/orders_fbw/api_client.py +1 -1
  128. wildberries_sdk/orders_fbw/configuration.py +1 -1
  129. wildberries_sdk/products/__init__.py +1 -1
  130. wildberries_sdk/products/api_client.py +1 -1
  131. wildberries_sdk/products/configuration.py +1 -1
  132. wildberries_sdk/promotion/__init__.py +1 -1
  133. wildberries_sdk/promotion/api_client.py +1 -1
  134. wildberries_sdk/promotion/configuration.py +1 -1
  135. wildberries_sdk/reports/__init__.py +1 -1
  136. wildberries_sdk/reports/api/default_api.py +21 -21
  137. wildberries_sdk/reports/api_client.py +1 -1
  138. wildberries_sdk/reports/configuration.py +1 -1
  139. wildberries_sdk/reports/models/orders_item.py +1 -1
  140. wildberries_sdk/reports/models/sales_item.py +3 -3
  141. wildberries_sdk/tariffs/__init__.py +1 -1
  142. wildberries_sdk/tariffs/api_client.py +1 -1
  143. wildberries_sdk/tariffs/configuration.py +1 -1
  144. wildberries_sdk/wbd/__init__.py +1 -1
  145. wildberries_sdk/wbd/api_client.py +1 -1
  146. wildberries_sdk/wbd/configuration.py +1 -1
  147. {wildberries_sdk-0.1.20.dist-info → wildberries_sdk-0.1.23.dist-info}/METADATA +35 -15
  148. {wildberries_sdk-0.1.20.dist-info → wildberries_sdk-0.1.23.dist-info}/RECORD +151 -125
  149. {wildberries_sdk-0.1.20.dist-info → wildberries_sdk-0.1.23.dist-info}/LICENSE +0 -0
  150. {wildberries_sdk-0.1.20.dist-info → wildberries_sdk-0.1.23.dist-info}/WHEEL +0 -0
  151. {wildberries_sdk-0.1.20.dist-info → wildberries_sdk-0.1.23.dist-info}/top_level.txt +0 -0
@@ -19,8 +19,19 @@ from typing_extensions import Annotated
19
19
  from pydantic import Field, StrictInt, StrictStr
20
20
  from typing import List, Optional
21
21
  from typing_extensions import Annotated
22
+ from wildberries_sdk.orders_dbs.models.api_marketplace_v3_dbs_meta_customs_declaration_post_request import ApiMarketplaceV3DbsMetaCustomsDeclarationPostRequest
22
23
  from wildberries_sdk.orders_dbs.models.api_order_group_inner import ApiOrderGroupInner
23
24
  from wildberries_sdk.orders_dbs.models.api_order_groups_request import ApiOrderGroupsRequest
25
+ from wildberries_sdk.orders_dbs.models.api_order_statuses_v2 import ApiOrderStatusesV2
26
+ from wildberries_sdk.orders_dbs.models.api_orders_code_request import ApiOrdersCodeRequest
27
+ from wildberries_sdk.orders_dbs.models.api_orders_gtin_set_request import ApiOrdersGTINSetRequest
28
+ from wildberries_sdk.orders_dbs.models.api_orders_imei_set_request import ApiOrdersIMEISetRequest
29
+ from wildberries_sdk.orders_dbs.models.api_orders_meta_delete_request import ApiOrdersMetaDeleteRequest
30
+ from wildberries_sdk.orders_dbs.models.api_orders_meta_response import ApiOrdersMetaResponse
31
+ from wildberries_sdk.orders_dbs.models.api_orders_request_v2 import ApiOrdersRequestV2
32
+ from wildberries_sdk.orders_dbs.models.api_orders_sgtins_set_request import ApiOrdersSGTINsSetRequest
33
+ from wildberries_sdk.orders_dbs.models.api_orders_uin_set_request import ApiOrdersUINSetRequest
34
+ from wildberries_sdk.orders_dbs.models.api_status_set_responses import ApiStatusSetResponses
24
35
  from wildberries_sdk.orders_dbs.models.api_v3_dbs_orders_get200_response import ApiV3DbsOrdersGet200Response
25
36
  from wildberries_sdk.orders_dbs.models.api_v3_dbs_orders_new_get200_response import ApiV3DbsOrdersNewGet200Response
26
37
  from wildberries_sdk.orders_dbs.models.api_v3_dbs_orders_order_id_meta_get200_response import ApiV3DbsOrdersOrderIdMetaGet200Response
@@ -54,6 +65,3787 @@ class DefaultApi:
54
65
  self.api_client = api_client
55
66
 
56
67
 
68
+ @validate_call
69
+ def api_marketplace_v3_dbs_meta_customs_declaration_post(
70
+ self,
71
+ api_marketplace_v3_dbs_meta_customs_declaration_post_request: Optional[ApiMarketplaceV3DbsMetaCustomsDeclarationPostRequest] = None,
72
+ _request_timeout: Union[
73
+ None,
74
+ Annotated[StrictFloat, Field(gt=0)],
75
+ Tuple[
76
+ Annotated[StrictFloat, Field(gt=0)],
77
+ Annotated[StrictFloat, Field(gt=0)]
78
+ ]
79
+ ] = None,
80
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
81
+ _content_type: Optional[StrictStr] = None,
82
+ _headers: Optional[Dict[StrictStr, Any]] = None,
83
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
84
+ ) -> None:
85
+ """Закрепить за сборочными заданиями номер ГТД
86
+
87
+ Метод обновляет номер ГТД — грузовой таможенной декларации — в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <br><br> У одного сборочного задания может быть только один ГТД. Добавлять номер ГТД можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `delivery`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 500 запросов | 120 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
88
+
89
+ :param api_marketplace_v3_dbs_meta_customs_declaration_post_request:
90
+ :type api_marketplace_v3_dbs_meta_customs_declaration_post_request: ApiMarketplaceV3DbsMetaCustomsDeclarationPostRequest
91
+ :param _request_timeout: timeout setting for this request. If one
92
+ number provided, it will be total request
93
+ timeout. It can also be a pair (tuple) of
94
+ (connection, read) timeouts.
95
+ :type _request_timeout: int, tuple(int, int), optional
96
+ :param _request_auth: set to override the auth_settings for an a single
97
+ request; this effectively ignores the
98
+ authentication in the spec for a single request.
99
+ :type _request_auth: dict, optional
100
+ :param _content_type: force content-type for the request.
101
+ :type _content_type: str, Optional
102
+ :param _headers: set to override the headers for a single
103
+ request; this effectively ignores the headers
104
+ in the spec for a single request.
105
+ :type _headers: dict, optional
106
+ :param _host_index: set to override the host_index for a single
107
+ request; this effectively ignores the host_index
108
+ in the spec for a single request.
109
+ :type _host_index: int, optional
110
+ :return: Returns the result object.
111
+ """ # noqa: E501
112
+
113
+ _param = self._api_marketplace_v3_dbs_meta_customs_declaration_post_serialize(
114
+ api_marketplace_v3_dbs_meta_customs_declaration_post_request=api_marketplace_v3_dbs_meta_customs_declaration_post_request,
115
+ _request_auth=_request_auth,
116
+ _content_type=_content_type,
117
+ _headers=_headers,
118
+ _host_index=_host_index
119
+ )
120
+
121
+ _response_types_map: Dict[str, Optional[str]] = {
122
+ '204': None,
123
+ '400': "Error",
124
+ '401': "ApiV3DbsOrdersNewGet401Response",
125
+ '403': "Error",
126
+ '404': "Error",
127
+ '409': "Error",
128
+ '429': "ApiV3DbsOrdersNewGet401Response",
129
+ }
130
+ response_data = self.api_client.call_api(
131
+ *_param,
132
+ _request_timeout=_request_timeout
133
+ )
134
+ response_data.read()
135
+ return self.api_client.response_deserialize(
136
+ response_data=response_data,
137
+ response_types_map=_response_types_map,
138
+ ).data
139
+
140
+
141
+ @validate_call
142
+ def api_marketplace_v3_dbs_meta_customs_declaration_post_with_http_info(
143
+ self,
144
+ api_marketplace_v3_dbs_meta_customs_declaration_post_request: Optional[ApiMarketplaceV3DbsMetaCustomsDeclarationPostRequest] = None,
145
+ _request_timeout: Union[
146
+ None,
147
+ Annotated[StrictFloat, Field(gt=0)],
148
+ Tuple[
149
+ Annotated[StrictFloat, Field(gt=0)],
150
+ Annotated[StrictFloat, Field(gt=0)]
151
+ ]
152
+ ] = None,
153
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
154
+ _content_type: Optional[StrictStr] = None,
155
+ _headers: Optional[Dict[StrictStr, Any]] = None,
156
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
157
+ ) -> ApiResponse[None]:
158
+ """Закрепить за сборочными заданиями номер ГТД
159
+
160
+ Метод обновляет номер ГТД — грузовой таможенной декларации — в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <br><br> У одного сборочного задания может быть только один ГТД. Добавлять номер ГТД можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `delivery`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 500 запросов | 120 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
161
+
162
+ :param api_marketplace_v3_dbs_meta_customs_declaration_post_request:
163
+ :type api_marketplace_v3_dbs_meta_customs_declaration_post_request: ApiMarketplaceV3DbsMetaCustomsDeclarationPostRequest
164
+ :param _request_timeout: timeout setting for this request. If one
165
+ number provided, it will be total request
166
+ timeout. It can also be a pair (tuple) of
167
+ (connection, read) timeouts.
168
+ :type _request_timeout: int, tuple(int, int), optional
169
+ :param _request_auth: set to override the auth_settings for an a single
170
+ request; this effectively ignores the
171
+ authentication in the spec for a single request.
172
+ :type _request_auth: dict, optional
173
+ :param _content_type: force content-type for the request.
174
+ :type _content_type: str, Optional
175
+ :param _headers: set to override the headers for a single
176
+ request; this effectively ignores the headers
177
+ in the spec for a single request.
178
+ :type _headers: dict, optional
179
+ :param _host_index: set to override the host_index for a single
180
+ request; this effectively ignores the host_index
181
+ in the spec for a single request.
182
+ :type _host_index: int, optional
183
+ :return: Returns the result object.
184
+ """ # noqa: E501
185
+
186
+ _param = self._api_marketplace_v3_dbs_meta_customs_declaration_post_serialize(
187
+ api_marketplace_v3_dbs_meta_customs_declaration_post_request=api_marketplace_v3_dbs_meta_customs_declaration_post_request,
188
+ _request_auth=_request_auth,
189
+ _content_type=_content_type,
190
+ _headers=_headers,
191
+ _host_index=_host_index
192
+ )
193
+
194
+ _response_types_map: Dict[str, Optional[str]] = {
195
+ '204': None,
196
+ '400': "Error",
197
+ '401': "ApiV3DbsOrdersNewGet401Response",
198
+ '403': "Error",
199
+ '404': "Error",
200
+ '409': "Error",
201
+ '429': "ApiV3DbsOrdersNewGet401Response",
202
+ }
203
+ response_data = self.api_client.call_api(
204
+ *_param,
205
+ _request_timeout=_request_timeout
206
+ )
207
+ response_data.read()
208
+ return self.api_client.response_deserialize(
209
+ response_data=response_data,
210
+ response_types_map=_response_types_map,
211
+ )
212
+
213
+
214
+ @validate_call
215
+ def api_marketplace_v3_dbs_meta_customs_declaration_post_without_preload_content(
216
+ self,
217
+ api_marketplace_v3_dbs_meta_customs_declaration_post_request: Optional[ApiMarketplaceV3DbsMetaCustomsDeclarationPostRequest] = None,
218
+ _request_timeout: Union[
219
+ None,
220
+ Annotated[StrictFloat, Field(gt=0)],
221
+ Tuple[
222
+ Annotated[StrictFloat, Field(gt=0)],
223
+ Annotated[StrictFloat, Field(gt=0)]
224
+ ]
225
+ ] = None,
226
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
227
+ _content_type: Optional[StrictStr] = None,
228
+ _headers: Optional[Dict[StrictStr, Any]] = None,
229
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
230
+ ) -> RESTResponseType:
231
+ """Закрепить за сборочными заданиями номер ГТД
232
+
233
+ Метод обновляет номер ГТД — грузовой таможенной декларации — в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <br><br> У одного сборочного задания может быть только один ГТД. Добавлять номер ГТД можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `delivery`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 500 запросов | 120 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
234
+
235
+ :param api_marketplace_v3_dbs_meta_customs_declaration_post_request:
236
+ :type api_marketplace_v3_dbs_meta_customs_declaration_post_request: ApiMarketplaceV3DbsMetaCustomsDeclarationPostRequest
237
+ :param _request_timeout: timeout setting for this request. If one
238
+ number provided, it will be total request
239
+ timeout. It can also be a pair (tuple) of
240
+ (connection, read) timeouts.
241
+ :type _request_timeout: int, tuple(int, int), optional
242
+ :param _request_auth: set to override the auth_settings for an a single
243
+ request; this effectively ignores the
244
+ authentication in the spec for a single request.
245
+ :type _request_auth: dict, optional
246
+ :param _content_type: force content-type for the request.
247
+ :type _content_type: str, Optional
248
+ :param _headers: set to override the headers for a single
249
+ request; this effectively ignores the headers
250
+ in the spec for a single request.
251
+ :type _headers: dict, optional
252
+ :param _host_index: set to override the host_index for a single
253
+ request; this effectively ignores the host_index
254
+ in the spec for a single request.
255
+ :type _host_index: int, optional
256
+ :return: Returns the result object.
257
+ """ # noqa: E501
258
+
259
+ _param = self._api_marketplace_v3_dbs_meta_customs_declaration_post_serialize(
260
+ api_marketplace_v3_dbs_meta_customs_declaration_post_request=api_marketplace_v3_dbs_meta_customs_declaration_post_request,
261
+ _request_auth=_request_auth,
262
+ _content_type=_content_type,
263
+ _headers=_headers,
264
+ _host_index=_host_index
265
+ )
266
+
267
+ _response_types_map: Dict[str, Optional[str]] = {
268
+ '204': None,
269
+ '400': "Error",
270
+ '401': "ApiV3DbsOrdersNewGet401Response",
271
+ '403': "Error",
272
+ '404': "Error",
273
+ '409': "Error",
274
+ '429': "ApiV3DbsOrdersNewGet401Response",
275
+ }
276
+ response_data = self.api_client.call_api(
277
+ *_param,
278
+ _request_timeout=_request_timeout
279
+ )
280
+ return response_data.response
281
+
282
+
283
+ def _api_marketplace_v3_dbs_meta_customs_declaration_post_serialize(
284
+ self,
285
+ api_marketplace_v3_dbs_meta_customs_declaration_post_request,
286
+ _request_auth,
287
+ _content_type,
288
+ _headers,
289
+ _host_index,
290
+ ) -> RequestSerialized:
291
+
292
+ _hosts = [
293
+ 'https://marketplace-api.wildberries.ru'
294
+ ]
295
+ _host = _hosts[_host_index]
296
+
297
+ _collection_formats: Dict[str, str] = {
298
+ }
299
+
300
+ _path_params: Dict[str, str] = {}
301
+ _query_params: List[Tuple[str, str]] = []
302
+ _header_params: Dict[str, Optional[str]] = _headers or {}
303
+ _form_params: List[Tuple[str, str]] = []
304
+ _files: Dict[
305
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
306
+ ] = {}
307
+ _body_params: Optional[bytes] = None
308
+
309
+ # process the path parameters
310
+ # process the query parameters
311
+ # process the header parameters
312
+ # process the form parameters
313
+ # process the body parameter
314
+ if api_marketplace_v3_dbs_meta_customs_declaration_post_request is not None:
315
+ _body_params = api_marketplace_v3_dbs_meta_customs_declaration_post_request
316
+
317
+
318
+ # set the HTTP header `Accept`
319
+ if 'Accept' not in _header_params:
320
+ _header_params['Accept'] = self.api_client.select_header_accept(
321
+ [
322
+ 'application/json'
323
+ ]
324
+ )
325
+
326
+ # set the HTTP header `Content-Type`
327
+ if _content_type:
328
+ _header_params['Content-Type'] = _content_type
329
+ else:
330
+ _default_content_type = (
331
+ self.api_client.select_header_content_type(
332
+ [
333
+ 'application/json'
334
+ ]
335
+ )
336
+ )
337
+ if _default_content_type is not None:
338
+ _header_params['Content-Type'] = _default_content_type
339
+
340
+ # authentication setting
341
+ _auth_settings: List[str] = [
342
+ 'HeaderApiKey'
343
+ ]
344
+
345
+ return self.api_client.param_serialize(
346
+ method='POST',
347
+ resource_path='/api/marketplace/v3/dbs/meta/customs-declaration',
348
+ path_params=_path_params,
349
+ query_params=_query_params,
350
+ header_params=_header_params,
351
+ body=_body_params,
352
+ post_params=_form_params,
353
+ files=_files,
354
+ auth_settings=_auth_settings,
355
+ collection_formats=_collection_formats,
356
+ _host=_host,
357
+ _request_auth=_request_auth
358
+ )
359
+
360
+
361
+
362
+
363
+ @validate_call
364
+ def api_marketplace_v3_dbs_orders_meta_delete_post(
365
+ self,
366
+ api_orders_meta_delete_request: Optional[ApiOrdersMetaDeleteRequest] = None,
367
+ _request_timeout: Union[
368
+ None,
369
+ Annotated[StrictFloat, Field(gt=0)],
370
+ Tuple[
371
+ Annotated[StrictFloat, Field(gt=0)],
372
+ Annotated[StrictFloat, Field(gt=0)]
373
+ ]
374
+ ] = None,
375
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
376
+ _content_type: Optional[StrictStr] = None,
377
+ _headers: Optional[Dict[StrictStr, Any]] = None,
378
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
379
+ ) -> ApiStatusSetResponses:
380
+ """Удалить метаданные сборочных заданий
381
+
382
+ Метод удаляет значение указанных [метаданных](/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) - `customsDeclaration` — [номер ГТД](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1meta~1customs-declaration/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>
383
+
384
+ :param api_orders_meta_delete_request:
385
+ :type api_orders_meta_delete_request: ApiOrdersMetaDeleteRequest
386
+ :param _request_timeout: timeout setting for this request. If one
387
+ number provided, it will be total request
388
+ timeout. It can also be a pair (tuple) of
389
+ (connection, read) timeouts.
390
+ :type _request_timeout: int, tuple(int, int), optional
391
+ :param _request_auth: set to override the auth_settings for an a single
392
+ request; this effectively ignores the
393
+ authentication in the spec for a single request.
394
+ :type _request_auth: dict, optional
395
+ :param _content_type: force content-type for the request.
396
+ :type _content_type: str, Optional
397
+ :param _headers: set to override the headers for a single
398
+ request; this effectively ignores the headers
399
+ in the spec for a single request.
400
+ :type _headers: dict, optional
401
+ :param _host_index: set to override the host_index for a single
402
+ request; this effectively ignores the host_index
403
+ in the spec for a single request.
404
+ :type _host_index: int, optional
405
+ :return: Returns the result object.
406
+ """ # noqa: E501
407
+
408
+ _param = self._api_marketplace_v3_dbs_orders_meta_delete_post_serialize(
409
+ api_orders_meta_delete_request=api_orders_meta_delete_request,
410
+ _request_auth=_request_auth,
411
+ _content_type=_content_type,
412
+ _headers=_headers,
413
+ _host_index=_host_index
414
+ )
415
+
416
+ _response_types_map: Dict[str, Optional[str]] = {
417
+ '200': "ApiStatusSetResponses",
418
+ '400': "ApiBatchError",
419
+ '401': "ApiV3DbsOrdersNewGet401Response",
420
+ '403': "ApiBatchError",
421
+ '409': "ApiError",
422
+ '429': "ApiV3DbsOrdersNewGet401Response",
423
+ }
424
+ response_data = self.api_client.call_api(
425
+ *_param,
426
+ _request_timeout=_request_timeout
427
+ )
428
+ response_data.read()
429
+ return self.api_client.response_deserialize(
430
+ response_data=response_data,
431
+ response_types_map=_response_types_map,
432
+ ).data
433
+
434
+
435
+ @validate_call
436
+ def api_marketplace_v3_dbs_orders_meta_delete_post_with_http_info(
437
+ self,
438
+ api_orders_meta_delete_request: Optional[ApiOrdersMetaDeleteRequest] = None,
439
+ _request_timeout: Union[
440
+ None,
441
+ Annotated[StrictFloat, Field(gt=0)],
442
+ Tuple[
443
+ Annotated[StrictFloat, Field(gt=0)],
444
+ Annotated[StrictFloat, Field(gt=0)]
445
+ ]
446
+ ] = None,
447
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
448
+ _content_type: Optional[StrictStr] = None,
449
+ _headers: Optional[Dict[StrictStr, Any]] = None,
450
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
451
+ ) -> ApiResponse[ApiStatusSetResponses]:
452
+ """Удалить метаданные сборочных заданий
453
+
454
+ Метод удаляет значение указанных [метаданных](/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) - `customsDeclaration` — [номер ГТД](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1meta~1customs-declaration/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>
455
+
456
+ :param api_orders_meta_delete_request:
457
+ :type api_orders_meta_delete_request: ApiOrdersMetaDeleteRequest
458
+ :param _request_timeout: timeout setting for this request. If one
459
+ number provided, it will be total request
460
+ timeout. It can also be a pair (tuple) of
461
+ (connection, read) timeouts.
462
+ :type _request_timeout: int, tuple(int, int), optional
463
+ :param _request_auth: set to override the auth_settings for an a single
464
+ request; this effectively ignores the
465
+ authentication in the spec for a single request.
466
+ :type _request_auth: dict, optional
467
+ :param _content_type: force content-type for the request.
468
+ :type _content_type: str, Optional
469
+ :param _headers: set to override the headers for a single
470
+ request; this effectively ignores the headers
471
+ in the spec for a single request.
472
+ :type _headers: dict, optional
473
+ :param _host_index: set to override the host_index for a single
474
+ request; this effectively ignores the host_index
475
+ in the spec for a single request.
476
+ :type _host_index: int, optional
477
+ :return: Returns the result object.
478
+ """ # noqa: E501
479
+
480
+ _param = self._api_marketplace_v3_dbs_orders_meta_delete_post_serialize(
481
+ api_orders_meta_delete_request=api_orders_meta_delete_request,
482
+ _request_auth=_request_auth,
483
+ _content_type=_content_type,
484
+ _headers=_headers,
485
+ _host_index=_host_index
486
+ )
487
+
488
+ _response_types_map: Dict[str, Optional[str]] = {
489
+ '200': "ApiStatusSetResponses",
490
+ '400': "ApiBatchError",
491
+ '401': "ApiV3DbsOrdersNewGet401Response",
492
+ '403': "ApiBatchError",
493
+ '409': "ApiError",
494
+ '429': "ApiV3DbsOrdersNewGet401Response",
495
+ }
496
+ response_data = self.api_client.call_api(
497
+ *_param,
498
+ _request_timeout=_request_timeout
499
+ )
500
+ response_data.read()
501
+ return self.api_client.response_deserialize(
502
+ response_data=response_data,
503
+ response_types_map=_response_types_map,
504
+ )
505
+
506
+
507
+ @validate_call
508
+ def api_marketplace_v3_dbs_orders_meta_delete_post_without_preload_content(
509
+ self,
510
+ api_orders_meta_delete_request: Optional[ApiOrdersMetaDeleteRequest] = None,
511
+ _request_timeout: Union[
512
+ None,
513
+ Annotated[StrictFloat, Field(gt=0)],
514
+ Tuple[
515
+ Annotated[StrictFloat, Field(gt=0)],
516
+ Annotated[StrictFloat, Field(gt=0)]
517
+ ]
518
+ ] = None,
519
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
520
+ _content_type: Optional[StrictStr] = None,
521
+ _headers: Optional[Dict[StrictStr, Any]] = None,
522
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
523
+ ) -> RESTResponseType:
524
+ """Удалить метаданные сборочных заданий
525
+
526
+ Метод удаляет значение указанных [метаданных](/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) - `customsDeclaration` — [номер ГТД](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1meta~1customs-declaration/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>
527
+
528
+ :param api_orders_meta_delete_request:
529
+ :type api_orders_meta_delete_request: ApiOrdersMetaDeleteRequest
530
+ :param _request_timeout: timeout setting for this request. If one
531
+ number provided, it will be total request
532
+ timeout. It can also be a pair (tuple) of
533
+ (connection, read) timeouts.
534
+ :type _request_timeout: int, tuple(int, int), optional
535
+ :param _request_auth: set to override the auth_settings for an a single
536
+ request; this effectively ignores the
537
+ authentication in the spec for a single request.
538
+ :type _request_auth: dict, optional
539
+ :param _content_type: force content-type for the request.
540
+ :type _content_type: str, Optional
541
+ :param _headers: set to override the headers for a single
542
+ request; this effectively ignores the headers
543
+ in the spec for a single request.
544
+ :type _headers: dict, optional
545
+ :param _host_index: set to override the host_index for a single
546
+ request; this effectively ignores the host_index
547
+ in the spec for a single request.
548
+ :type _host_index: int, optional
549
+ :return: Returns the result object.
550
+ """ # noqa: E501
551
+
552
+ _param = self._api_marketplace_v3_dbs_orders_meta_delete_post_serialize(
553
+ api_orders_meta_delete_request=api_orders_meta_delete_request,
554
+ _request_auth=_request_auth,
555
+ _content_type=_content_type,
556
+ _headers=_headers,
557
+ _host_index=_host_index
558
+ )
559
+
560
+ _response_types_map: Dict[str, Optional[str]] = {
561
+ '200': "ApiStatusSetResponses",
562
+ '400': "ApiBatchError",
563
+ '401': "ApiV3DbsOrdersNewGet401Response",
564
+ '403': "ApiBatchError",
565
+ '409': "ApiError",
566
+ '429': "ApiV3DbsOrdersNewGet401Response",
567
+ }
568
+ response_data = self.api_client.call_api(
569
+ *_param,
570
+ _request_timeout=_request_timeout
571
+ )
572
+ return response_data.response
573
+
574
+
575
+ def _api_marketplace_v3_dbs_orders_meta_delete_post_serialize(
576
+ self,
577
+ api_orders_meta_delete_request,
578
+ _request_auth,
579
+ _content_type,
580
+ _headers,
581
+ _host_index,
582
+ ) -> RequestSerialized:
583
+
584
+ _hosts = [
585
+ 'https://marketplace-api.wildberries.ru'
586
+ ]
587
+ _host = _hosts[_host_index]
588
+
589
+ _collection_formats: Dict[str, str] = {
590
+ }
591
+
592
+ _path_params: Dict[str, str] = {}
593
+ _query_params: List[Tuple[str, str]] = []
594
+ _header_params: Dict[str, Optional[str]] = _headers or {}
595
+ _form_params: List[Tuple[str, str]] = []
596
+ _files: Dict[
597
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
598
+ ] = {}
599
+ _body_params: Optional[bytes] = None
600
+
601
+ # process the path parameters
602
+ # process the query parameters
603
+ # process the header parameters
604
+ # process the form parameters
605
+ # process the body parameter
606
+ if api_orders_meta_delete_request is not None:
607
+ _body_params = api_orders_meta_delete_request
608
+
609
+
610
+ # set the HTTP header `Accept`
611
+ if 'Accept' not in _header_params:
612
+ _header_params['Accept'] = self.api_client.select_header_accept(
613
+ [
614
+ 'application/json'
615
+ ]
616
+ )
617
+
618
+ # set the HTTP header `Content-Type`
619
+ if _content_type:
620
+ _header_params['Content-Type'] = _content_type
621
+ else:
622
+ _default_content_type = (
623
+ self.api_client.select_header_content_type(
624
+ [
625
+ 'application/json'
626
+ ]
627
+ )
628
+ )
629
+ if _default_content_type is not None:
630
+ _header_params['Content-Type'] = _default_content_type
631
+
632
+ # authentication setting
633
+ _auth_settings: List[str] = [
634
+ 'HeaderApiKey'
635
+ ]
636
+
637
+ return self.api_client.param_serialize(
638
+ method='POST',
639
+ resource_path='/api/marketplace/v3/dbs/orders/meta/delete',
640
+ path_params=_path_params,
641
+ query_params=_query_params,
642
+ header_params=_header_params,
643
+ body=_body_params,
644
+ post_params=_form_params,
645
+ files=_files,
646
+ auth_settings=_auth_settings,
647
+ collection_formats=_collection_formats,
648
+ _host=_host,
649
+ _request_auth=_request_auth
650
+ )
651
+
652
+
653
+
654
+
655
+ @validate_call
656
+ def api_marketplace_v3_dbs_orders_meta_gtin_post(
657
+ self,
658
+ api_orders_gtin_set_request: Optional[ApiOrdersGTINSetRequest] = None,
659
+ _request_timeout: Union[
660
+ None,
661
+ Annotated[StrictFloat, Field(gt=0)],
662
+ Tuple[
663
+ Annotated[StrictFloat, Field(gt=0)],
664
+ Annotated[StrictFloat, Field(gt=0)]
665
+ ]
666
+ ] = None,
667
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
668
+ _content_type: Optional[StrictStr] = None,
669
+ _headers: Optional[Dict[StrictStr, Any]] = None,
670
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
671
+ ) -> ApiStatusSetResponses:
672
+ """Закрепить GTIN за сборочными заданиями
673
+
674
+ Метод обновляет 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>
675
+
676
+ :param api_orders_gtin_set_request:
677
+ :type api_orders_gtin_set_request: ApiOrdersGTINSetRequest
678
+ :param _request_timeout: timeout setting for this request. If one
679
+ number provided, it will be total request
680
+ timeout. It can also be a pair (tuple) of
681
+ (connection, read) timeouts.
682
+ :type _request_timeout: int, tuple(int, int), optional
683
+ :param _request_auth: set to override the auth_settings for an a single
684
+ request; this effectively ignores the
685
+ authentication in the spec for a single request.
686
+ :type _request_auth: dict, optional
687
+ :param _content_type: force content-type for the request.
688
+ :type _content_type: str, Optional
689
+ :param _headers: set to override the headers for a single
690
+ request; this effectively ignores the headers
691
+ in the spec for a single request.
692
+ :type _headers: dict, optional
693
+ :param _host_index: set to override the host_index for a single
694
+ request; this effectively ignores the host_index
695
+ in the spec for a single request.
696
+ :type _host_index: int, optional
697
+ :return: Returns the result object.
698
+ """ # noqa: E501
699
+
700
+ _param = self._api_marketplace_v3_dbs_orders_meta_gtin_post_serialize(
701
+ api_orders_gtin_set_request=api_orders_gtin_set_request,
702
+ _request_auth=_request_auth,
703
+ _content_type=_content_type,
704
+ _headers=_headers,
705
+ _host_index=_host_index
706
+ )
707
+
708
+ _response_types_map: Dict[str, Optional[str]] = {
709
+ '200': "ApiStatusSetResponses",
710
+ '400': "ApiBatchError",
711
+ '401': "ApiV3DbsOrdersNewGet401Response",
712
+ '403': "ApiBatchError",
713
+ '409': "ApiError",
714
+ '429': "ApiV3DbsOrdersNewGet401Response",
715
+ }
716
+ response_data = self.api_client.call_api(
717
+ *_param,
718
+ _request_timeout=_request_timeout
719
+ )
720
+ response_data.read()
721
+ return self.api_client.response_deserialize(
722
+ response_data=response_data,
723
+ response_types_map=_response_types_map,
724
+ ).data
725
+
726
+
727
+ @validate_call
728
+ def api_marketplace_v3_dbs_orders_meta_gtin_post_with_http_info(
729
+ self,
730
+ api_orders_gtin_set_request: Optional[ApiOrdersGTINSetRequest] = None,
731
+ _request_timeout: Union[
732
+ None,
733
+ Annotated[StrictFloat, Field(gt=0)],
734
+ Tuple[
735
+ Annotated[StrictFloat, Field(gt=0)],
736
+ Annotated[StrictFloat, Field(gt=0)]
737
+ ]
738
+ ] = None,
739
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
740
+ _content_type: Optional[StrictStr] = None,
741
+ _headers: Optional[Dict[StrictStr, Any]] = None,
742
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
743
+ ) -> ApiResponse[ApiStatusSetResponses]:
744
+ """Закрепить GTIN за сборочными заданиями
745
+
746
+ Метод обновляет 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>
747
+
748
+ :param api_orders_gtin_set_request:
749
+ :type api_orders_gtin_set_request: ApiOrdersGTINSetRequest
750
+ :param _request_timeout: timeout setting for this request. If one
751
+ number provided, it will be total request
752
+ timeout. It can also be a pair (tuple) of
753
+ (connection, read) timeouts.
754
+ :type _request_timeout: int, tuple(int, int), optional
755
+ :param _request_auth: set to override the auth_settings for an a single
756
+ request; this effectively ignores the
757
+ authentication in the spec for a single request.
758
+ :type _request_auth: dict, optional
759
+ :param _content_type: force content-type for the request.
760
+ :type _content_type: str, Optional
761
+ :param _headers: set to override the headers for a single
762
+ request; this effectively ignores the headers
763
+ in the spec for a single request.
764
+ :type _headers: dict, optional
765
+ :param _host_index: set to override the host_index for a single
766
+ request; this effectively ignores the host_index
767
+ in the spec for a single request.
768
+ :type _host_index: int, optional
769
+ :return: Returns the result object.
770
+ """ # noqa: E501
771
+
772
+ _param = self._api_marketplace_v3_dbs_orders_meta_gtin_post_serialize(
773
+ api_orders_gtin_set_request=api_orders_gtin_set_request,
774
+ _request_auth=_request_auth,
775
+ _content_type=_content_type,
776
+ _headers=_headers,
777
+ _host_index=_host_index
778
+ )
779
+
780
+ _response_types_map: Dict[str, Optional[str]] = {
781
+ '200': "ApiStatusSetResponses",
782
+ '400': "ApiBatchError",
783
+ '401': "ApiV3DbsOrdersNewGet401Response",
784
+ '403': "ApiBatchError",
785
+ '409': "ApiError",
786
+ '429': "ApiV3DbsOrdersNewGet401Response",
787
+ }
788
+ response_data = self.api_client.call_api(
789
+ *_param,
790
+ _request_timeout=_request_timeout
791
+ )
792
+ response_data.read()
793
+ return self.api_client.response_deserialize(
794
+ response_data=response_data,
795
+ response_types_map=_response_types_map,
796
+ )
797
+
798
+
799
+ @validate_call
800
+ def api_marketplace_v3_dbs_orders_meta_gtin_post_without_preload_content(
801
+ self,
802
+ api_orders_gtin_set_request: Optional[ApiOrdersGTINSetRequest] = None,
803
+ _request_timeout: Union[
804
+ None,
805
+ Annotated[StrictFloat, Field(gt=0)],
806
+ Tuple[
807
+ Annotated[StrictFloat, Field(gt=0)],
808
+ Annotated[StrictFloat, Field(gt=0)]
809
+ ]
810
+ ] = None,
811
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
812
+ _content_type: Optional[StrictStr] = None,
813
+ _headers: Optional[Dict[StrictStr, Any]] = None,
814
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
815
+ ) -> RESTResponseType:
816
+ """Закрепить GTIN за сборочными заданиями
817
+
818
+ Метод обновляет 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>
819
+
820
+ :param api_orders_gtin_set_request:
821
+ :type api_orders_gtin_set_request: ApiOrdersGTINSetRequest
822
+ :param _request_timeout: timeout setting for this request. If one
823
+ number provided, it will be total request
824
+ timeout. It can also be a pair (tuple) of
825
+ (connection, read) timeouts.
826
+ :type _request_timeout: int, tuple(int, int), optional
827
+ :param _request_auth: set to override the auth_settings for an a single
828
+ request; this effectively ignores the
829
+ authentication in the spec for a single request.
830
+ :type _request_auth: dict, optional
831
+ :param _content_type: force content-type for the request.
832
+ :type _content_type: str, Optional
833
+ :param _headers: set to override the headers for a single
834
+ request; this effectively ignores the headers
835
+ in the spec for a single request.
836
+ :type _headers: dict, optional
837
+ :param _host_index: set to override the host_index for a single
838
+ request; this effectively ignores the host_index
839
+ in the spec for a single request.
840
+ :type _host_index: int, optional
841
+ :return: Returns the result object.
842
+ """ # noqa: E501
843
+
844
+ _param = self._api_marketplace_v3_dbs_orders_meta_gtin_post_serialize(
845
+ api_orders_gtin_set_request=api_orders_gtin_set_request,
846
+ _request_auth=_request_auth,
847
+ _content_type=_content_type,
848
+ _headers=_headers,
849
+ _host_index=_host_index
850
+ )
851
+
852
+ _response_types_map: Dict[str, Optional[str]] = {
853
+ '200': "ApiStatusSetResponses",
854
+ '400': "ApiBatchError",
855
+ '401': "ApiV3DbsOrdersNewGet401Response",
856
+ '403': "ApiBatchError",
857
+ '409': "ApiError",
858
+ '429': "ApiV3DbsOrdersNewGet401Response",
859
+ }
860
+ response_data = self.api_client.call_api(
861
+ *_param,
862
+ _request_timeout=_request_timeout
863
+ )
864
+ return response_data.response
865
+
866
+
867
+ def _api_marketplace_v3_dbs_orders_meta_gtin_post_serialize(
868
+ self,
869
+ api_orders_gtin_set_request,
870
+ _request_auth,
871
+ _content_type,
872
+ _headers,
873
+ _host_index,
874
+ ) -> RequestSerialized:
875
+
876
+ _hosts = [
877
+ 'https://marketplace-api.wildberries.ru'
878
+ ]
879
+ _host = _hosts[_host_index]
880
+
881
+ _collection_formats: Dict[str, str] = {
882
+ }
883
+
884
+ _path_params: Dict[str, str] = {}
885
+ _query_params: List[Tuple[str, str]] = []
886
+ _header_params: Dict[str, Optional[str]] = _headers or {}
887
+ _form_params: List[Tuple[str, str]] = []
888
+ _files: Dict[
889
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
890
+ ] = {}
891
+ _body_params: Optional[bytes] = None
892
+
893
+ # process the path parameters
894
+ # process the query parameters
895
+ # process the header parameters
896
+ # process the form parameters
897
+ # process the body parameter
898
+ if api_orders_gtin_set_request is not None:
899
+ _body_params = api_orders_gtin_set_request
900
+
901
+
902
+ # set the HTTP header `Accept`
903
+ if 'Accept' not in _header_params:
904
+ _header_params['Accept'] = self.api_client.select_header_accept(
905
+ [
906
+ 'application/json'
907
+ ]
908
+ )
909
+
910
+ # set the HTTP header `Content-Type`
911
+ if _content_type:
912
+ _header_params['Content-Type'] = _content_type
913
+ else:
914
+ _default_content_type = (
915
+ self.api_client.select_header_content_type(
916
+ [
917
+ 'application/json'
918
+ ]
919
+ )
920
+ )
921
+ if _default_content_type is not None:
922
+ _header_params['Content-Type'] = _default_content_type
923
+
924
+ # authentication setting
925
+ _auth_settings: List[str] = [
926
+ 'HeaderApiKey'
927
+ ]
928
+
929
+ return self.api_client.param_serialize(
930
+ method='POST',
931
+ resource_path='/api/marketplace/v3/dbs/orders/meta/gtin',
932
+ path_params=_path_params,
933
+ query_params=_query_params,
934
+ header_params=_header_params,
935
+ body=_body_params,
936
+ post_params=_form_params,
937
+ files=_files,
938
+ auth_settings=_auth_settings,
939
+ collection_formats=_collection_formats,
940
+ _host=_host,
941
+ _request_auth=_request_auth
942
+ )
943
+
944
+
945
+
946
+
947
+ @validate_call
948
+ def api_marketplace_v3_dbs_orders_meta_imei_post(
949
+ self,
950
+ api_orders_imei_set_request: Optional[ApiOrdersIMEISetRequest] = None,
951
+ _request_timeout: Union[
952
+ None,
953
+ Annotated[StrictFloat, Field(gt=0)],
954
+ Tuple[
955
+ Annotated[StrictFloat, Field(gt=0)],
956
+ Annotated[StrictFloat, Field(gt=0)]
957
+ ]
958
+ ] = None,
959
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
960
+ _content_type: Optional[StrictStr] = None,
961
+ _headers: Optional[Dict[StrictStr, Any]] = None,
962
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
963
+ ) -> ApiStatusSetResponses:
964
+ """Закрепить IMEI за сборочными заданиями
965
+
966
+ Метод обновляет 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>
967
+
968
+ :param api_orders_imei_set_request:
969
+ :type api_orders_imei_set_request: ApiOrdersIMEISetRequest
970
+ :param _request_timeout: timeout setting for this request. If one
971
+ number provided, it will be total request
972
+ timeout. It can also be a pair (tuple) of
973
+ (connection, read) timeouts.
974
+ :type _request_timeout: int, tuple(int, int), optional
975
+ :param _request_auth: set to override the auth_settings for an a single
976
+ request; this effectively ignores the
977
+ authentication in the spec for a single request.
978
+ :type _request_auth: dict, optional
979
+ :param _content_type: force content-type for the request.
980
+ :type _content_type: str, Optional
981
+ :param _headers: set to override the headers for a single
982
+ request; this effectively ignores the headers
983
+ in the spec for a single request.
984
+ :type _headers: dict, optional
985
+ :param _host_index: set to override the host_index for a single
986
+ request; this effectively ignores the host_index
987
+ in the spec for a single request.
988
+ :type _host_index: int, optional
989
+ :return: Returns the result object.
990
+ """ # noqa: E501
991
+
992
+ _param = self._api_marketplace_v3_dbs_orders_meta_imei_post_serialize(
993
+ api_orders_imei_set_request=api_orders_imei_set_request,
994
+ _request_auth=_request_auth,
995
+ _content_type=_content_type,
996
+ _headers=_headers,
997
+ _host_index=_host_index
998
+ )
999
+
1000
+ _response_types_map: Dict[str, Optional[str]] = {
1001
+ '200': "ApiStatusSetResponses",
1002
+ '400': "ApiBatchError",
1003
+ '401': "ApiV3DbsOrdersNewGet401Response",
1004
+ '403': "ApiBatchError",
1005
+ '409': "ApiError",
1006
+ '429': "ApiV3DbsOrdersNewGet401Response",
1007
+ }
1008
+ response_data = self.api_client.call_api(
1009
+ *_param,
1010
+ _request_timeout=_request_timeout
1011
+ )
1012
+ response_data.read()
1013
+ return self.api_client.response_deserialize(
1014
+ response_data=response_data,
1015
+ response_types_map=_response_types_map,
1016
+ ).data
1017
+
1018
+
1019
+ @validate_call
1020
+ def api_marketplace_v3_dbs_orders_meta_imei_post_with_http_info(
1021
+ self,
1022
+ api_orders_imei_set_request: Optional[ApiOrdersIMEISetRequest] = None,
1023
+ _request_timeout: Union[
1024
+ None,
1025
+ Annotated[StrictFloat, Field(gt=0)],
1026
+ Tuple[
1027
+ Annotated[StrictFloat, Field(gt=0)],
1028
+ Annotated[StrictFloat, Field(gt=0)]
1029
+ ]
1030
+ ] = None,
1031
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1032
+ _content_type: Optional[StrictStr] = None,
1033
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1034
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1035
+ ) -> ApiResponse[ApiStatusSetResponses]:
1036
+ """Закрепить IMEI за сборочными заданиями
1037
+
1038
+ Метод обновляет 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>
1039
+
1040
+ :param api_orders_imei_set_request:
1041
+ :type api_orders_imei_set_request: ApiOrdersIMEISetRequest
1042
+ :param _request_timeout: timeout setting for this request. If one
1043
+ number provided, it will be total request
1044
+ timeout. It can also be a pair (tuple) of
1045
+ (connection, read) timeouts.
1046
+ :type _request_timeout: int, tuple(int, int), optional
1047
+ :param _request_auth: set to override the auth_settings for an a single
1048
+ request; this effectively ignores the
1049
+ authentication in the spec for a single request.
1050
+ :type _request_auth: dict, optional
1051
+ :param _content_type: force content-type for the request.
1052
+ :type _content_type: str, Optional
1053
+ :param _headers: set to override the headers for a single
1054
+ request; this effectively ignores the headers
1055
+ in the spec for a single request.
1056
+ :type _headers: dict, optional
1057
+ :param _host_index: set to override the host_index for a single
1058
+ request; this effectively ignores the host_index
1059
+ in the spec for a single request.
1060
+ :type _host_index: int, optional
1061
+ :return: Returns the result object.
1062
+ """ # noqa: E501
1063
+
1064
+ _param = self._api_marketplace_v3_dbs_orders_meta_imei_post_serialize(
1065
+ api_orders_imei_set_request=api_orders_imei_set_request,
1066
+ _request_auth=_request_auth,
1067
+ _content_type=_content_type,
1068
+ _headers=_headers,
1069
+ _host_index=_host_index
1070
+ )
1071
+
1072
+ _response_types_map: Dict[str, Optional[str]] = {
1073
+ '200': "ApiStatusSetResponses",
1074
+ '400': "ApiBatchError",
1075
+ '401': "ApiV3DbsOrdersNewGet401Response",
1076
+ '403': "ApiBatchError",
1077
+ '409': "ApiError",
1078
+ '429': "ApiV3DbsOrdersNewGet401Response",
1079
+ }
1080
+ response_data = self.api_client.call_api(
1081
+ *_param,
1082
+ _request_timeout=_request_timeout
1083
+ )
1084
+ response_data.read()
1085
+ return self.api_client.response_deserialize(
1086
+ response_data=response_data,
1087
+ response_types_map=_response_types_map,
1088
+ )
1089
+
1090
+
1091
+ @validate_call
1092
+ def api_marketplace_v3_dbs_orders_meta_imei_post_without_preload_content(
1093
+ self,
1094
+ api_orders_imei_set_request: Optional[ApiOrdersIMEISetRequest] = None,
1095
+ _request_timeout: Union[
1096
+ None,
1097
+ Annotated[StrictFloat, Field(gt=0)],
1098
+ Tuple[
1099
+ Annotated[StrictFloat, Field(gt=0)],
1100
+ Annotated[StrictFloat, Field(gt=0)]
1101
+ ]
1102
+ ] = None,
1103
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1104
+ _content_type: Optional[StrictStr] = None,
1105
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1106
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1107
+ ) -> RESTResponseType:
1108
+ """Закрепить IMEI за сборочными заданиями
1109
+
1110
+ Метод обновляет 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>
1111
+
1112
+ :param api_orders_imei_set_request:
1113
+ :type api_orders_imei_set_request: ApiOrdersIMEISetRequest
1114
+ :param _request_timeout: timeout setting for this request. If one
1115
+ number provided, it will be total request
1116
+ timeout. It can also be a pair (tuple) of
1117
+ (connection, read) timeouts.
1118
+ :type _request_timeout: int, tuple(int, int), optional
1119
+ :param _request_auth: set to override the auth_settings for an a single
1120
+ request; this effectively ignores the
1121
+ authentication in the spec for a single request.
1122
+ :type _request_auth: dict, optional
1123
+ :param _content_type: force content-type for the request.
1124
+ :type _content_type: str, Optional
1125
+ :param _headers: set to override the headers for a single
1126
+ request; this effectively ignores the headers
1127
+ in the spec for a single request.
1128
+ :type _headers: dict, optional
1129
+ :param _host_index: set to override the host_index for a single
1130
+ request; this effectively ignores the host_index
1131
+ in the spec for a single request.
1132
+ :type _host_index: int, optional
1133
+ :return: Returns the result object.
1134
+ """ # noqa: E501
1135
+
1136
+ _param = self._api_marketplace_v3_dbs_orders_meta_imei_post_serialize(
1137
+ api_orders_imei_set_request=api_orders_imei_set_request,
1138
+ _request_auth=_request_auth,
1139
+ _content_type=_content_type,
1140
+ _headers=_headers,
1141
+ _host_index=_host_index
1142
+ )
1143
+
1144
+ _response_types_map: Dict[str, Optional[str]] = {
1145
+ '200': "ApiStatusSetResponses",
1146
+ '400': "ApiBatchError",
1147
+ '401': "ApiV3DbsOrdersNewGet401Response",
1148
+ '403': "ApiBatchError",
1149
+ '409': "ApiError",
1150
+ '429': "ApiV3DbsOrdersNewGet401Response",
1151
+ }
1152
+ response_data = self.api_client.call_api(
1153
+ *_param,
1154
+ _request_timeout=_request_timeout
1155
+ )
1156
+ return response_data.response
1157
+
1158
+
1159
+ def _api_marketplace_v3_dbs_orders_meta_imei_post_serialize(
1160
+ self,
1161
+ api_orders_imei_set_request,
1162
+ _request_auth,
1163
+ _content_type,
1164
+ _headers,
1165
+ _host_index,
1166
+ ) -> RequestSerialized:
1167
+
1168
+ _hosts = [
1169
+ 'https://marketplace-api.wildberries.ru'
1170
+ ]
1171
+ _host = _hosts[_host_index]
1172
+
1173
+ _collection_formats: Dict[str, str] = {
1174
+ }
1175
+
1176
+ _path_params: Dict[str, str] = {}
1177
+ _query_params: List[Tuple[str, str]] = []
1178
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1179
+ _form_params: List[Tuple[str, str]] = []
1180
+ _files: Dict[
1181
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1182
+ ] = {}
1183
+ _body_params: Optional[bytes] = None
1184
+
1185
+ # process the path parameters
1186
+ # process the query parameters
1187
+ # process the header parameters
1188
+ # process the form parameters
1189
+ # process the body parameter
1190
+ if api_orders_imei_set_request is not None:
1191
+ _body_params = api_orders_imei_set_request
1192
+
1193
+
1194
+ # set the HTTP header `Accept`
1195
+ if 'Accept' not in _header_params:
1196
+ _header_params['Accept'] = self.api_client.select_header_accept(
1197
+ [
1198
+ 'application/json'
1199
+ ]
1200
+ )
1201
+
1202
+ # set the HTTP header `Content-Type`
1203
+ if _content_type:
1204
+ _header_params['Content-Type'] = _content_type
1205
+ else:
1206
+ _default_content_type = (
1207
+ self.api_client.select_header_content_type(
1208
+ [
1209
+ 'application/json'
1210
+ ]
1211
+ )
1212
+ )
1213
+ if _default_content_type is not None:
1214
+ _header_params['Content-Type'] = _default_content_type
1215
+
1216
+ # authentication setting
1217
+ _auth_settings: List[str] = [
1218
+ 'HeaderApiKey'
1219
+ ]
1220
+
1221
+ return self.api_client.param_serialize(
1222
+ method='POST',
1223
+ resource_path='/api/marketplace/v3/dbs/orders/meta/imei',
1224
+ path_params=_path_params,
1225
+ query_params=_query_params,
1226
+ header_params=_header_params,
1227
+ body=_body_params,
1228
+ post_params=_form_params,
1229
+ files=_files,
1230
+ auth_settings=_auth_settings,
1231
+ collection_formats=_collection_formats,
1232
+ _host=_host,
1233
+ _request_auth=_request_auth
1234
+ )
1235
+
1236
+
1237
+
1238
+
1239
+ @validate_call
1240
+ def api_marketplace_v3_dbs_orders_meta_info_post(
1241
+ self,
1242
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
1243
+ _request_timeout: Union[
1244
+ None,
1245
+ Annotated[StrictFloat, Field(gt=0)],
1246
+ Tuple[
1247
+ Annotated[StrictFloat, Field(gt=0)],
1248
+ Annotated[StrictFloat, Field(gt=0)]
1249
+ ]
1250
+ ] = None,
1251
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1252
+ _content_type: Optional[StrictStr] = None,
1253
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1254
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1255
+ ) -> ApiOrdersMetaResponse:
1256
+ """Получить метаданные сборочных заданий
1257
+
1258
+ Метод возвращает метаданные [сборочных заданий](/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) - `customsDeclaration` — [номер ГТД](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1meta~1customs-declaration/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>
1259
+
1260
+ :param api_orders_request_v2:
1261
+ :type api_orders_request_v2: ApiOrdersRequestV2
1262
+ :param _request_timeout: timeout setting for this request. If one
1263
+ number provided, it will be total request
1264
+ timeout. It can also be a pair (tuple) of
1265
+ (connection, read) timeouts.
1266
+ :type _request_timeout: int, tuple(int, int), optional
1267
+ :param _request_auth: set to override the auth_settings for an a single
1268
+ request; this effectively ignores the
1269
+ authentication in the spec for a single request.
1270
+ :type _request_auth: dict, optional
1271
+ :param _content_type: force content-type for the request.
1272
+ :type _content_type: str, Optional
1273
+ :param _headers: set to override the headers for a single
1274
+ request; this effectively ignores the headers
1275
+ in the spec for a single request.
1276
+ :type _headers: dict, optional
1277
+ :param _host_index: set to override the host_index for a single
1278
+ request; this effectively ignores the host_index
1279
+ in the spec for a single request.
1280
+ :type _host_index: int, optional
1281
+ :return: Returns the result object.
1282
+ """ # noqa: E501
1283
+
1284
+ _param = self._api_marketplace_v3_dbs_orders_meta_info_post_serialize(
1285
+ api_orders_request_v2=api_orders_request_v2,
1286
+ _request_auth=_request_auth,
1287
+ _content_type=_content_type,
1288
+ _headers=_headers,
1289
+ _host_index=_host_index
1290
+ )
1291
+
1292
+ _response_types_map: Dict[str, Optional[str]] = {
1293
+ '200': "ApiOrdersMetaResponse",
1294
+ '400': "ApiBatchError",
1295
+ '401': "ApiV3DbsOrdersNewGet401Response",
1296
+ '403': "ApiBatchError",
1297
+ '429': "ApiV3DbsOrdersNewGet401Response",
1298
+ }
1299
+ response_data = self.api_client.call_api(
1300
+ *_param,
1301
+ _request_timeout=_request_timeout
1302
+ )
1303
+ response_data.read()
1304
+ return self.api_client.response_deserialize(
1305
+ response_data=response_data,
1306
+ response_types_map=_response_types_map,
1307
+ ).data
1308
+
1309
+
1310
+ @validate_call
1311
+ def api_marketplace_v3_dbs_orders_meta_info_post_with_http_info(
1312
+ self,
1313
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
1314
+ _request_timeout: Union[
1315
+ None,
1316
+ Annotated[StrictFloat, Field(gt=0)],
1317
+ Tuple[
1318
+ Annotated[StrictFloat, Field(gt=0)],
1319
+ Annotated[StrictFloat, Field(gt=0)]
1320
+ ]
1321
+ ] = None,
1322
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1323
+ _content_type: Optional[StrictStr] = None,
1324
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1325
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1326
+ ) -> ApiResponse[ApiOrdersMetaResponse]:
1327
+ """Получить метаданные сборочных заданий
1328
+
1329
+ Метод возвращает метаданные [сборочных заданий](/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) - `customsDeclaration` — [номер ГТД](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1meta~1customs-declaration/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>
1330
+
1331
+ :param api_orders_request_v2:
1332
+ :type api_orders_request_v2: ApiOrdersRequestV2
1333
+ :param _request_timeout: timeout setting for this request. If one
1334
+ number provided, it will be total request
1335
+ timeout. It can also be a pair (tuple) of
1336
+ (connection, read) timeouts.
1337
+ :type _request_timeout: int, tuple(int, int), optional
1338
+ :param _request_auth: set to override the auth_settings for an a single
1339
+ request; this effectively ignores the
1340
+ authentication in the spec for a single request.
1341
+ :type _request_auth: dict, optional
1342
+ :param _content_type: force content-type for the request.
1343
+ :type _content_type: str, Optional
1344
+ :param _headers: set to override the headers for a single
1345
+ request; this effectively ignores the headers
1346
+ in the spec for a single request.
1347
+ :type _headers: dict, optional
1348
+ :param _host_index: set to override the host_index for a single
1349
+ request; this effectively ignores the host_index
1350
+ in the spec for a single request.
1351
+ :type _host_index: int, optional
1352
+ :return: Returns the result object.
1353
+ """ # noqa: E501
1354
+
1355
+ _param = self._api_marketplace_v3_dbs_orders_meta_info_post_serialize(
1356
+ api_orders_request_v2=api_orders_request_v2,
1357
+ _request_auth=_request_auth,
1358
+ _content_type=_content_type,
1359
+ _headers=_headers,
1360
+ _host_index=_host_index
1361
+ )
1362
+
1363
+ _response_types_map: Dict[str, Optional[str]] = {
1364
+ '200': "ApiOrdersMetaResponse",
1365
+ '400': "ApiBatchError",
1366
+ '401': "ApiV3DbsOrdersNewGet401Response",
1367
+ '403': "ApiBatchError",
1368
+ '429': "ApiV3DbsOrdersNewGet401Response",
1369
+ }
1370
+ response_data = self.api_client.call_api(
1371
+ *_param,
1372
+ _request_timeout=_request_timeout
1373
+ )
1374
+ response_data.read()
1375
+ return self.api_client.response_deserialize(
1376
+ response_data=response_data,
1377
+ response_types_map=_response_types_map,
1378
+ )
1379
+
1380
+
1381
+ @validate_call
1382
+ def api_marketplace_v3_dbs_orders_meta_info_post_without_preload_content(
1383
+ self,
1384
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
1385
+ _request_timeout: Union[
1386
+ None,
1387
+ Annotated[StrictFloat, Field(gt=0)],
1388
+ Tuple[
1389
+ Annotated[StrictFloat, Field(gt=0)],
1390
+ Annotated[StrictFloat, Field(gt=0)]
1391
+ ]
1392
+ ] = None,
1393
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1394
+ _content_type: Optional[StrictStr] = None,
1395
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1396
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1397
+ ) -> RESTResponseType:
1398
+ """Получить метаданные сборочных заданий
1399
+
1400
+ Метод возвращает метаданные [сборочных заданий](/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) - `customsDeclaration` — [номер ГТД](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1meta~1customs-declaration/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>
1401
+
1402
+ :param api_orders_request_v2:
1403
+ :type api_orders_request_v2: ApiOrdersRequestV2
1404
+ :param _request_timeout: timeout setting for this request. If one
1405
+ number provided, it will be total request
1406
+ timeout. It can also be a pair (tuple) of
1407
+ (connection, read) timeouts.
1408
+ :type _request_timeout: int, tuple(int, int), optional
1409
+ :param _request_auth: set to override the auth_settings for an a single
1410
+ request; this effectively ignores the
1411
+ authentication in the spec for a single request.
1412
+ :type _request_auth: dict, optional
1413
+ :param _content_type: force content-type for the request.
1414
+ :type _content_type: str, Optional
1415
+ :param _headers: set to override the headers for a single
1416
+ request; this effectively ignores the headers
1417
+ in the spec for a single request.
1418
+ :type _headers: dict, optional
1419
+ :param _host_index: set to override the host_index for a single
1420
+ request; this effectively ignores the host_index
1421
+ in the spec for a single request.
1422
+ :type _host_index: int, optional
1423
+ :return: Returns the result object.
1424
+ """ # noqa: E501
1425
+
1426
+ _param = self._api_marketplace_v3_dbs_orders_meta_info_post_serialize(
1427
+ api_orders_request_v2=api_orders_request_v2,
1428
+ _request_auth=_request_auth,
1429
+ _content_type=_content_type,
1430
+ _headers=_headers,
1431
+ _host_index=_host_index
1432
+ )
1433
+
1434
+ _response_types_map: Dict[str, Optional[str]] = {
1435
+ '200': "ApiOrdersMetaResponse",
1436
+ '400': "ApiBatchError",
1437
+ '401': "ApiV3DbsOrdersNewGet401Response",
1438
+ '403': "ApiBatchError",
1439
+ '429': "ApiV3DbsOrdersNewGet401Response",
1440
+ }
1441
+ response_data = self.api_client.call_api(
1442
+ *_param,
1443
+ _request_timeout=_request_timeout
1444
+ )
1445
+ return response_data.response
1446
+
1447
+
1448
+ def _api_marketplace_v3_dbs_orders_meta_info_post_serialize(
1449
+ self,
1450
+ api_orders_request_v2,
1451
+ _request_auth,
1452
+ _content_type,
1453
+ _headers,
1454
+ _host_index,
1455
+ ) -> RequestSerialized:
1456
+
1457
+ _hosts = [
1458
+ 'https://marketplace-api.wildberries.ru'
1459
+ ]
1460
+ _host = _hosts[_host_index]
1461
+
1462
+ _collection_formats: Dict[str, str] = {
1463
+ }
1464
+
1465
+ _path_params: Dict[str, str] = {}
1466
+ _query_params: List[Tuple[str, str]] = []
1467
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1468
+ _form_params: List[Tuple[str, str]] = []
1469
+ _files: Dict[
1470
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1471
+ ] = {}
1472
+ _body_params: Optional[bytes] = None
1473
+
1474
+ # process the path parameters
1475
+ # process the query parameters
1476
+ # process the header parameters
1477
+ # process the form parameters
1478
+ # process the body parameter
1479
+ if api_orders_request_v2 is not None:
1480
+ _body_params = api_orders_request_v2
1481
+
1482
+
1483
+ # set the HTTP header `Accept`
1484
+ if 'Accept' not in _header_params:
1485
+ _header_params['Accept'] = self.api_client.select_header_accept(
1486
+ [
1487
+ 'application/json'
1488
+ ]
1489
+ )
1490
+
1491
+ # set the HTTP header `Content-Type`
1492
+ if _content_type:
1493
+ _header_params['Content-Type'] = _content_type
1494
+ else:
1495
+ _default_content_type = (
1496
+ self.api_client.select_header_content_type(
1497
+ [
1498
+ 'application/json'
1499
+ ]
1500
+ )
1501
+ )
1502
+ if _default_content_type is not None:
1503
+ _header_params['Content-Type'] = _default_content_type
1504
+
1505
+ # authentication setting
1506
+ _auth_settings: List[str] = [
1507
+ 'HeaderApiKey'
1508
+ ]
1509
+
1510
+ return self.api_client.param_serialize(
1511
+ method='POST',
1512
+ resource_path='/api/marketplace/v3/dbs/orders/meta/info',
1513
+ path_params=_path_params,
1514
+ query_params=_query_params,
1515
+ header_params=_header_params,
1516
+ body=_body_params,
1517
+ post_params=_form_params,
1518
+ files=_files,
1519
+ auth_settings=_auth_settings,
1520
+ collection_formats=_collection_formats,
1521
+ _host=_host,
1522
+ _request_auth=_request_auth
1523
+ )
1524
+
1525
+
1526
+
1527
+
1528
+ @validate_call
1529
+ def api_marketplace_v3_dbs_orders_meta_sgtin_post(
1530
+ self,
1531
+ api_orders_sgtins_set_request: Optional[ApiOrdersSGTINsSetRequest] = None,
1532
+ _request_timeout: Union[
1533
+ None,
1534
+ Annotated[StrictFloat, Field(gt=0)],
1535
+ Tuple[
1536
+ Annotated[StrictFloat, Field(gt=0)],
1537
+ Annotated[StrictFloat, Field(gt=0)]
1538
+ ]
1539
+ ] = None,
1540
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1541
+ _content_type: Optional[StrictStr] = None,
1542
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1543
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1544
+ ) -> ApiStatusSetResponses:
1545
+ """Закрепить коды маркировки за сборочными заданиями
1546
+
1547
+ Метод обновляет код маркировки [Честный знак](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>
1548
+
1549
+ :param api_orders_sgtins_set_request:
1550
+ :type api_orders_sgtins_set_request: ApiOrdersSGTINsSetRequest
1551
+ :param _request_timeout: timeout setting for this request. If one
1552
+ number provided, it will be total request
1553
+ timeout. It can also be a pair (tuple) of
1554
+ (connection, read) timeouts.
1555
+ :type _request_timeout: int, tuple(int, int), optional
1556
+ :param _request_auth: set to override the auth_settings for an a single
1557
+ request; this effectively ignores the
1558
+ authentication in the spec for a single request.
1559
+ :type _request_auth: dict, optional
1560
+ :param _content_type: force content-type for the request.
1561
+ :type _content_type: str, Optional
1562
+ :param _headers: set to override the headers for a single
1563
+ request; this effectively ignores the headers
1564
+ in the spec for a single request.
1565
+ :type _headers: dict, optional
1566
+ :param _host_index: set to override the host_index for a single
1567
+ request; this effectively ignores the host_index
1568
+ in the spec for a single request.
1569
+ :type _host_index: int, optional
1570
+ :return: Returns the result object.
1571
+ """ # noqa: E501
1572
+
1573
+ _param = self._api_marketplace_v3_dbs_orders_meta_sgtin_post_serialize(
1574
+ api_orders_sgtins_set_request=api_orders_sgtins_set_request,
1575
+ _request_auth=_request_auth,
1576
+ _content_type=_content_type,
1577
+ _headers=_headers,
1578
+ _host_index=_host_index
1579
+ )
1580
+
1581
+ _response_types_map: Dict[str, Optional[str]] = {
1582
+ '200': "ApiStatusSetResponses",
1583
+ '400': "ApiBatchError",
1584
+ '401': "ApiV3DbsOrdersNewGet401Response",
1585
+ '403': "ApiBatchError",
1586
+ '409': "ApiError",
1587
+ '429': "ApiV3DbsOrdersNewGet401Response",
1588
+ }
1589
+ response_data = self.api_client.call_api(
1590
+ *_param,
1591
+ _request_timeout=_request_timeout
1592
+ )
1593
+ response_data.read()
1594
+ return self.api_client.response_deserialize(
1595
+ response_data=response_data,
1596
+ response_types_map=_response_types_map,
1597
+ ).data
1598
+
1599
+
1600
+ @validate_call
1601
+ def api_marketplace_v3_dbs_orders_meta_sgtin_post_with_http_info(
1602
+ self,
1603
+ api_orders_sgtins_set_request: Optional[ApiOrdersSGTINsSetRequest] = None,
1604
+ _request_timeout: Union[
1605
+ None,
1606
+ Annotated[StrictFloat, Field(gt=0)],
1607
+ Tuple[
1608
+ Annotated[StrictFloat, Field(gt=0)],
1609
+ Annotated[StrictFloat, Field(gt=0)]
1610
+ ]
1611
+ ] = None,
1612
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1613
+ _content_type: Optional[StrictStr] = None,
1614
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1615
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1616
+ ) -> ApiResponse[ApiStatusSetResponses]:
1617
+ """Закрепить коды маркировки за сборочными заданиями
1618
+
1619
+ Метод обновляет код маркировки [Честный знак](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>
1620
+
1621
+ :param api_orders_sgtins_set_request:
1622
+ :type api_orders_sgtins_set_request: ApiOrdersSGTINsSetRequest
1623
+ :param _request_timeout: timeout setting for this request. If one
1624
+ number provided, it will be total request
1625
+ timeout. It can also be a pair (tuple) of
1626
+ (connection, read) timeouts.
1627
+ :type _request_timeout: int, tuple(int, int), optional
1628
+ :param _request_auth: set to override the auth_settings for an a single
1629
+ request; this effectively ignores the
1630
+ authentication in the spec for a single request.
1631
+ :type _request_auth: dict, optional
1632
+ :param _content_type: force content-type for the request.
1633
+ :type _content_type: str, Optional
1634
+ :param _headers: set to override the headers for a single
1635
+ request; this effectively ignores the headers
1636
+ in the spec for a single request.
1637
+ :type _headers: dict, optional
1638
+ :param _host_index: set to override the host_index for a single
1639
+ request; this effectively ignores the host_index
1640
+ in the spec for a single request.
1641
+ :type _host_index: int, optional
1642
+ :return: Returns the result object.
1643
+ """ # noqa: E501
1644
+
1645
+ _param = self._api_marketplace_v3_dbs_orders_meta_sgtin_post_serialize(
1646
+ api_orders_sgtins_set_request=api_orders_sgtins_set_request,
1647
+ _request_auth=_request_auth,
1648
+ _content_type=_content_type,
1649
+ _headers=_headers,
1650
+ _host_index=_host_index
1651
+ )
1652
+
1653
+ _response_types_map: Dict[str, Optional[str]] = {
1654
+ '200': "ApiStatusSetResponses",
1655
+ '400': "ApiBatchError",
1656
+ '401': "ApiV3DbsOrdersNewGet401Response",
1657
+ '403': "ApiBatchError",
1658
+ '409': "ApiError",
1659
+ '429': "ApiV3DbsOrdersNewGet401Response",
1660
+ }
1661
+ response_data = self.api_client.call_api(
1662
+ *_param,
1663
+ _request_timeout=_request_timeout
1664
+ )
1665
+ response_data.read()
1666
+ return self.api_client.response_deserialize(
1667
+ response_data=response_data,
1668
+ response_types_map=_response_types_map,
1669
+ )
1670
+
1671
+
1672
+ @validate_call
1673
+ def api_marketplace_v3_dbs_orders_meta_sgtin_post_without_preload_content(
1674
+ self,
1675
+ api_orders_sgtins_set_request: Optional[ApiOrdersSGTINsSetRequest] = None,
1676
+ _request_timeout: Union[
1677
+ None,
1678
+ Annotated[StrictFloat, Field(gt=0)],
1679
+ Tuple[
1680
+ Annotated[StrictFloat, Field(gt=0)],
1681
+ Annotated[StrictFloat, Field(gt=0)]
1682
+ ]
1683
+ ] = None,
1684
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1685
+ _content_type: Optional[StrictStr] = None,
1686
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1687
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1688
+ ) -> RESTResponseType:
1689
+ """Закрепить коды маркировки за сборочными заданиями
1690
+
1691
+ Метод обновляет код маркировки [Честный знак](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>
1692
+
1693
+ :param api_orders_sgtins_set_request:
1694
+ :type api_orders_sgtins_set_request: ApiOrdersSGTINsSetRequest
1695
+ :param _request_timeout: timeout setting for this request. If one
1696
+ number provided, it will be total request
1697
+ timeout. It can also be a pair (tuple) of
1698
+ (connection, read) timeouts.
1699
+ :type _request_timeout: int, tuple(int, int), optional
1700
+ :param _request_auth: set to override the auth_settings for an a single
1701
+ request; this effectively ignores the
1702
+ authentication in the spec for a single request.
1703
+ :type _request_auth: dict, optional
1704
+ :param _content_type: force content-type for the request.
1705
+ :type _content_type: str, Optional
1706
+ :param _headers: set to override the headers for a single
1707
+ request; this effectively ignores the headers
1708
+ in the spec for a single request.
1709
+ :type _headers: dict, optional
1710
+ :param _host_index: set to override the host_index for a single
1711
+ request; this effectively ignores the host_index
1712
+ in the spec for a single request.
1713
+ :type _host_index: int, optional
1714
+ :return: Returns the result object.
1715
+ """ # noqa: E501
1716
+
1717
+ _param = self._api_marketplace_v3_dbs_orders_meta_sgtin_post_serialize(
1718
+ api_orders_sgtins_set_request=api_orders_sgtins_set_request,
1719
+ _request_auth=_request_auth,
1720
+ _content_type=_content_type,
1721
+ _headers=_headers,
1722
+ _host_index=_host_index
1723
+ )
1724
+
1725
+ _response_types_map: Dict[str, Optional[str]] = {
1726
+ '200': "ApiStatusSetResponses",
1727
+ '400': "ApiBatchError",
1728
+ '401': "ApiV3DbsOrdersNewGet401Response",
1729
+ '403': "ApiBatchError",
1730
+ '409': "ApiError",
1731
+ '429': "ApiV3DbsOrdersNewGet401Response",
1732
+ }
1733
+ response_data = self.api_client.call_api(
1734
+ *_param,
1735
+ _request_timeout=_request_timeout
1736
+ )
1737
+ return response_data.response
1738
+
1739
+
1740
+ def _api_marketplace_v3_dbs_orders_meta_sgtin_post_serialize(
1741
+ self,
1742
+ api_orders_sgtins_set_request,
1743
+ _request_auth,
1744
+ _content_type,
1745
+ _headers,
1746
+ _host_index,
1747
+ ) -> RequestSerialized:
1748
+
1749
+ _hosts = [
1750
+ 'https://marketplace-api.wildberries.ru'
1751
+ ]
1752
+ _host = _hosts[_host_index]
1753
+
1754
+ _collection_formats: Dict[str, str] = {
1755
+ }
1756
+
1757
+ _path_params: Dict[str, str] = {}
1758
+ _query_params: List[Tuple[str, str]] = []
1759
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1760
+ _form_params: List[Tuple[str, str]] = []
1761
+ _files: Dict[
1762
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1763
+ ] = {}
1764
+ _body_params: Optional[bytes] = None
1765
+
1766
+ # process the path parameters
1767
+ # process the query parameters
1768
+ # process the header parameters
1769
+ # process the form parameters
1770
+ # process the body parameter
1771
+ if api_orders_sgtins_set_request is not None:
1772
+ _body_params = api_orders_sgtins_set_request
1773
+
1774
+
1775
+ # set the HTTP header `Accept`
1776
+ if 'Accept' not in _header_params:
1777
+ _header_params['Accept'] = self.api_client.select_header_accept(
1778
+ [
1779
+ 'application/json'
1780
+ ]
1781
+ )
1782
+
1783
+ # set the HTTP header `Content-Type`
1784
+ if _content_type:
1785
+ _header_params['Content-Type'] = _content_type
1786
+ else:
1787
+ _default_content_type = (
1788
+ self.api_client.select_header_content_type(
1789
+ [
1790
+ 'application/json'
1791
+ ]
1792
+ )
1793
+ )
1794
+ if _default_content_type is not None:
1795
+ _header_params['Content-Type'] = _default_content_type
1796
+
1797
+ # authentication setting
1798
+ _auth_settings: List[str] = [
1799
+ 'HeaderApiKey'
1800
+ ]
1801
+
1802
+ return self.api_client.param_serialize(
1803
+ method='POST',
1804
+ resource_path='/api/marketplace/v3/dbs/orders/meta/sgtin',
1805
+ path_params=_path_params,
1806
+ query_params=_query_params,
1807
+ header_params=_header_params,
1808
+ body=_body_params,
1809
+ post_params=_form_params,
1810
+ files=_files,
1811
+ auth_settings=_auth_settings,
1812
+ collection_formats=_collection_formats,
1813
+ _host=_host,
1814
+ _request_auth=_request_auth
1815
+ )
1816
+
1817
+
1818
+
1819
+
1820
+ @validate_call
1821
+ def api_marketplace_v3_dbs_orders_meta_uin_post(
1822
+ self,
1823
+ api_orders_uin_set_request: Optional[ApiOrdersUINSetRequest] = None,
1824
+ _request_timeout: Union[
1825
+ None,
1826
+ Annotated[StrictFloat, Field(gt=0)],
1827
+ Tuple[
1828
+ Annotated[StrictFloat, Field(gt=0)],
1829
+ Annotated[StrictFloat, Field(gt=0)]
1830
+ ]
1831
+ ] = None,
1832
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1833
+ _content_type: Optional[StrictStr] = None,
1834
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1835
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1836
+ ) -> ApiStatusSetResponses:
1837
+ """Закрепить УИН за сборочными заданиями
1838
+
1839
+ Метод обновляет УИН, уникальный идентификационный номер, в [метаданных сборочных заданий](/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>
1840
+
1841
+ :param api_orders_uin_set_request:
1842
+ :type api_orders_uin_set_request: ApiOrdersUINSetRequest
1843
+ :param _request_timeout: timeout setting for this request. If one
1844
+ number provided, it will be total request
1845
+ timeout. It can also be a pair (tuple) of
1846
+ (connection, read) timeouts.
1847
+ :type _request_timeout: int, tuple(int, int), optional
1848
+ :param _request_auth: set to override the auth_settings for an a single
1849
+ request; this effectively ignores the
1850
+ authentication in the spec for a single request.
1851
+ :type _request_auth: dict, optional
1852
+ :param _content_type: force content-type for the request.
1853
+ :type _content_type: str, Optional
1854
+ :param _headers: set to override the headers for a single
1855
+ request; this effectively ignores the headers
1856
+ in the spec for a single request.
1857
+ :type _headers: dict, optional
1858
+ :param _host_index: set to override the host_index for a single
1859
+ request; this effectively ignores the host_index
1860
+ in the spec for a single request.
1861
+ :type _host_index: int, optional
1862
+ :return: Returns the result object.
1863
+ """ # noqa: E501
1864
+
1865
+ _param = self._api_marketplace_v3_dbs_orders_meta_uin_post_serialize(
1866
+ api_orders_uin_set_request=api_orders_uin_set_request,
1867
+ _request_auth=_request_auth,
1868
+ _content_type=_content_type,
1869
+ _headers=_headers,
1870
+ _host_index=_host_index
1871
+ )
1872
+
1873
+ _response_types_map: Dict[str, Optional[str]] = {
1874
+ '200': "ApiStatusSetResponses",
1875
+ '400': "ApiBatchError",
1876
+ '401': "ApiV3DbsOrdersNewGet401Response",
1877
+ '403': "ApiBatchError",
1878
+ '409': "ApiError",
1879
+ '429': "ApiV3DbsOrdersNewGet401Response",
1880
+ }
1881
+ response_data = self.api_client.call_api(
1882
+ *_param,
1883
+ _request_timeout=_request_timeout
1884
+ )
1885
+ response_data.read()
1886
+ return self.api_client.response_deserialize(
1887
+ response_data=response_data,
1888
+ response_types_map=_response_types_map,
1889
+ ).data
1890
+
1891
+
1892
+ @validate_call
1893
+ def api_marketplace_v3_dbs_orders_meta_uin_post_with_http_info(
1894
+ self,
1895
+ api_orders_uin_set_request: Optional[ApiOrdersUINSetRequest] = None,
1896
+ _request_timeout: Union[
1897
+ None,
1898
+ Annotated[StrictFloat, Field(gt=0)],
1899
+ Tuple[
1900
+ Annotated[StrictFloat, Field(gt=0)],
1901
+ Annotated[StrictFloat, Field(gt=0)]
1902
+ ]
1903
+ ] = None,
1904
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1905
+ _content_type: Optional[StrictStr] = None,
1906
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1907
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1908
+ ) -> ApiResponse[ApiStatusSetResponses]:
1909
+ """Закрепить УИН за сборочными заданиями
1910
+
1911
+ Метод обновляет УИН, уникальный идентификационный номер, в [метаданных сборочных заданий](/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>
1912
+
1913
+ :param api_orders_uin_set_request:
1914
+ :type api_orders_uin_set_request: ApiOrdersUINSetRequest
1915
+ :param _request_timeout: timeout setting for this request. If one
1916
+ number provided, it will be total request
1917
+ timeout. It can also be a pair (tuple) of
1918
+ (connection, read) timeouts.
1919
+ :type _request_timeout: int, tuple(int, int), optional
1920
+ :param _request_auth: set to override the auth_settings for an a single
1921
+ request; this effectively ignores the
1922
+ authentication in the spec for a single request.
1923
+ :type _request_auth: dict, optional
1924
+ :param _content_type: force content-type for the request.
1925
+ :type _content_type: str, Optional
1926
+ :param _headers: set to override the headers for a single
1927
+ request; this effectively ignores the headers
1928
+ in the spec for a single request.
1929
+ :type _headers: dict, optional
1930
+ :param _host_index: set to override the host_index for a single
1931
+ request; this effectively ignores the host_index
1932
+ in the spec for a single request.
1933
+ :type _host_index: int, optional
1934
+ :return: Returns the result object.
1935
+ """ # noqa: E501
1936
+
1937
+ _param = self._api_marketplace_v3_dbs_orders_meta_uin_post_serialize(
1938
+ api_orders_uin_set_request=api_orders_uin_set_request,
1939
+ _request_auth=_request_auth,
1940
+ _content_type=_content_type,
1941
+ _headers=_headers,
1942
+ _host_index=_host_index
1943
+ )
1944
+
1945
+ _response_types_map: Dict[str, Optional[str]] = {
1946
+ '200': "ApiStatusSetResponses",
1947
+ '400': "ApiBatchError",
1948
+ '401': "ApiV3DbsOrdersNewGet401Response",
1949
+ '403': "ApiBatchError",
1950
+ '409': "ApiError",
1951
+ '429': "ApiV3DbsOrdersNewGet401Response",
1952
+ }
1953
+ response_data = self.api_client.call_api(
1954
+ *_param,
1955
+ _request_timeout=_request_timeout
1956
+ )
1957
+ response_data.read()
1958
+ return self.api_client.response_deserialize(
1959
+ response_data=response_data,
1960
+ response_types_map=_response_types_map,
1961
+ )
1962
+
1963
+
1964
+ @validate_call
1965
+ def api_marketplace_v3_dbs_orders_meta_uin_post_without_preload_content(
1966
+ self,
1967
+ api_orders_uin_set_request: Optional[ApiOrdersUINSetRequest] = None,
1968
+ _request_timeout: Union[
1969
+ None,
1970
+ Annotated[StrictFloat, Field(gt=0)],
1971
+ Tuple[
1972
+ Annotated[StrictFloat, Field(gt=0)],
1973
+ Annotated[StrictFloat, Field(gt=0)]
1974
+ ]
1975
+ ] = None,
1976
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1977
+ _content_type: Optional[StrictStr] = None,
1978
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1979
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1980
+ ) -> RESTResponseType:
1981
+ """Закрепить УИН за сборочными заданиями
1982
+
1983
+ Метод обновляет УИН, уникальный идентификационный номер, в [метаданных сборочных заданий](/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>
1984
+
1985
+ :param api_orders_uin_set_request:
1986
+ :type api_orders_uin_set_request: ApiOrdersUINSetRequest
1987
+ :param _request_timeout: timeout setting for this request. If one
1988
+ number provided, it will be total request
1989
+ timeout. It can also be a pair (tuple) of
1990
+ (connection, read) timeouts.
1991
+ :type _request_timeout: int, tuple(int, int), optional
1992
+ :param _request_auth: set to override the auth_settings for an a single
1993
+ request; this effectively ignores the
1994
+ authentication in the spec for a single request.
1995
+ :type _request_auth: dict, optional
1996
+ :param _content_type: force content-type for the request.
1997
+ :type _content_type: str, Optional
1998
+ :param _headers: set to override the headers for a single
1999
+ request; this effectively ignores the headers
2000
+ in the spec for a single request.
2001
+ :type _headers: dict, optional
2002
+ :param _host_index: set to override the host_index for a single
2003
+ request; this effectively ignores the host_index
2004
+ in the spec for a single request.
2005
+ :type _host_index: int, optional
2006
+ :return: Returns the result object.
2007
+ """ # noqa: E501
2008
+
2009
+ _param = self._api_marketplace_v3_dbs_orders_meta_uin_post_serialize(
2010
+ api_orders_uin_set_request=api_orders_uin_set_request,
2011
+ _request_auth=_request_auth,
2012
+ _content_type=_content_type,
2013
+ _headers=_headers,
2014
+ _host_index=_host_index
2015
+ )
2016
+
2017
+ _response_types_map: Dict[str, Optional[str]] = {
2018
+ '200': "ApiStatusSetResponses",
2019
+ '400': "ApiBatchError",
2020
+ '401': "ApiV3DbsOrdersNewGet401Response",
2021
+ '403': "ApiBatchError",
2022
+ '409': "ApiError",
2023
+ '429': "ApiV3DbsOrdersNewGet401Response",
2024
+ }
2025
+ response_data = self.api_client.call_api(
2026
+ *_param,
2027
+ _request_timeout=_request_timeout
2028
+ )
2029
+ return response_data.response
2030
+
2031
+
2032
+ def _api_marketplace_v3_dbs_orders_meta_uin_post_serialize(
2033
+ self,
2034
+ api_orders_uin_set_request,
2035
+ _request_auth,
2036
+ _content_type,
2037
+ _headers,
2038
+ _host_index,
2039
+ ) -> RequestSerialized:
2040
+
2041
+ _hosts = [
2042
+ 'https://marketplace-api.wildberries.ru'
2043
+ ]
2044
+ _host = _hosts[_host_index]
2045
+
2046
+ _collection_formats: Dict[str, str] = {
2047
+ }
2048
+
2049
+ _path_params: Dict[str, str] = {}
2050
+ _query_params: List[Tuple[str, str]] = []
2051
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2052
+ _form_params: List[Tuple[str, str]] = []
2053
+ _files: Dict[
2054
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2055
+ ] = {}
2056
+ _body_params: Optional[bytes] = None
2057
+
2058
+ # process the path parameters
2059
+ # process the query parameters
2060
+ # process the header parameters
2061
+ # process the form parameters
2062
+ # process the body parameter
2063
+ if api_orders_uin_set_request is not None:
2064
+ _body_params = api_orders_uin_set_request
2065
+
2066
+
2067
+ # set the HTTP header `Accept`
2068
+ if 'Accept' not in _header_params:
2069
+ _header_params['Accept'] = self.api_client.select_header_accept(
2070
+ [
2071
+ 'application/json'
2072
+ ]
2073
+ )
2074
+
2075
+ # set the HTTP header `Content-Type`
2076
+ if _content_type:
2077
+ _header_params['Content-Type'] = _content_type
2078
+ else:
2079
+ _default_content_type = (
2080
+ self.api_client.select_header_content_type(
2081
+ [
2082
+ 'application/json'
2083
+ ]
2084
+ )
2085
+ )
2086
+ if _default_content_type is not None:
2087
+ _header_params['Content-Type'] = _default_content_type
2088
+
2089
+ # authentication setting
2090
+ _auth_settings: List[str] = [
2091
+ 'HeaderApiKey'
2092
+ ]
2093
+
2094
+ return self.api_client.param_serialize(
2095
+ method='POST',
2096
+ resource_path='/api/marketplace/v3/dbs/orders/meta/uin',
2097
+ path_params=_path_params,
2098
+ query_params=_query_params,
2099
+ header_params=_header_params,
2100
+ body=_body_params,
2101
+ post_params=_form_params,
2102
+ files=_files,
2103
+ auth_settings=_auth_settings,
2104
+ collection_formats=_collection_formats,
2105
+ _host=_host,
2106
+ _request_auth=_request_auth
2107
+ )
2108
+
2109
+
2110
+
2111
+
2112
+ @validate_call
2113
+ def api_marketplace_v3_dbs_orders_status_cancel_post(
2114
+ self,
2115
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
2116
+ _request_timeout: Union[
2117
+ None,
2118
+ Annotated[StrictFloat, Field(gt=0)],
2119
+ Tuple[
2120
+ Annotated[StrictFloat, Field(gt=0)],
2121
+ Annotated[StrictFloat, Field(gt=0)]
2122
+ ]
2123
+ ] = None,
2124
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2125
+ _content_type: Optional[StrictStr] = None,
2126
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2127
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2128
+ ) -> ApiStatusSetResponses:
2129
+ """Отменить сборочные задания
2130
+
2131
+ Метод переводит [сборочные задания](/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>
2132
+
2133
+ :param api_orders_request_v2:
2134
+ :type api_orders_request_v2: ApiOrdersRequestV2
2135
+ :param _request_timeout: timeout setting for this request. If one
2136
+ number provided, it will be total request
2137
+ timeout. It can also be a pair (tuple) of
2138
+ (connection, read) timeouts.
2139
+ :type _request_timeout: int, tuple(int, int), optional
2140
+ :param _request_auth: set to override the auth_settings for an a single
2141
+ request; this effectively ignores the
2142
+ authentication in the spec for a single request.
2143
+ :type _request_auth: dict, optional
2144
+ :param _content_type: force content-type for the request.
2145
+ :type _content_type: str, Optional
2146
+ :param _headers: set to override the headers for a single
2147
+ request; this effectively ignores the headers
2148
+ in the spec for a single request.
2149
+ :type _headers: dict, optional
2150
+ :param _host_index: set to override the host_index for a single
2151
+ request; this effectively ignores the host_index
2152
+ in the spec for a single request.
2153
+ :type _host_index: int, optional
2154
+ :return: Returns the result object.
2155
+ """ # noqa: E501
2156
+
2157
+ _param = self._api_marketplace_v3_dbs_orders_status_cancel_post_serialize(
2158
+ api_orders_request_v2=api_orders_request_v2,
2159
+ _request_auth=_request_auth,
2160
+ _content_type=_content_type,
2161
+ _headers=_headers,
2162
+ _host_index=_host_index
2163
+ )
2164
+
2165
+ _response_types_map: Dict[str, Optional[str]] = {
2166
+ '200': "ApiStatusSetResponses",
2167
+ '400': "ApiBatchError",
2168
+ '401': "ApiV3DbsOrdersNewGet401Response",
2169
+ '403': "ApiBatchError",
2170
+ '429': "ApiV3DbsOrdersNewGet401Response",
2171
+ }
2172
+ response_data = self.api_client.call_api(
2173
+ *_param,
2174
+ _request_timeout=_request_timeout
2175
+ )
2176
+ response_data.read()
2177
+ return self.api_client.response_deserialize(
2178
+ response_data=response_data,
2179
+ response_types_map=_response_types_map,
2180
+ ).data
2181
+
2182
+
2183
+ @validate_call
2184
+ def api_marketplace_v3_dbs_orders_status_cancel_post_with_http_info(
2185
+ self,
2186
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
2187
+ _request_timeout: Union[
2188
+ None,
2189
+ Annotated[StrictFloat, Field(gt=0)],
2190
+ Tuple[
2191
+ Annotated[StrictFloat, Field(gt=0)],
2192
+ Annotated[StrictFloat, Field(gt=0)]
2193
+ ]
2194
+ ] = None,
2195
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2196
+ _content_type: Optional[StrictStr] = None,
2197
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2198
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2199
+ ) -> ApiResponse[ApiStatusSetResponses]:
2200
+ """Отменить сборочные задания
2201
+
2202
+ Метод переводит [сборочные задания](/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>
2203
+
2204
+ :param api_orders_request_v2:
2205
+ :type api_orders_request_v2: ApiOrdersRequestV2
2206
+ :param _request_timeout: timeout setting for this request. If one
2207
+ number provided, it will be total request
2208
+ timeout. It can also be a pair (tuple) of
2209
+ (connection, read) timeouts.
2210
+ :type _request_timeout: int, tuple(int, int), optional
2211
+ :param _request_auth: set to override the auth_settings for an a single
2212
+ request; this effectively ignores the
2213
+ authentication in the spec for a single request.
2214
+ :type _request_auth: dict, optional
2215
+ :param _content_type: force content-type for the request.
2216
+ :type _content_type: str, Optional
2217
+ :param _headers: set to override the headers for a single
2218
+ request; this effectively ignores the headers
2219
+ in the spec for a single request.
2220
+ :type _headers: dict, optional
2221
+ :param _host_index: set to override the host_index for a single
2222
+ request; this effectively ignores the host_index
2223
+ in the spec for a single request.
2224
+ :type _host_index: int, optional
2225
+ :return: Returns the result object.
2226
+ """ # noqa: E501
2227
+
2228
+ _param = self._api_marketplace_v3_dbs_orders_status_cancel_post_serialize(
2229
+ api_orders_request_v2=api_orders_request_v2,
2230
+ _request_auth=_request_auth,
2231
+ _content_type=_content_type,
2232
+ _headers=_headers,
2233
+ _host_index=_host_index
2234
+ )
2235
+
2236
+ _response_types_map: Dict[str, Optional[str]] = {
2237
+ '200': "ApiStatusSetResponses",
2238
+ '400': "ApiBatchError",
2239
+ '401': "ApiV3DbsOrdersNewGet401Response",
2240
+ '403': "ApiBatchError",
2241
+ '429': "ApiV3DbsOrdersNewGet401Response",
2242
+ }
2243
+ response_data = self.api_client.call_api(
2244
+ *_param,
2245
+ _request_timeout=_request_timeout
2246
+ )
2247
+ response_data.read()
2248
+ return self.api_client.response_deserialize(
2249
+ response_data=response_data,
2250
+ response_types_map=_response_types_map,
2251
+ )
2252
+
2253
+
2254
+ @validate_call
2255
+ def api_marketplace_v3_dbs_orders_status_cancel_post_without_preload_content(
2256
+ self,
2257
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
2258
+ _request_timeout: Union[
2259
+ None,
2260
+ Annotated[StrictFloat, Field(gt=0)],
2261
+ Tuple[
2262
+ Annotated[StrictFloat, Field(gt=0)],
2263
+ Annotated[StrictFloat, Field(gt=0)]
2264
+ ]
2265
+ ] = None,
2266
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2267
+ _content_type: Optional[StrictStr] = None,
2268
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2269
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2270
+ ) -> RESTResponseType:
2271
+ """Отменить сборочные задания
2272
+
2273
+ Метод переводит [сборочные задания](/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>
2274
+
2275
+ :param api_orders_request_v2:
2276
+ :type api_orders_request_v2: ApiOrdersRequestV2
2277
+ :param _request_timeout: timeout setting for this request. If one
2278
+ number provided, it will be total request
2279
+ timeout. It can also be a pair (tuple) of
2280
+ (connection, read) timeouts.
2281
+ :type _request_timeout: int, tuple(int, int), optional
2282
+ :param _request_auth: set to override the auth_settings for an a single
2283
+ request; this effectively ignores the
2284
+ authentication in the spec for a single request.
2285
+ :type _request_auth: dict, optional
2286
+ :param _content_type: force content-type for the request.
2287
+ :type _content_type: str, Optional
2288
+ :param _headers: set to override the headers for a single
2289
+ request; this effectively ignores the headers
2290
+ in the spec for a single request.
2291
+ :type _headers: dict, optional
2292
+ :param _host_index: set to override the host_index for a single
2293
+ request; this effectively ignores the host_index
2294
+ in the spec for a single request.
2295
+ :type _host_index: int, optional
2296
+ :return: Returns the result object.
2297
+ """ # noqa: E501
2298
+
2299
+ _param = self._api_marketplace_v3_dbs_orders_status_cancel_post_serialize(
2300
+ api_orders_request_v2=api_orders_request_v2,
2301
+ _request_auth=_request_auth,
2302
+ _content_type=_content_type,
2303
+ _headers=_headers,
2304
+ _host_index=_host_index
2305
+ )
2306
+
2307
+ _response_types_map: Dict[str, Optional[str]] = {
2308
+ '200': "ApiStatusSetResponses",
2309
+ '400': "ApiBatchError",
2310
+ '401': "ApiV3DbsOrdersNewGet401Response",
2311
+ '403': "ApiBatchError",
2312
+ '429': "ApiV3DbsOrdersNewGet401Response",
2313
+ }
2314
+ response_data = self.api_client.call_api(
2315
+ *_param,
2316
+ _request_timeout=_request_timeout
2317
+ )
2318
+ return response_data.response
2319
+
2320
+
2321
+ def _api_marketplace_v3_dbs_orders_status_cancel_post_serialize(
2322
+ self,
2323
+ api_orders_request_v2,
2324
+ _request_auth,
2325
+ _content_type,
2326
+ _headers,
2327
+ _host_index,
2328
+ ) -> RequestSerialized:
2329
+
2330
+ _hosts = [
2331
+ 'https://marketplace-api.wildberries.ru'
2332
+ ]
2333
+ _host = _hosts[_host_index]
2334
+
2335
+ _collection_formats: Dict[str, str] = {
2336
+ }
2337
+
2338
+ _path_params: Dict[str, str] = {}
2339
+ _query_params: List[Tuple[str, str]] = []
2340
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2341
+ _form_params: List[Tuple[str, str]] = []
2342
+ _files: Dict[
2343
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2344
+ ] = {}
2345
+ _body_params: Optional[bytes] = None
2346
+
2347
+ # process the path parameters
2348
+ # process the query parameters
2349
+ # process the header parameters
2350
+ # process the form parameters
2351
+ # process the body parameter
2352
+ if api_orders_request_v2 is not None:
2353
+ _body_params = api_orders_request_v2
2354
+
2355
+
2356
+ # set the HTTP header `Accept`
2357
+ if 'Accept' not in _header_params:
2358
+ _header_params['Accept'] = self.api_client.select_header_accept(
2359
+ [
2360
+ 'application/json'
2361
+ ]
2362
+ )
2363
+
2364
+ # set the HTTP header `Content-Type`
2365
+ if _content_type:
2366
+ _header_params['Content-Type'] = _content_type
2367
+ else:
2368
+ _default_content_type = (
2369
+ self.api_client.select_header_content_type(
2370
+ [
2371
+ 'application/json'
2372
+ ]
2373
+ )
2374
+ )
2375
+ if _default_content_type is not None:
2376
+ _header_params['Content-Type'] = _default_content_type
2377
+
2378
+ # authentication setting
2379
+ _auth_settings: List[str] = [
2380
+ 'HeaderApiKey'
2381
+ ]
2382
+
2383
+ return self.api_client.param_serialize(
2384
+ method='POST',
2385
+ resource_path='/api/marketplace/v3/dbs/orders/status/cancel',
2386
+ path_params=_path_params,
2387
+ query_params=_query_params,
2388
+ header_params=_header_params,
2389
+ body=_body_params,
2390
+ post_params=_form_params,
2391
+ files=_files,
2392
+ auth_settings=_auth_settings,
2393
+ collection_formats=_collection_formats,
2394
+ _host=_host,
2395
+ _request_auth=_request_auth
2396
+ )
2397
+
2398
+
2399
+
2400
+
2401
+ @validate_call
2402
+ def api_marketplace_v3_dbs_orders_status_confirm_post(
2403
+ self,
2404
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
2405
+ _request_timeout: Union[
2406
+ None,
2407
+ Annotated[StrictFloat, Field(gt=0)],
2408
+ Tuple[
2409
+ Annotated[StrictFloat, Field(gt=0)],
2410
+ Annotated[StrictFloat, Field(gt=0)]
2411
+ ]
2412
+ ] = None,
2413
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2414
+ _content_type: Optional[StrictStr] = None,
2415
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2416
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2417
+ ) -> ApiStatusSetResponses:
2418
+ """Перевести сборочные задания на сборку
2419
+
2420
+ Метод переводит [сборочные задания](/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>
2421
+
2422
+ :param api_orders_request_v2:
2423
+ :type api_orders_request_v2: ApiOrdersRequestV2
2424
+ :param _request_timeout: timeout setting for this request. If one
2425
+ number provided, it will be total request
2426
+ timeout. It can also be a pair (tuple) of
2427
+ (connection, read) timeouts.
2428
+ :type _request_timeout: int, tuple(int, int), optional
2429
+ :param _request_auth: set to override the auth_settings for an a single
2430
+ request; this effectively ignores the
2431
+ authentication in the spec for a single request.
2432
+ :type _request_auth: dict, optional
2433
+ :param _content_type: force content-type for the request.
2434
+ :type _content_type: str, Optional
2435
+ :param _headers: set to override the headers for a single
2436
+ request; this effectively ignores the headers
2437
+ in the spec for a single request.
2438
+ :type _headers: dict, optional
2439
+ :param _host_index: set to override the host_index for a single
2440
+ request; this effectively ignores the host_index
2441
+ in the spec for a single request.
2442
+ :type _host_index: int, optional
2443
+ :return: Returns the result object.
2444
+ """ # noqa: E501
2445
+
2446
+ _param = self._api_marketplace_v3_dbs_orders_status_confirm_post_serialize(
2447
+ api_orders_request_v2=api_orders_request_v2,
2448
+ _request_auth=_request_auth,
2449
+ _content_type=_content_type,
2450
+ _headers=_headers,
2451
+ _host_index=_host_index
2452
+ )
2453
+
2454
+ _response_types_map: Dict[str, Optional[str]] = {
2455
+ '200': "ApiStatusSetResponses",
2456
+ '400': "ApiBatchError",
2457
+ '401': "ApiV3DbsOrdersNewGet401Response",
2458
+ '403': "ApiBatchError",
2459
+ '429': "ApiV3DbsOrdersNewGet401Response",
2460
+ }
2461
+ response_data = self.api_client.call_api(
2462
+ *_param,
2463
+ _request_timeout=_request_timeout
2464
+ )
2465
+ response_data.read()
2466
+ return self.api_client.response_deserialize(
2467
+ response_data=response_data,
2468
+ response_types_map=_response_types_map,
2469
+ ).data
2470
+
2471
+
2472
+ @validate_call
2473
+ def api_marketplace_v3_dbs_orders_status_confirm_post_with_http_info(
2474
+ self,
2475
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
2476
+ _request_timeout: Union[
2477
+ None,
2478
+ Annotated[StrictFloat, Field(gt=0)],
2479
+ Tuple[
2480
+ Annotated[StrictFloat, Field(gt=0)],
2481
+ Annotated[StrictFloat, Field(gt=0)]
2482
+ ]
2483
+ ] = None,
2484
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2485
+ _content_type: Optional[StrictStr] = None,
2486
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2487
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2488
+ ) -> ApiResponse[ApiStatusSetResponses]:
2489
+ """Перевести сборочные задания на сборку
2490
+
2491
+ Метод переводит [сборочные задания](/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>
2492
+
2493
+ :param api_orders_request_v2:
2494
+ :type api_orders_request_v2: ApiOrdersRequestV2
2495
+ :param _request_timeout: timeout setting for this request. If one
2496
+ number provided, it will be total request
2497
+ timeout. It can also be a pair (tuple) of
2498
+ (connection, read) timeouts.
2499
+ :type _request_timeout: int, tuple(int, int), optional
2500
+ :param _request_auth: set to override the auth_settings for an a single
2501
+ request; this effectively ignores the
2502
+ authentication in the spec for a single request.
2503
+ :type _request_auth: dict, optional
2504
+ :param _content_type: force content-type for the request.
2505
+ :type _content_type: str, Optional
2506
+ :param _headers: set to override the headers for a single
2507
+ request; this effectively ignores the headers
2508
+ in the spec for a single request.
2509
+ :type _headers: dict, optional
2510
+ :param _host_index: set to override the host_index for a single
2511
+ request; this effectively ignores the host_index
2512
+ in the spec for a single request.
2513
+ :type _host_index: int, optional
2514
+ :return: Returns the result object.
2515
+ """ # noqa: E501
2516
+
2517
+ _param = self._api_marketplace_v3_dbs_orders_status_confirm_post_serialize(
2518
+ api_orders_request_v2=api_orders_request_v2,
2519
+ _request_auth=_request_auth,
2520
+ _content_type=_content_type,
2521
+ _headers=_headers,
2522
+ _host_index=_host_index
2523
+ )
2524
+
2525
+ _response_types_map: Dict[str, Optional[str]] = {
2526
+ '200': "ApiStatusSetResponses",
2527
+ '400': "ApiBatchError",
2528
+ '401': "ApiV3DbsOrdersNewGet401Response",
2529
+ '403': "ApiBatchError",
2530
+ '429': "ApiV3DbsOrdersNewGet401Response",
2531
+ }
2532
+ response_data = self.api_client.call_api(
2533
+ *_param,
2534
+ _request_timeout=_request_timeout
2535
+ )
2536
+ response_data.read()
2537
+ return self.api_client.response_deserialize(
2538
+ response_data=response_data,
2539
+ response_types_map=_response_types_map,
2540
+ )
2541
+
2542
+
2543
+ @validate_call
2544
+ def api_marketplace_v3_dbs_orders_status_confirm_post_without_preload_content(
2545
+ self,
2546
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
2547
+ _request_timeout: Union[
2548
+ None,
2549
+ Annotated[StrictFloat, Field(gt=0)],
2550
+ Tuple[
2551
+ Annotated[StrictFloat, Field(gt=0)],
2552
+ Annotated[StrictFloat, Field(gt=0)]
2553
+ ]
2554
+ ] = None,
2555
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2556
+ _content_type: Optional[StrictStr] = None,
2557
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2558
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2559
+ ) -> RESTResponseType:
2560
+ """Перевести сборочные задания на сборку
2561
+
2562
+ Метод переводит [сборочные задания](/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>
2563
+
2564
+ :param api_orders_request_v2:
2565
+ :type api_orders_request_v2: ApiOrdersRequestV2
2566
+ :param _request_timeout: timeout setting for this request. If one
2567
+ number provided, it will be total request
2568
+ timeout. It can also be a pair (tuple) of
2569
+ (connection, read) timeouts.
2570
+ :type _request_timeout: int, tuple(int, int), optional
2571
+ :param _request_auth: set to override the auth_settings for an a single
2572
+ request; this effectively ignores the
2573
+ authentication in the spec for a single request.
2574
+ :type _request_auth: dict, optional
2575
+ :param _content_type: force content-type for the request.
2576
+ :type _content_type: str, Optional
2577
+ :param _headers: set to override the headers for a single
2578
+ request; this effectively ignores the headers
2579
+ in the spec for a single request.
2580
+ :type _headers: dict, optional
2581
+ :param _host_index: set to override the host_index for a single
2582
+ request; this effectively ignores the host_index
2583
+ in the spec for a single request.
2584
+ :type _host_index: int, optional
2585
+ :return: Returns the result object.
2586
+ """ # noqa: E501
2587
+
2588
+ _param = self._api_marketplace_v3_dbs_orders_status_confirm_post_serialize(
2589
+ api_orders_request_v2=api_orders_request_v2,
2590
+ _request_auth=_request_auth,
2591
+ _content_type=_content_type,
2592
+ _headers=_headers,
2593
+ _host_index=_host_index
2594
+ )
2595
+
2596
+ _response_types_map: Dict[str, Optional[str]] = {
2597
+ '200': "ApiStatusSetResponses",
2598
+ '400': "ApiBatchError",
2599
+ '401': "ApiV3DbsOrdersNewGet401Response",
2600
+ '403': "ApiBatchError",
2601
+ '429': "ApiV3DbsOrdersNewGet401Response",
2602
+ }
2603
+ response_data = self.api_client.call_api(
2604
+ *_param,
2605
+ _request_timeout=_request_timeout
2606
+ )
2607
+ return response_data.response
2608
+
2609
+
2610
+ def _api_marketplace_v3_dbs_orders_status_confirm_post_serialize(
2611
+ self,
2612
+ api_orders_request_v2,
2613
+ _request_auth,
2614
+ _content_type,
2615
+ _headers,
2616
+ _host_index,
2617
+ ) -> RequestSerialized:
2618
+
2619
+ _hosts = [
2620
+ 'https://marketplace-api.wildberries.ru'
2621
+ ]
2622
+ _host = _hosts[_host_index]
2623
+
2624
+ _collection_formats: Dict[str, str] = {
2625
+ }
2626
+
2627
+ _path_params: Dict[str, str] = {}
2628
+ _query_params: List[Tuple[str, str]] = []
2629
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2630
+ _form_params: List[Tuple[str, str]] = []
2631
+ _files: Dict[
2632
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2633
+ ] = {}
2634
+ _body_params: Optional[bytes] = None
2635
+
2636
+ # process the path parameters
2637
+ # process the query parameters
2638
+ # process the header parameters
2639
+ # process the form parameters
2640
+ # process the body parameter
2641
+ if api_orders_request_v2 is not None:
2642
+ _body_params = api_orders_request_v2
2643
+
2644
+
2645
+ # set the HTTP header `Accept`
2646
+ if 'Accept' not in _header_params:
2647
+ _header_params['Accept'] = self.api_client.select_header_accept(
2648
+ [
2649
+ 'application/json'
2650
+ ]
2651
+ )
2652
+
2653
+ # set the HTTP header `Content-Type`
2654
+ if _content_type:
2655
+ _header_params['Content-Type'] = _content_type
2656
+ else:
2657
+ _default_content_type = (
2658
+ self.api_client.select_header_content_type(
2659
+ [
2660
+ 'application/json'
2661
+ ]
2662
+ )
2663
+ )
2664
+ if _default_content_type is not None:
2665
+ _header_params['Content-Type'] = _default_content_type
2666
+
2667
+ # authentication setting
2668
+ _auth_settings: List[str] = [
2669
+ 'HeaderApiKey'
2670
+ ]
2671
+
2672
+ return self.api_client.param_serialize(
2673
+ method='POST',
2674
+ resource_path='/api/marketplace/v3/dbs/orders/status/confirm',
2675
+ path_params=_path_params,
2676
+ query_params=_query_params,
2677
+ header_params=_header_params,
2678
+ body=_body_params,
2679
+ post_params=_form_params,
2680
+ files=_files,
2681
+ auth_settings=_auth_settings,
2682
+ collection_formats=_collection_formats,
2683
+ _host=_host,
2684
+ _request_auth=_request_auth
2685
+ )
2686
+
2687
+
2688
+
2689
+
2690
+ @validate_call
2691
+ def api_marketplace_v3_dbs_orders_status_deliver_post(
2692
+ self,
2693
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
2694
+ _request_timeout: Union[
2695
+ None,
2696
+ Annotated[StrictFloat, Field(gt=0)],
2697
+ Tuple[
2698
+ Annotated[StrictFloat, Field(gt=0)],
2699
+ Annotated[StrictFloat, Field(gt=0)]
2700
+ ]
2701
+ ] = None,
2702
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2703
+ _content_type: Optional[StrictStr] = None,
2704
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2705
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2706
+ ) -> ApiStatusSetResponses:
2707
+ """Перевести сборочные задания в доставку
2708
+
2709
+ Метод переводит [сборочные задания](/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>
2710
+
2711
+ :param api_orders_request_v2:
2712
+ :type api_orders_request_v2: ApiOrdersRequestV2
2713
+ :param _request_timeout: timeout setting for this request. If one
2714
+ number provided, it will be total request
2715
+ timeout. It can also be a pair (tuple) of
2716
+ (connection, read) timeouts.
2717
+ :type _request_timeout: int, tuple(int, int), optional
2718
+ :param _request_auth: set to override the auth_settings for an a single
2719
+ request; this effectively ignores the
2720
+ authentication in the spec for a single request.
2721
+ :type _request_auth: dict, optional
2722
+ :param _content_type: force content-type for the request.
2723
+ :type _content_type: str, Optional
2724
+ :param _headers: set to override the headers for a single
2725
+ request; this effectively ignores the headers
2726
+ in the spec for a single request.
2727
+ :type _headers: dict, optional
2728
+ :param _host_index: set to override the host_index for a single
2729
+ request; this effectively ignores the host_index
2730
+ in the spec for a single request.
2731
+ :type _host_index: int, optional
2732
+ :return: Returns the result object.
2733
+ """ # noqa: E501
2734
+
2735
+ _param = self._api_marketplace_v3_dbs_orders_status_deliver_post_serialize(
2736
+ api_orders_request_v2=api_orders_request_v2,
2737
+ _request_auth=_request_auth,
2738
+ _content_type=_content_type,
2739
+ _headers=_headers,
2740
+ _host_index=_host_index
2741
+ )
2742
+
2743
+ _response_types_map: Dict[str, Optional[str]] = {
2744
+ '200': "ApiStatusSetResponses",
2745
+ '400': "ApiBatchError",
2746
+ '401': "ApiV3DbsOrdersNewGet401Response",
2747
+ '403': "ApiBatchError",
2748
+ '429': "ApiV3DbsOrdersNewGet401Response",
2749
+ }
2750
+ response_data = self.api_client.call_api(
2751
+ *_param,
2752
+ _request_timeout=_request_timeout
2753
+ )
2754
+ response_data.read()
2755
+ return self.api_client.response_deserialize(
2756
+ response_data=response_data,
2757
+ response_types_map=_response_types_map,
2758
+ ).data
2759
+
2760
+
2761
+ @validate_call
2762
+ def api_marketplace_v3_dbs_orders_status_deliver_post_with_http_info(
2763
+ self,
2764
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
2765
+ _request_timeout: Union[
2766
+ None,
2767
+ Annotated[StrictFloat, Field(gt=0)],
2768
+ Tuple[
2769
+ Annotated[StrictFloat, Field(gt=0)],
2770
+ Annotated[StrictFloat, Field(gt=0)]
2771
+ ]
2772
+ ] = None,
2773
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2774
+ _content_type: Optional[StrictStr] = None,
2775
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2776
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2777
+ ) -> ApiResponse[ApiStatusSetResponses]:
2778
+ """Перевести сборочные задания в доставку
2779
+
2780
+ Метод переводит [сборочные задания](/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>
2781
+
2782
+ :param api_orders_request_v2:
2783
+ :type api_orders_request_v2: ApiOrdersRequestV2
2784
+ :param _request_timeout: timeout setting for this request. If one
2785
+ number provided, it will be total request
2786
+ timeout. It can also be a pair (tuple) of
2787
+ (connection, read) timeouts.
2788
+ :type _request_timeout: int, tuple(int, int), optional
2789
+ :param _request_auth: set to override the auth_settings for an a single
2790
+ request; this effectively ignores the
2791
+ authentication in the spec for a single request.
2792
+ :type _request_auth: dict, optional
2793
+ :param _content_type: force content-type for the request.
2794
+ :type _content_type: str, Optional
2795
+ :param _headers: set to override the headers for a single
2796
+ request; this effectively ignores the headers
2797
+ in the spec for a single request.
2798
+ :type _headers: dict, optional
2799
+ :param _host_index: set to override the host_index for a single
2800
+ request; this effectively ignores the host_index
2801
+ in the spec for a single request.
2802
+ :type _host_index: int, optional
2803
+ :return: Returns the result object.
2804
+ """ # noqa: E501
2805
+
2806
+ _param = self._api_marketplace_v3_dbs_orders_status_deliver_post_serialize(
2807
+ api_orders_request_v2=api_orders_request_v2,
2808
+ _request_auth=_request_auth,
2809
+ _content_type=_content_type,
2810
+ _headers=_headers,
2811
+ _host_index=_host_index
2812
+ )
2813
+
2814
+ _response_types_map: Dict[str, Optional[str]] = {
2815
+ '200': "ApiStatusSetResponses",
2816
+ '400': "ApiBatchError",
2817
+ '401': "ApiV3DbsOrdersNewGet401Response",
2818
+ '403': "ApiBatchError",
2819
+ '429': "ApiV3DbsOrdersNewGet401Response",
2820
+ }
2821
+ response_data = self.api_client.call_api(
2822
+ *_param,
2823
+ _request_timeout=_request_timeout
2824
+ )
2825
+ response_data.read()
2826
+ return self.api_client.response_deserialize(
2827
+ response_data=response_data,
2828
+ response_types_map=_response_types_map,
2829
+ )
2830
+
2831
+
2832
+ @validate_call
2833
+ def api_marketplace_v3_dbs_orders_status_deliver_post_without_preload_content(
2834
+ self,
2835
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
2836
+ _request_timeout: Union[
2837
+ None,
2838
+ Annotated[StrictFloat, Field(gt=0)],
2839
+ Tuple[
2840
+ Annotated[StrictFloat, Field(gt=0)],
2841
+ Annotated[StrictFloat, Field(gt=0)]
2842
+ ]
2843
+ ] = None,
2844
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2845
+ _content_type: Optional[StrictStr] = None,
2846
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2847
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2848
+ ) -> RESTResponseType:
2849
+ """Перевести сборочные задания в доставку
2850
+
2851
+ Метод переводит [сборочные задания](/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>
2852
+
2853
+ :param api_orders_request_v2:
2854
+ :type api_orders_request_v2: ApiOrdersRequestV2
2855
+ :param _request_timeout: timeout setting for this request. If one
2856
+ number provided, it will be total request
2857
+ timeout. It can also be a pair (tuple) of
2858
+ (connection, read) timeouts.
2859
+ :type _request_timeout: int, tuple(int, int), optional
2860
+ :param _request_auth: set to override the auth_settings for an a single
2861
+ request; this effectively ignores the
2862
+ authentication in the spec for a single request.
2863
+ :type _request_auth: dict, optional
2864
+ :param _content_type: force content-type for the request.
2865
+ :type _content_type: str, Optional
2866
+ :param _headers: set to override the headers for a single
2867
+ request; this effectively ignores the headers
2868
+ in the spec for a single request.
2869
+ :type _headers: dict, optional
2870
+ :param _host_index: set to override the host_index for a single
2871
+ request; this effectively ignores the host_index
2872
+ in the spec for a single request.
2873
+ :type _host_index: int, optional
2874
+ :return: Returns the result object.
2875
+ """ # noqa: E501
2876
+
2877
+ _param = self._api_marketplace_v3_dbs_orders_status_deliver_post_serialize(
2878
+ api_orders_request_v2=api_orders_request_v2,
2879
+ _request_auth=_request_auth,
2880
+ _content_type=_content_type,
2881
+ _headers=_headers,
2882
+ _host_index=_host_index
2883
+ )
2884
+
2885
+ _response_types_map: Dict[str, Optional[str]] = {
2886
+ '200': "ApiStatusSetResponses",
2887
+ '400': "ApiBatchError",
2888
+ '401': "ApiV3DbsOrdersNewGet401Response",
2889
+ '403': "ApiBatchError",
2890
+ '429': "ApiV3DbsOrdersNewGet401Response",
2891
+ }
2892
+ response_data = self.api_client.call_api(
2893
+ *_param,
2894
+ _request_timeout=_request_timeout
2895
+ )
2896
+ return response_data.response
2897
+
2898
+
2899
+ def _api_marketplace_v3_dbs_orders_status_deliver_post_serialize(
2900
+ self,
2901
+ api_orders_request_v2,
2902
+ _request_auth,
2903
+ _content_type,
2904
+ _headers,
2905
+ _host_index,
2906
+ ) -> RequestSerialized:
2907
+
2908
+ _hosts = [
2909
+ 'https://marketplace-api.wildberries.ru'
2910
+ ]
2911
+ _host = _hosts[_host_index]
2912
+
2913
+ _collection_formats: Dict[str, str] = {
2914
+ }
2915
+
2916
+ _path_params: Dict[str, str] = {}
2917
+ _query_params: List[Tuple[str, str]] = []
2918
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2919
+ _form_params: List[Tuple[str, str]] = []
2920
+ _files: Dict[
2921
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2922
+ ] = {}
2923
+ _body_params: Optional[bytes] = None
2924
+
2925
+ # process the path parameters
2926
+ # process the query parameters
2927
+ # process the header parameters
2928
+ # process the form parameters
2929
+ # process the body parameter
2930
+ if api_orders_request_v2 is not None:
2931
+ _body_params = api_orders_request_v2
2932
+
2933
+
2934
+ # set the HTTP header `Accept`
2935
+ if 'Accept' not in _header_params:
2936
+ _header_params['Accept'] = self.api_client.select_header_accept(
2937
+ [
2938
+ 'application/json'
2939
+ ]
2940
+ )
2941
+
2942
+ # set the HTTP header `Content-Type`
2943
+ if _content_type:
2944
+ _header_params['Content-Type'] = _content_type
2945
+ else:
2946
+ _default_content_type = (
2947
+ self.api_client.select_header_content_type(
2948
+ [
2949
+ 'application/json'
2950
+ ]
2951
+ )
2952
+ )
2953
+ if _default_content_type is not None:
2954
+ _header_params['Content-Type'] = _default_content_type
2955
+
2956
+ # authentication setting
2957
+ _auth_settings: List[str] = [
2958
+ 'HeaderApiKey'
2959
+ ]
2960
+
2961
+ return self.api_client.param_serialize(
2962
+ method='POST',
2963
+ resource_path='/api/marketplace/v3/dbs/orders/status/deliver',
2964
+ path_params=_path_params,
2965
+ query_params=_query_params,
2966
+ header_params=_header_params,
2967
+ body=_body_params,
2968
+ post_params=_form_params,
2969
+ files=_files,
2970
+ auth_settings=_auth_settings,
2971
+ collection_formats=_collection_formats,
2972
+ _host=_host,
2973
+ _request_auth=_request_auth
2974
+ )
2975
+
2976
+
2977
+
2978
+
2979
+ @validate_call
2980
+ def api_marketplace_v3_dbs_orders_status_info_post(
2981
+ self,
2982
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
2983
+ _request_timeout: Union[
2984
+ None,
2985
+ Annotated[StrictFloat, Field(gt=0)],
2986
+ Tuple[
2987
+ Annotated[StrictFloat, Field(gt=0)],
2988
+ Annotated[StrictFloat, Field(gt=0)]
2989
+ ]
2990
+ ] = None,
2991
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2992
+ _content_type: Optional[StrictStr] = None,
2993
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2994
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2995
+ ) -> ApiOrderStatusesV2:
2996
+ """Получить статусы сборочных заданий
2997
+
2998
+ Метод возвращает статусы [сборочных заданий](/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>
2999
+
3000
+ :param api_orders_request_v2:
3001
+ :type api_orders_request_v2: ApiOrdersRequestV2
3002
+ :param _request_timeout: timeout setting for this request. If one
3003
+ number provided, it will be total request
3004
+ timeout. It can also be a pair (tuple) of
3005
+ (connection, read) timeouts.
3006
+ :type _request_timeout: int, tuple(int, int), optional
3007
+ :param _request_auth: set to override the auth_settings for an a single
3008
+ request; this effectively ignores the
3009
+ authentication in the spec for a single request.
3010
+ :type _request_auth: dict, optional
3011
+ :param _content_type: force content-type for the request.
3012
+ :type _content_type: str, Optional
3013
+ :param _headers: set to override the headers for a single
3014
+ request; this effectively ignores the headers
3015
+ in the spec for a single request.
3016
+ :type _headers: dict, optional
3017
+ :param _host_index: set to override the host_index for a single
3018
+ request; this effectively ignores the host_index
3019
+ in the spec for a single request.
3020
+ :type _host_index: int, optional
3021
+ :return: Returns the result object.
3022
+ """ # noqa: E501
3023
+
3024
+ _param = self._api_marketplace_v3_dbs_orders_status_info_post_serialize(
3025
+ api_orders_request_v2=api_orders_request_v2,
3026
+ _request_auth=_request_auth,
3027
+ _content_type=_content_type,
3028
+ _headers=_headers,
3029
+ _host_index=_host_index
3030
+ )
3031
+
3032
+ _response_types_map: Dict[str, Optional[str]] = {
3033
+ '200': "ApiOrderStatusesV2",
3034
+ '400': "ApiBatchError",
3035
+ '401': "ApiV3DbsOrdersNewGet401Response",
3036
+ '403': "ApiBatchError",
3037
+ '404': "ApiBatchError",
3038
+ '429': "ApiV3DbsOrdersNewGet401Response",
3039
+ }
3040
+ response_data = self.api_client.call_api(
3041
+ *_param,
3042
+ _request_timeout=_request_timeout
3043
+ )
3044
+ response_data.read()
3045
+ return self.api_client.response_deserialize(
3046
+ response_data=response_data,
3047
+ response_types_map=_response_types_map,
3048
+ ).data
3049
+
3050
+
3051
+ @validate_call
3052
+ def api_marketplace_v3_dbs_orders_status_info_post_with_http_info(
3053
+ self,
3054
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
3055
+ _request_timeout: Union[
3056
+ None,
3057
+ Annotated[StrictFloat, Field(gt=0)],
3058
+ Tuple[
3059
+ Annotated[StrictFloat, Field(gt=0)],
3060
+ Annotated[StrictFloat, Field(gt=0)]
3061
+ ]
3062
+ ] = None,
3063
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3064
+ _content_type: Optional[StrictStr] = None,
3065
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3066
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3067
+ ) -> ApiResponse[ApiOrderStatusesV2]:
3068
+ """Получить статусы сборочных заданий
3069
+
3070
+ Метод возвращает статусы [сборочных заданий](/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>
3071
+
3072
+ :param api_orders_request_v2:
3073
+ :type api_orders_request_v2: ApiOrdersRequestV2
3074
+ :param _request_timeout: timeout setting for this request. If one
3075
+ number provided, it will be total request
3076
+ timeout. It can also be a pair (tuple) of
3077
+ (connection, read) timeouts.
3078
+ :type _request_timeout: int, tuple(int, int), optional
3079
+ :param _request_auth: set to override the auth_settings for an a single
3080
+ request; this effectively ignores the
3081
+ authentication in the spec for a single request.
3082
+ :type _request_auth: dict, optional
3083
+ :param _content_type: force content-type for the request.
3084
+ :type _content_type: str, Optional
3085
+ :param _headers: set to override the headers for a single
3086
+ request; this effectively ignores the headers
3087
+ in the spec for a single request.
3088
+ :type _headers: dict, optional
3089
+ :param _host_index: set to override the host_index for a single
3090
+ request; this effectively ignores the host_index
3091
+ in the spec for a single request.
3092
+ :type _host_index: int, optional
3093
+ :return: Returns the result object.
3094
+ """ # noqa: E501
3095
+
3096
+ _param = self._api_marketplace_v3_dbs_orders_status_info_post_serialize(
3097
+ api_orders_request_v2=api_orders_request_v2,
3098
+ _request_auth=_request_auth,
3099
+ _content_type=_content_type,
3100
+ _headers=_headers,
3101
+ _host_index=_host_index
3102
+ )
3103
+
3104
+ _response_types_map: Dict[str, Optional[str]] = {
3105
+ '200': "ApiOrderStatusesV2",
3106
+ '400': "ApiBatchError",
3107
+ '401': "ApiV3DbsOrdersNewGet401Response",
3108
+ '403': "ApiBatchError",
3109
+ '404': "ApiBatchError",
3110
+ '429': "ApiV3DbsOrdersNewGet401Response",
3111
+ }
3112
+ response_data = self.api_client.call_api(
3113
+ *_param,
3114
+ _request_timeout=_request_timeout
3115
+ )
3116
+ response_data.read()
3117
+ return self.api_client.response_deserialize(
3118
+ response_data=response_data,
3119
+ response_types_map=_response_types_map,
3120
+ )
3121
+
3122
+
3123
+ @validate_call
3124
+ def api_marketplace_v3_dbs_orders_status_info_post_without_preload_content(
3125
+ self,
3126
+ api_orders_request_v2: Optional[ApiOrdersRequestV2] = None,
3127
+ _request_timeout: Union[
3128
+ None,
3129
+ Annotated[StrictFloat, Field(gt=0)],
3130
+ Tuple[
3131
+ Annotated[StrictFloat, Field(gt=0)],
3132
+ Annotated[StrictFloat, Field(gt=0)]
3133
+ ]
3134
+ ] = None,
3135
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3136
+ _content_type: Optional[StrictStr] = None,
3137
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3138
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3139
+ ) -> RESTResponseType:
3140
+ """Получить статусы сборочных заданий
3141
+
3142
+ Метод возвращает статусы [сборочных заданий](/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>
3143
+
3144
+ :param api_orders_request_v2:
3145
+ :type api_orders_request_v2: ApiOrdersRequestV2
3146
+ :param _request_timeout: timeout setting for this request. If one
3147
+ number provided, it will be total request
3148
+ timeout. It can also be a pair (tuple) of
3149
+ (connection, read) timeouts.
3150
+ :type _request_timeout: int, tuple(int, int), optional
3151
+ :param _request_auth: set to override the auth_settings for an a single
3152
+ request; this effectively ignores the
3153
+ authentication in the spec for a single request.
3154
+ :type _request_auth: dict, optional
3155
+ :param _content_type: force content-type for the request.
3156
+ :type _content_type: str, Optional
3157
+ :param _headers: set to override the headers for a single
3158
+ request; this effectively ignores the headers
3159
+ in the spec for a single request.
3160
+ :type _headers: dict, optional
3161
+ :param _host_index: set to override the host_index for a single
3162
+ request; this effectively ignores the host_index
3163
+ in the spec for a single request.
3164
+ :type _host_index: int, optional
3165
+ :return: Returns the result object.
3166
+ """ # noqa: E501
3167
+
3168
+ _param = self._api_marketplace_v3_dbs_orders_status_info_post_serialize(
3169
+ api_orders_request_v2=api_orders_request_v2,
3170
+ _request_auth=_request_auth,
3171
+ _content_type=_content_type,
3172
+ _headers=_headers,
3173
+ _host_index=_host_index
3174
+ )
3175
+
3176
+ _response_types_map: Dict[str, Optional[str]] = {
3177
+ '200': "ApiOrderStatusesV2",
3178
+ '400': "ApiBatchError",
3179
+ '401': "ApiV3DbsOrdersNewGet401Response",
3180
+ '403': "ApiBatchError",
3181
+ '404': "ApiBatchError",
3182
+ '429': "ApiV3DbsOrdersNewGet401Response",
3183
+ }
3184
+ response_data = self.api_client.call_api(
3185
+ *_param,
3186
+ _request_timeout=_request_timeout
3187
+ )
3188
+ return response_data.response
3189
+
3190
+
3191
+ def _api_marketplace_v3_dbs_orders_status_info_post_serialize(
3192
+ self,
3193
+ api_orders_request_v2,
3194
+ _request_auth,
3195
+ _content_type,
3196
+ _headers,
3197
+ _host_index,
3198
+ ) -> RequestSerialized:
3199
+
3200
+ _hosts = [
3201
+ 'https://marketplace-api.wildberries.ru'
3202
+ ]
3203
+ _host = _hosts[_host_index]
3204
+
3205
+ _collection_formats: Dict[str, str] = {
3206
+ }
3207
+
3208
+ _path_params: Dict[str, str] = {}
3209
+ _query_params: List[Tuple[str, str]] = []
3210
+ _header_params: Dict[str, Optional[str]] = _headers or {}
3211
+ _form_params: List[Tuple[str, str]] = []
3212
+ _files: Dict[
3213
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3214
+ ] = {}
3215
+ _body_params: Optional[bytes] = None
3216
+
3217
+ # process the path parameters
3218
+ # process the query parameters
3219
+ # process the header parameters
3220
+ # process the form parameters
3221
+ # process the body parameter
3222
+ if api_orders_request_v2 is not None:
3223
+ _body_params = api_orders_request_v2
3224
+
3225
+
3226
+ # set the HTTP header `Accept`
3227
+ if 'Accept' not in _header_params:
3228
+ _header_params['Accept'] = self.api_client.select_header_accept(
3229
+ [
3230
+ 'application/json'
3231
+ ]
3232
+ )
3233
+
3234
+ # set the HTTP header `Content-Type`
3235
+ if _content_type:
3236
+ _header_params['Content-Type'] = _content_type
3237
+ else:
3238
+ _default_content_type = (
3239
+ self.api_client.select_header_content_type(
3240
+ [
3241
+ 'application/json'
3242
+ ]
3243
+ )
3244
+ )
3245
+ if _default_content_type is not None:
3246
+ _header_params['Content-Type'] = _default_content_type
3247
+
3248
+ # authentication setting
3249
+ _auth_settings: List[str] = [
3250
+ 'HeaderApiKey'
3251
+ ]
3252
+
3253
+ return self.api_client.param_serialize(
3254
+ method='POST',
3255
+ resource_path='/api/marketplace/v3/dbs/orders/status/info',
3256
+ path_params=_path_params,
3257
+ query_params=_query_params,
3258
+ header_params=_header_params,
3259
+ body=_body_params,
3260
+ post_params=_form_params,
3261
+ files=_files,
3262
+ auth_settings=_auth_settings,
3263
+ collection_formats=_collection_formats,
3264
+ _host=_host,
3265
+ _request_auth=_request_auth
3266
+ )
3267
+
3268
+
3269
+
3270
+
3271
+ @validate_call
3272
+ def api_marketplace_v3_dbs_orders_status_receive_post(
3273
+ self,
3274
+ api_orders_code_request: Optional[ApiOrdersCodeRequest] = None,
3275
+ _request_timeout: Union[
3276
+ None,
3277
+ Annotated[StrictFloat, Field(gt=0)],
3278
+ Tuple[
3279
+ Annotated[StrictFloat, Field(gt=0)],
3280
+ Annotated[StrictFloat, Field(gt=0)]
3281
+ ]
3282
+ ] = None,
3283
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3284
+ _content_type: Optional[StrictStr] = None,
3285
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3286
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3287
+ ) -> ApiStatusSetResponses:
3288
+ """Сообщить о получении заказов
3289
+
3290
+ Метод переводит [сборочные задания](/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>
3291
+
3292
+ :param api_orders_code_request:
3293
+ :type api_orders_code_request: ApiOrdersCodeRequest
3294
+ :param _request_timeout: timeout setting for this request. If one
3295
+ number provided, it will be total request
3296
+ timeout. It can also be a pair (tuple) of
3297
+ (connection, read) timeouts.
3298
+ :type _request_timeout: int, tuple(int, int), optional
3299
+ :param _request_auth: set to override the auth_settings for an a single
3300
+ request; this effectively ignores the
3301
+ authentication in the spec for a single request.
3302
+ :type _request_auth: dict, optional
3303
+ :param _content_type: force content-type for the request.
3304
+ :type _content_type: str, Optional
3305
+ :param _headers: set to override the headers for a single
3306
+ request; this effectively ignores the headers
3307
+ in the spec for a single request.
3308
+ :type _headers: dict, optional
3309
+ :param _host_index: set to override the host_index for a single
3310
+ request; this effectively ignores the host_index
3311
+ in the spec for a single request.
3312
+ :type _host_index: int, optional
3313
+ :return: Returns the result object.
3314
+ """ # noqa: E501
3315
+
3316
+ _param = self._api_marketplace_v3_dbs_orders_status_receive_post_serialize(
3317
+ api_orders_code_request=api_orders_code_request,
3318
+ _request_auth=_request_auth,
3319
+ _content_type=_content_type,
3320
+ _headers=_headers,
3321
+ _host_index=_host_index
3322
+ )
3323
+
3324
+ _response_types_map: Dict[str, Optional[str]] = {
3325
+ '200': "ApiStatusSetResponses",
3326
+ '400': "ApiBatchError",
3327
+ '401': "ApiV3DbsOrdersNewGet401Response",
3328
+ '403': "ApiBatchError",
3329
+ '429': "ApiV3DbsOrdersNewGet401Response",
3330
+ }
3331
+ response_data = self.api_client.call_api(
3332
+ *_param,
3333
+ _request_timeout=_request_timeout
3334
+ )
3335
+ response_data.read()
3336
+ return self.api_client.response_deserialize(
3337
+ response_data=response_data,
3338
+ response_types_map=_response_types_map,
3339
+ ).data
3340
+
3341
+
3342
+ @validate_call
3343
+ def api_marketplace_v3_dbs_orders_status_receive_post_with_http_info(
3344
+ self,
3345
+ api_orders_code_request: Optional[ApiOrdersCodeRequest] = None,
3346
+ _request_timeout: Union[
3347
+ None,
3348
+ Annotated[StrictFloat, Field(gt=0)],
3349
+ Tuple[
3350
+ Annotated[StrictFloat, Field(gt=0)],
3351
+ Annotated[StrictFloat, Field(gt=0)]
3352
+ ]
3353
+ ] = None,
3354
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3355
+ _content_type: Optional[StrictStr] = None,
3356
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3357
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3358
+ ) -> ApiResponse[ApiStatusSetResponses]:
3359
+ """Сообщить о получении заказов
3360
+
3361
+ Метод переводит [сборочные задания](/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>
3362
+
3363
+ :param api_orders_code_request:
3364
+ :type api_orders_code_request: ApiOrdersCodeRequest
3365
+ :param _request_timeout: timeout setting for this request. If one
3366
+ number provided, it will be total request
3367
+ timeout. It can also be a pair (tuple) of
3368
+ (connection, read) timeouts.
3369
+ :type _request_timeout: int, tuple(int, int), optional
3370
+ :param _request_auth: set to override the auth_settings for an a single
3371
+ request; this effectively ignores the
3372
+ authentication in the spec for a single request.
3373
+ :type _request_auth: dict, optional
3374
+ :param _content_type: force content-type for the request.
3375
+ :type _content_type: str, Optional
3376
+ :param _headers: set to override the headers for a single
3377
+ request; this effectively ignores the headers
3378
+ in the spec for a single request.
3379
+ :type _headers: dict, optional
3380
+ :param _host_index: set to override the host_index for a single
3381
+ request; this effectively ignores the host_index
3382
+ in the spec for a single request.
3383
+ :type _host_index: int, optional
3384
+ :return: Returns the result object.
3385
+ """ # noqa: E501
3386
+
3387
+ _param = self._api_marketplace_v3_dbs_orders_status_receive_post_serialize(
3388
+ api_orders_code_request=api_orders_code_request,
3389
+ _request_auth=_request_auth,
3390
+ _content_type=_content_type,
3391
+ _headers=_headers,
3392
+ _host_index=_host_index
3393
+ )
3394
+
3395
+ _response_types_map: Dict[str, Optional[str]] = {
3396
+ '200': "ApiStatusSetResponses",
3397
+ '400': "ApiBatchError",
3398
+ '401': "ApiV3DbsOrdersNewGet401Response",
3399
+ '403': "ApiBatchError",
3400
+ '429': "ApiV3DbsOrdersNewGet401Response",
3401
+ }
3402
+ response_data = self.api_client.call_api(
3403
+ *_param,
3404
+ _request_timeout=_request_timeout
3405
+ )
3406
+ response_data.read()
3407
+ return self.api_client.response_deserialize(
3408
+ response_data=response_data,
3409
+ response_types_map=_response_types_map,
3410
+ )
3411
+
3412
+
3413
+ @validate_call
3414
+ def api_marketplace_v3_dbs_orders_status_receive_post_without_preload_content(
3415
+ self,
3416
+ api_orders_code_request: Optional[ApiOrdersCodeRequest] = None,
3417
+ _request_timeout: Union[
3418
+ None,
3419
+ Annotated[StrictFloat, Field(gt=0)],
3420
+ Tuple[
3421
+ Annotated[StrictFloat, Field(gt=0)],
3422
+ Annotated[StrictFloat, Field(gt=0)]
3423
+ ]
3424
+ ] = None,
3425
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3426
+ _content_type: Optional[StrictStr] = None,
3427
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3428
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3429
+ ) -> RESTResponseType:
3430
+ """Сообщить о получении заказов
3431
+
3432
+ Метод переводит [сборочные задания](/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>
3433
+
3434
+ :param api_orders_code_request:
3435
+ :type api_orders_code_request: ApiOrdersCodeRequest
3436
+ :param _request_timeout: timeout setting for this request. If one
3437
+ number provided, it will be total request
3438
+ timeout. It can also be a pair (tuple) of
3439
+ (connection, read) timeouts.
3440
+ :type _request_timeout: int, tuple(int, int), optional
3441
+ :param _request_auth: set to override the auth_settings for an a single
3442
+ request; this effectively ignores the
3443
+ authentication in the spec for a single request.
3444
+ :type _request_auth: dict, optional
3445
+ :param _content_type: force content-type for the request.
3446
+ :type _content_type: str, Optional
3447
+ :param _headers: set to override the headers for a single
3448
+ request; this effectively ignores the headers
3449
+ in the spec for a single request.
3450
+ :type _headers: dict, optional
3451
+ :param _host_index: set to override the host_index for a single
3452
+ request; this effectively ignores the host_index
3453
+ in the spec for a single request.
3454
+ :type _host_index: int, optional
3455
+ :return: Returns the result object.
3456
+ """ # noqa: E501
3457
+
3458
+ _param = self._api_marketplace_v3_dbs_orders_status_receive_post_serialize(
3459
+ api_orders_code_request=api_orders_code_request,
3460
+ _request_auth=_request_auth,
3461
+ _content_type=_content_type,
3462
+ _headers=_headers,
3463
+ _host_index=_host_index
3464
+ )
3465
+
3466
+ _response_types_map: Dict[str, Optional[str]] = {
3467
+ '200': "ApiStatusSetResponses",
3468
+ '400': "ApiBatchError",
3469
+ '401': "ApiV3DbsOrdersNewGet401Response",
3470
+ '403': "ApiBatchError",
3471
+ '429': "ApiV3DbsOrdersNewGet401Response",
3472
+ }
3473
+ response_data = self.api_client.call_api(
3474
+ *_param,
3475
+ _request_timeout=_request_timeout
3476
+ )
3477
+ return response_data.response
3478
+
3479
+
3480
+ def _api_marketplace_v3_dbs_orders_status_receive_post_serialize(
3481
+ self,
3482
+ api_orders_code_request,
3483
+ _request_auth,
3484
+ _content_type,
3485
+ _headers,
3486
+ _host_index,
3487
+ ) -> RequestSerialized:
3488
+
3489
+ _hosts = [
3490
+ 'https://marketplace-api.wildberries.ru'
3491
+ ]
3492
+ _host = _hosts[_host_index]
3493
+
3494
+ _collection_formats: Dict[str, str] = {
3495
+ }
3496
+
3497
+ _path_params: Dict[str, str] = {}
3498
+ _query_params: List[Tuple[str, str]] = []
3499
+ _header_params: Dict[str, Optional[str]] = _headers or {}
3500
+ _form_params: List[Tuple[str, str]] = []
3501
+ _files: Dict[
3502
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3503
+ ] = {}
3504
+ _body_params: Optional[bytes] = None
3505
+
3506
+ # process the path parameters
3507
+ # process the query parameters
3508
+ # process the header parameters
3509
+ # process the form parameters
3510
+ # process the body parameter
3511
+ if api_orders_code_request is not None:
3512
+ _body_params = api_orders_code_request
3513
+
3514
+
3515
+ # set the HTTP header `Accept`
3516
+ if 'Accept' not in _header_params:
3517
+ _header_params['Accept'] = self.api_client.select_header_accept(
3518
+ [
3519
+ 'application/json'
3520
+ ]
3521
+ )
3522
+
3523
+ # set the HTTP header `Content-Type`
3524
+ if _content_type:
3525
+ _header_params['Content-Type'] = _content_type
3526
+ else:
3527
+ _default_content_type = (
3528
+ self.api_client.select_header_content_type(
3529
+ [
3530
+ 'application/json'
3531
+ ]
3532
+ )
3533
+ )
3534
+ if _default_content_type is not None:
3535
+ _header_params['Content-Type'] = _default_content_type
3536
+
3537
+ # authentication setting
3538
+ _auth_settings: List[str] = [
3539
+ 'HeaderApiKey'
3540
+ ]
3541
+
3542
+ return self.api_client.param_serialize(
3543
+ method='POST',
3544
+ resource_path='/api/marketplace/v3/dbs/orders/status/receive',
3545
+ path_params=_path_params,
3546
+ query_params=_query_params,
3547
+ header_params=_header_params,
3548
+ body=_body_params,
3549
+ post_params=_form_params,
3550
+ files=_files,
3551
+ auth_settings=_auth_settings,
3552
+ collection_formats=_collection_formats,
3553
+ _host=_host,
3554
+ _request_auth=_request_auth
3555
+ )
3556
+
3557
+
3558
+
3559
+
3560
+ @validate_call
3561
+ def api_marketplace_v3_dbs_orders_status_reject_post(
3562
+ self,
3563
+ api_orders_code_request: Optional[ApiOrdersCodeRequest] = None,
3564
+ _request_timeout: Union[
3565
+ None,
3566
+ Annotated[StrictFloat, Field(gt=0)],
3567
+ Tuple[
3568
+ Annotated[StrictFloat, Field(gt=0)],
3569
+ Annotated[StrictFloat, Field(gt=0)]
3570
+ ]
3571
+ ] = None,
3572
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3573
+ _content_type: Optional[StrictStr] = None,
3574
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3575
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3576
+ ) -> ApiStatusSetResponses:
3577
+ """Сообщить об отказе от заказов
3578
+
3579
+ Метод переводит [сборочные задания](/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>
3580
+
3581
+ :param api_orders_code_request:
3582
+ :type api_orders_code_request: ApiOrdersCodeRequest
3583
+ :param _request_timeout: timeout setting for this request. If one
3584
+ number provided, it will be total request
3585
+ timeout. It can also be a pair (tuple) of
3586
+ (connection, read) timeouts.
3587
+ :type _request_timeout: int, tuple(int, int), optional
3588
+ :param _request_auth: set to override the auth_settings for an a single
3589
+ request; this effectively ignores the
3590
+ authentication in the spec for a single request.
3591
+ :type _request_auth: dict, optional
3592
+ :param _content_type: force content-type for the request.
3593
+ :type _content_type: str, Optional
3594
+ :param _headers: set to override the headers for a single
3595
+ request; this effectively ignores the headers
3596
+ in the spec for a single request.
3597
+ :type _headers: dict, optional
3598
+ :param _host_index: set to override the host_index for a single
3599
+ request; this effectively ignores the host_index
3600
+ in the spec for a single request.
3601
+ :type _host_index: int, optional
3602
+ :return: Returns the result object.
3603
+ """ # noqa: E501
3604
+
3605
+ _param = self._api_marketplace_v3_dbs_orders_status_reject_post_serialize(
3606
+ api_orders_code_request=api_orders_code_request,
3607
+ _request_auth=_request_auth,
3608
+ _content_type=_content_type,
3609
+ _headers=_headers,
3610
+ _host_index=_host_index
3611
+ )
3612
+
3613
+ _response_types_map: Dict[str, Optional[str]] = {
3614
+ '200': "ApiStatusSetResponses",
3615
+ '400': "ApiBatchError",
3616
+ '401': "ApiV3DbsOrdersNewGet401Response",
3617
+ '403': "ApiBatchError",
3618
+ '429': "ApiV3DbsOrdersNewGet401Response",
3619
+ }
3620
+ response_data = self.api_client.call_api(
3621
+ *_param,
3622
+ _request_timeout=_request_timeout
3623
+ )
3624
+ response_data.read()
3625
+ return self.api_client.response_deserialize(
3626
+ response_data=response_data,
3627
+ response_types_map=_response_types_map,
3628
+ ).data
3629
+
3630
+
3631
+ @validate_call
3632
+ def api_marketplace_v3_dbs_orders_status_reject_post_with_http_info(
3633
+ self,
3634
+ api_orders_code_request: Optional[ApiOrdersCodeRequest] = None,
3635
+ _request_timeout: Union[
3636
+ None,
3637
+ Annotated[StrictFloat, Field(gt=0)],
3638
+ Tuple[
3639
+ Annotated[StrictFloat, Field(gt=0)],
3640
+ Annotated[StrictFloat, Field(gt=0)]
3641
+ ]
3642
+ ] = None,
3643
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3644
+ _content_type: Optional[StrictStr] = None,
3645
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3646
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3647
+ ) -> ApiResponse[ApiStatusSetResponses]:
3648
+ """Сообщить об отказе от заказов
3649
+
3650
+ Метод переводит [сборочные задания](/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>
3651
+
3652
+ :param api_orders_code_request:
3653
+ :type api_orders_code_request: ApiOrdersCodeRequest
3654
+ :param _request_timeout: timeout setting for this request. If one
3655
+ number provided, it will be total request
3656
+ timeout. It can also be a pair (tuple) of
3657
+ (connection, read) timeouts.
3658
+ :type _request_timeout: int, tuple(int, int), optional
3659
+ :param _request_auth: set to override the auth_settings for an a single
3660
+ request; this effectively ignores the
3661
+ authentication in the spec for a single request.
3662
+ :type _request_auth: dict, optional
3663
+ :param _content_type: force content-type for the request.
3664
+ :type _content_type: str, Optional
3665
+ :param _headers: set to override the headers for a single
3666
+ request; this effectively ignores the headers
3667
+ in the spec for a single request.
3668
+ :type _headers: dict, optional
3669
+ :param _host_index: set to override the host_index for a single
3670
+ request; this effectively ignores the host_index
3671
+ in the spec for a single request.
3672
+ :type _host_index: int, optional
3673
+ :return: Returns the result object.
3674
+ """ # noqa: E501
3675
+
3676
+ _param = self._api_marketplace_v3_dbs_orders_status_reject_post_serialize(
3677
+ api_orders_code_request=api_orders_code_request,
3678
+ _request_auth=_request_auth,
3679
+ _content_type=_content_type,
3680
+ _headers=_headers,
3681
+ _host_index=_host_index
3682
+ )
3683
+
3684
+ _response_types_map: Dict[str, Optional[str]] = {
3685
+ '200': "ApiStatusSetResponses",
3686
+ '400': "ApiBatchError",
3687
+ '401': "ApiV3DbsOrdersNewGet401Response",
3688
+ '403': "ApiBatchError",
3689
+ '429': "ApiV3DbsOrdersNewGet401Response",
3690
+ }
3691
+ response_data = self.api_client.call_api(
3692
+ *_param,
3693
+ _request_timeout=_request_timeout
3694
+ )
3695
+ response_data.read()
3696
+ return self.api_client.response_deserialize(
3697
+ response_data=response_data,
3698
+ response_types_map=_response_types_map,
3699
+ )
3700
+
3701
+
3702
+ @validate_call
3703
+ def api_marketplace_v3_dbs_orders_status_reject_post_without_preload_content(
3704
+ self,
3705
+ api_orders_code_request: Optional[ApiOrdersCodeRequest] = None,
3706
+ _request_timeout: Union[
3707
+ None,
3708
+ Annotated[StrictFloat, Field(gt=0)],
3709
+ Tuple[
3710
+ Annotated[StrictFloat, Field(gt=0)],
3711
+ Annotated[StrictFloat, Field(gt=0)]
3712
+ ]
3713
+ ] = None,
3714
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3715
+ _content_type: Optional[StrictStr] = None,
3716
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3717
+ _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3718
+ ) -> RESTResponseType:
3719
+ """Сообщить об отказе от заказов
3720
+
3721
+ Метод переводит [сборочные задания](/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>
3722
+
3723
+ :param api_orders_code_request:
3724
+ :type api_orders_code_request: ApiOrdersCodeRequest
3725
+ :param _request_timeout: timeout setting for this request. If one
3726
+ number provided, it will be total request
3727
+ timeout. It can also be a pair (tuple) of
3728
+ (connection, read) timeouts.
3729
+ :type _request_timeout: int, tuple(int, int), optional
3730
+ :param _request_auth: set to override the auth_settings for an a single
3731
+ request; this effectively ignores the
3732
+ authentication in the spec for a single request.
3733
+ :type _request_auth: dict, optional
3734
+ :param _content_type: force content-type for the request.
3735
+ :type _content_type: str, Optional
3736
+ :param _headers: set to override the headers for a single
3737
+ request; this effectively ignores the headers
3738
+ in the spec for a single request.
3739
+ :type _headers: dict, optional
3740
+ :param _host_index: set to override the host_index for a single
3741
+ request; this effectively ignores the host_index
3742
+ in the spec for a single request.
3743
+ :type _host_index: int, optional
3744
+ :return: Returns the result object.
3745
+ """ # noqa: E501
3746
+
3747
+ _param = self._api_marketplace_v3_dbs_orders_status_reject_post_serialize(
3748
+ api_orders_code_request=api_orders_code_request,
3749
+ _request_auth=_request_auth,
3750
+ _content_type=_content_type,
3751
+ _headers=_headers,
3752
+ _host_index=_host_index
3753
+ )
3754
+
3755
+ _response_types_map: Dict[str, Optional[str]] = {
3756
+ '200': "ApiStatusSetResponses",
3757
+ '400': "ApiBatchError",
3758
+ '401': "ApiV3DbsOrdersNewGet401Response",
3759
+ '403': "ApiBatchError",
3760
+ '429': "ApiV3DbsOrdersNewGet401Response",
3761
+ }
3762
+ response_data = self.api_client.call_api(
3763
+ *_param,
3764
+ _request_timeout=_request_timeout
3765
+ )
3766
+ return response_data.response
3767
+
3768
+
3769
+ def _api_marketplace_v3_dbs_orders_status_reject_post_serialize(
3770
+ self,
3771
+ api_orders_code_request,
3772
+ _request_auth,
3773
+ _content_type,
3774
+ _headers,
3775
+ _host_index,
3776
+ ) -> RequestSerialized:
3777
+
3778
+ _hosts = [
3779
+ 'https://marketplace-api.wildberries.ru'
3780
+ ]
3781
+ _host = _hosts[_host_index]
3782
+
3783
+ _collection_formats: Dict[str, str] = {
3784
+ }
3785
+
3786
+ _path_params: Dict[str, str] = {}
3787
+ _query_params: List[Tuple[str, str]] = []
3788
+ _header_params: Dict[str, Optional[str]] = _headers or {}
3789
+ _form_params: List[Tuple[str, str]] = []
3790
+ _files: Dict[
3791
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3792
+ ] = {}
3793
+ _body_params: Optional[bytes] = None
3794
+
3795
+ # process the path parameters
3796
+ # process the query parameters
3797
+ # process the header parameters
3798
+ # process the form parameters
3799
+ # process the body parameter
3800
+ if api_orders_code_request is not None:
3801
+ _body_params = api_orders_code_request
3802
+
3803
+
3804
+ # set the HTTP header `Accept`
3805
+ if 'Accept' not in _header_params:
3806
+ _header_params['Accept'] = self.api_client.select_header_accept(
3807
+ [
3808
+ 'application/json'
3809
+ ]
3810
+ )
3811
+
3812
+ # set the HTTP header `Content-Type`
3813
+ if _content_type:
3814
+ _header_params['Content-Type'] = _content_type
3815
+ else:
3816
+ _default_content_type = (
3817
+ self.api_client.select_header_content_type(
3818
+ [
3819
+ 'application/json'
3820
+ ]
3821
+ )
3822
+ )
3823
+ if _default_content_type is not None:
3824
+ _header_params['Content-Type'] = _default_content_type
3825
+
3826
+ # authentication setting
3827
+ _auth_settings: List[str] = [
3828
+ 'HeaderApiKey'
3829
+ ]
3830
+
3831
+ return self.api_client.param_serialize(
3832
+ method='POST',
3833
+ resource_path='/api/marketplace/v3/dbs/orders/status/reject',
3834
+ path_params=_path_params,
3835
+ query_params=_query_params,
3836
+ header_params=_header_params,
3837
+ body=_body_params,
3838
+ post_params=_form_params,
3839
+ files=_files,
3840
+ auth_settings=_auth_settings,
3841
+ collection_formats=_collection_formats,
3842
+ _host=_host,
3843
+ _request_auth=_request_auth
3844
+ )
3845
+
3846
+
3847
+
3848
+
57
3849
  @validate_call
58
3850
  def api_v3_dbs_groups_info_post(
59
3851
  self,
@@ -1528,9 +5320,9 @@ class DefaultApi:
1528
5320
  _headers: Optional[Dict[StrictStr, Any]] = None,
1529
5321
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1530
5322
  ) -> None:
1531
- """Отменить сборочное задание
5323
+ """(Deprecated) Отменить сборочное задание
1532
5324
 
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>
5325
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
1534
5326
 
1535
5327
  :param order_id: ID сборочного задания (required)
1536
5328
  :type order_id: int
@@ -1555,6 +5347,7 @@ class DefaultApi:
1555
5347
  :type _host_index: int, optional
1556
5348
  :return: Returns the result object.
1557
5349
  """ # noqa: E501
5350
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/cancel is deprecated.", DeprecationWarning)
1558
5351
 
1559
5352
  _param = self._api_v3_dbs_orders_order_id_cancel_patch_serialize(
1560
5353
  order_id=order_id,
@@ -1601,9 +5394,9 @@ class DefaultApi:
1601
5394
  _headers: Optional[Dict[StrictStr, Any]] = None,
1602
5395
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1603
5396
  ) -> ApiResponse[None]:
1604
- """Отменить сборочное задание
5397
+ """(Deprecated) Отменить сборочное задание
1605
5398
 
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>
5399
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
1607
5400
 
1608
5401
  :param order_id: ID сборочного задания (required)
1609
5402
  :type order_id: int
@@ -1628,6 +5421,7 @@ class DefaultApi:
1628
5421
  :type _host_index: int, optional
1629
5422
  :return: Returns the result object.
1630
5423
  """ # noqa: E501
5424
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/cancel is deprecated.", DeprecationWarning)
1631
5425
 
1632
5426
  _param = self._api_v3_dbs_orders_order_id_cancel_patch_serialize(
1633
5427
  order_id=order_id,
@@ -1674,9 +5468,9 @@ class DefaultApi:
1674
5468
  _headers: Optional[Dict[StrictStr, Any]] = None,
1675
5469
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1676
5470
  ) -> RESTResponseType:
1677
- """Отменить сборочное задание
5471
+ """(Deprecated) Отменить сборочное задание
1678
5472
 
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>
5473
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
1680
5474
 
1681
5475
  :param order_id: ID сборочного задания (required)
1682
5476
  :type order_id: int
@@ -1701,6 +5495,7 @@ class DefaultApi:
1701
5495
  :type _host_index: int, optional
1702
5496
  :return: Returns the result object.
1703
5497
  """ # noqa: E501
5498
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/cancel is deprecated.", DeprecationWarning)
1704
5499
 
1705
5500
  _param = self._api_v3_dbs_orders_order_id_cancel_patch_serialize(
1706
5501
  order_id=order_id,
@@ -1810,9 +5605,9 @@ class DefaultApi:
1810
5605
  _headers: Optional[Dict[StrictStr, Any]] = None,
1811
5606
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1812
5607
  ) -> None:
1813
- """Перевести на сборку
5608
+ """(Deprecated) Перевести на сборку
1814
5609
 
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>
5610
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
1816
5611
 
1817
5612
  :param order_id: ID сборочного задания (required)
1818
5613
  :type order_id: int
@@ -1837,6 +5632,7 @@ class DefaultApi:
1837
5632
  :type _host_index: int, optional
1838
5633
  :return: Returns the result object.
1839
5634
  """ # noqa: E501
5635
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/confirm is deprecated.", DeprecationWarning)
1840
5636
 
1841
5637
  _param = self._api_v3_dbs_orders_order_id_confirm_patch_serialize(
1842
5638
  order_id=order_id,
@@ -1883,9 +5679,9 @@ class DefaultApi:
1883
5679
  _headers: Optional[Dict[StrictStr, Any]] = None,
1884
5680
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1885
5681
  ) -> ApiResponse[None]:
1886
- """Перевести на сборку
5682
+ """(Deprecated) Перевести на сборку
1887
5683
 
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>
5684
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
1889
5685
 
1890
5686
  :param order_id: ID сборочного задания (required)
1891
5687
  :type order_id: int
@@ -1910,6 +5706,7 @@ class DefaultApi:
1910
5706
  :type _host_index: int, optional
1911
5707
  :return: Returns the result object.
1912
5708
  """ # noqa: E501
5709
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/confirm is deprecated.", DeprecationWarning)
1913
5710
 
1914
5711
  _param = self._api_v3_dbs_orders_order_id_confirm_patch_serialize(
1915
5712
  order_id=order_id,
@@ -1956,9 +5753,9 @@ class DefaultApi:
1956
5753
  _headers: Optional[Dict[StrictStr, Any]] = None,
1957
5754
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
1958
5755
  ) -> RESTResponseType:
1959
- """Перевести на сборку
5756
+ """(Deprecated) Перевести на сборку
1960
5757
 
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>
5758
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
1962
5759
 
1963
5760
  :param order_id: ID сборочного задания (required)
1964
5761
  :type order_id: int
@@ -1983,6 +5780,7 @@ class DefaultApi:
1983
5780
  :type _host_index: int, optional
1984
5781
  :return: Returns the result object.
1985
5782
  """ # noqa: E501
5783
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/confirm is deprecated.", DeprecationWarning)
1986
5784
 
1987
5785
  _param = self._api_v3_dbs_orders_order_id_confirm_patch_serialize(
1988
5786
  order_id=order_id,
@@ -2092,9 +5890,9 @@ class DefaultApi:
2092
5890
  _headers: Optional[Dict[StrictStr, Any]] = None,
2093
5891
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2094
5892
  ) -> None:
2095
- """Перевести в доставку
5893
+ """(Deprecated) Перевести в доставку
2096
5894
 
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>
5895
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2098
5896
 
2099
5897
  :param order_id: ID сборочного задания (required)
2100
5898
  :type order_id: int
@@ -2119,6 +5917,7 @@ class DefaultApi:
2119
5917
  :type _host_index: int, optional
2120
5918
  :return: Returns the result object.
2121
5919
  """ # noqa: E501
5920
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/deliver is deprecated.", DeprecationWarning)
2122
5921
 
2123
5922
  _param = self._api_v3_dbs_orders_order_id_deliver_patch_serialize(
2124
5923
  order_id=order_id,
@@ -2165,9 +5964,9 @@ class DefaultApi:
2165
5964
  _headers: Optional[Dict[StrictStr, Any]] = None,
2166
5965
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2167
5966
  ) -> ApiResponse[None]:
2168
- """Перевести в доставку
5967
+ """(Deprecated) Перевести в доставку
2169
5968
 
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>
5969
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2171
5970
 
2172
5971
  :param order_id: ID сборочного задания (required)
2173
5972
  :type order_id: int
@@ -2192,6 +5991,7 @@ class DefaultApi:
2192
5991
  :type _host_index: int, optional
2193
5992
  :return: Returns the result object.
2194
5993
  """ # noqa: E501
5994
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/deliver is deprecated.", DeprecationWarning)
2195
5995
 
2196
5996
  _param = self._api_v3_dbs_orders_order_id_deliver_patch_serialize(
2197
5997
  order_id=order_id,
@@ -2238,9 +6038,9 @@ class DefaultApi:
2238
6038
  _headers: Optional[Dict[StrictStr, Any]] = None,
2239
6039
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2240
6040
  ) -> RESTResponseType:
2241
- """Перевести в доставку
6041
+ """(Deprecated) Перевести в доставку
2242
6042
 
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>
6043
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2244
6044
 
2245
6045
  :param order_id: ID сборочного задания (required)
2246
6046
  :type order_id: int
@@ -2265,6 +6065,7 @@ class DefaultApi:
2265
6065
  :type _host_index: int, optional
2266
6066
  :return: Returns the result object.
2267
6067
  """ # noqa: E501
6068
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/deliver is deprecated.", DeprecationWarning)
2268
6069
 
2269
6070
  _param = self._api_v3_dbs_orders_order_id_deliver_patch_serialize(
2270
6071
  order_id=order_id,
@@ -2361,7 +6162,7 @@ class DefaultApi:
2361
6162
  def api_v3_dbs_orders_order_id_meta_delete(
2362
6163
  self,
2363
6164
  order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
2364
- key: Annotated[Optional[StrictStr], Field(description="Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передается только одно значение.")] = None,
6165
+ key: Annotated[Optional[StrictStr], Field(description="Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передаётся только одно значение")] = None,
2365
6166
  _request_timeout: Union[
2366
6167
  None,
2367
6168
  Annotated[StrictFloat, Field(gt=0)],
@@ -2375,13 +6176,13 @@ class DefaultApi:
2375
6176
  _headers: Optional[Dict[StrictStr, Any]] = None,
2376
6177
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2377
6178
  ) -> None:
2378
- """Удалить метаданные сборочного задания
6179
+ """(Deprecated) Удалить метаданные сборочного задания
2379
6180
 
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>
6181
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2381
6182
 
2382
6183
  :param order_id: ID сборочного задания (required)
2383
6184
  :type order_id: int
2384
- :param key: Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передается только одно значение.
6185
+ :param key: Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передаётся только одно значение
2385
6186
  :type key: str
2386
6187
  :param _request_timeout: timeout setting for this request. If one
2387
6188
  number provided, it will be total request
@@ -2404,6 +6205,7 @@ class DefaultApi:
2404
6205
  :type _host_index: int, optional
2405
6206
  :return: Returns the result object.
2406
6207
  """ # noqa: E501
6208
+ warnings.warn("DELETE /api/v3/dbs/orders/{orderId}/meta is deprecated.", DeprecationWarning)
2407
6209
 
2408
6210
  _param = self._api_v3_dbs_orders_order_id_meta_delete_serialize(
2409
6211
  order_id=order_id,
@@ -2437,7 +6239,7 @@ class DefaultApi:
2437
6239
  def api_v3_dbs_orders_order_id_meta_delete_with_http_info(
2438
6240
  self,
2439
6241
  order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
2440
- key: Annotated[Optional[StrictStr], Field(description="Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передается только одно значение.")] = None,
6242
+ key: Annotated[Optional[StrictStr], Field(description="Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передаётся только одно значение")] = None,
2441
6243
  _request_timeout: Union[
2442
6244
  None,
2443
6245
  Annotated[StrictFloat, Field(gt=0)],
@@ -2451,13 +6253,13 @@ class DefaultApi:
2451
6253
  _headers: Optional[Dict[StrictStr, Any]] = None,
2452
6254
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2453
6255
  ) -> ApiResponse[None]:
2454
- """Удалить метаданные сборочного задания
6256
+ """(Deprecated) Удалить метаданные сборочного задания
2455
6257
 
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>
6258
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2457
6259
 
2458
6260
  :param order_id: ID сборочного задания (required)
2459
6261
  :type order_id: int
2460
- :param key: Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передается только одно значение.
6262
+ :param key: Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передаётся только одно значение
2461
6263
  :type key: str
2462
6264
  :param _request_timeout: timeout setting for this request. If one
2463
6265
  number provided, it will be total request
@@ -2480,6 +6282,7 @@ class DefaultApi:
2480
6282
  :type _host_index: int, optional
2481
6283
  :return: Returns the result object.
2482
6284
  """ # noqa: E501
6285
+ warnings.warn("DELETE /api/v3/dbs/orders/{orderId}/meta is deprecated.", DeprecationWarning)
2483
6286
 
2484
6287
  _param = self._api_v3_dbs_orders_order_id_meta_delete_serialize(
2485
6288
  order_id=order_id,
@@ -2513,7 +6316,7 @@ class DefaultApi:
2513
6316
  def api_v3_dbs_orders_order_id_meta_delete_without_preload_content(
2514
6317
  self,
2515
6318
  order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
2516
- key: Annotated[Optional[StrictStr], Field(description="Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передается только одно значение.")] = None,
6319
+ key: Annotated[Optional[StrictStr], Field(description="Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передаётся только одно значение")] = None,
2517
6320
  _request_timeout: Union[
2518
6321
  None,
2519
6322
  Annotated[StrictFloat, Field(gt=0)],
@@ -2527,13 +6330,13 @@ class DefaultApi:
2527
6330
  _headers: Optional[Dict[StrictStr, Any]] = None,
2528
6331
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2529
6332
  ) -> RESTResponseType:
2530
- """Удалить метаданные сборочного задания
6333
+ """(Deprecated) Удалить метаданные сборочного задания
2531
6334
 
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>
6335
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2533
6336
 
2534
6337
  :param order_id: ID сборочного задания (required)
2535
6338
  :type order_id: int
2536
- :param key: Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передается только одно значение.
6339
+ :param key: Название метаданных для удаления (**imei**, **uin**, **gtin**, **sgtin**). Передаётся только одно значение
2537
6340
  :type key: str
2538
6341
  :param _request_timeout: timeout setting for this request. If one
2539
6342
  number provided, it will be total request
@@ -2556,6 +6359,7 @@ class DefaultApi:
2556
6359
  :type _host_index: int, optional
2557
6360
  :return: Returns the result object.
2558
6361
  """ # noqa: E501
6362
+ warnings.warn("DELETE /api/v3/dbs/orders/{orderId}/meta is deprecated.", DeprecationWarning)
2559
6363
 
2560
6364
  _param = self._api_v3_dbs_orders_order_id_meta_delete_serialize(
2561
6365
  order_id=order_id,
@@ -2670,9 +6474,9 @@ class DefaultApi:
2670
6474
  _headers: Optional[Dict[StrictStr, Any]] = None,
2671
6475
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2672
6476
  ) -> ApiV3DbsOrdersOrderIdMetaGet200Response:
2673
- """Получить метаданные сборочного задания
6477
+ """(Deprecated) Получить метаданные сборочного задания
2674
6478
 
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>
6479
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2676
6480
 
2677
6481
  :param order_id: ID сборочного задания (required)
2678
6482
  :type order_id: int
@@ -2697,6 +6501,7 @@ class DefaultApi:
2697
6501
  :type _host_index: int, optional
2698
6502
  :return: Returns the result object.
2699
6503
  """ # noqa: E501
6504
+ warnings.warn("GET /api/v3/dbs/orders/{orderId}/meta is deprecated.", DeprecationWarning)
2700
6505
 
2701
6506
  _param = self._api_v3_dbs_orders_order_id_meta_get_serialize(
2702
6507
  order_id=order_id,
@@ -2741,9 +6546,9 @@ class DefaultApi:
2741
6546
  _headers: Optional[Dict[StrictStr, Any]] = None,
2742
6547
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2743
6548
  ) -> ApiResponse[ApiV3DbsOrdersOrderIdMetaGet200Response]:
2744
- """Получить метаданные сборочного задания
6549
+ """(Deprecated) Получить метаданные сборочного задания
2745
6550
 
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>
6551
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2747
6552
 
2748
6553
  :param order_id: ID сборочного задания (required)
2749
6554
  :type order_id: int
@@ -2768,6 +6573,7 @@ class DefaultApi:
2768
6573
  :type _host_index: int, optional
2769
6574
  :return: Returns the result object.
2770
6575
  """ # noqa: E501
6576
+ warnings.warn("GET /api/v3/dbs/orders/{orderId}/meta is deprecated.", DeprecationWarning)
2771
6577
 
2772
6578
  _param = self._api_v3_dbs_orders_order_id_meta_get_serialize(
2773
6579
  order_id=order_id,
@@ -2812,9 +6618,9 @@ class DefaultApi:
2812
6618
  _headers: Optional[Dict[StrictStr, Any]] = None,
2813
6619
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2814
6620
  ) -> RESTResponseType:
2815
- """Получить метаданные сборочного задания
6621
+ """(Deprecated) Получить метаданные сборочного задания
2816
6622
 
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>
6623
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2818
6624
 
2819
6625
  :param order_id: ID сборочного задания (required)
2820
6626
  :type order_id: int
@@ -2839,6 +6645,7 @@ class DefaultApi:
2839
6645
  :type _host_index: int, optional
2840
6646
  :return: Returns the result object.
2841
6647
  """ # noqa: E501
6648
+ warnings.warn("GET /api/v3/dbs/orders/{orderId}/meta is deprecated.", DeprecationWarning)
2842
6649
 
2843
6650
  _param = self._api_v3_dbs_orders_order_id_meta_get_serialize(
2844
6651
  order_id=order_id,
@@ -2947,9 +6754,9 @@ class DefaultApi:
2947
6754
  _headers: Optional[Dict[StrictStr, Any]] = None,
2948
6755
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
2949
6756
  ) -> None:
2950
- """Закрепить за сборочным заданием GTIN
6757
+ """(Deprecated) Закрепить за сборочным заданием GTIN
2951
6758
 
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>
6759
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
2953
6760
 
2954
6761
  :param order_id: ID сборочного задания (required)
2955
6762
  :type order_id: int
@@ -2976,6 +6783,7 @@ class DefaultApi:
2976
6783
  :type _host_index: int, optional
2977
6784
  :return: Returns the result object.
2978
6785
  """ # noqa: E501
6786
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/gtin is deprecated.", DeprecationWarning)
2979
6787
 
2980
6788
  _param = self._api_v3_dbs_orders_order_id_meta_gtin_put_serialize(
2981
6789
  order_id=order_id,
@@ -3024,9 +6832,9 @@ class DefaultApi:
3024
6832
  _headers: Optional[Dict[StrictStr, Any]] = None,
3025
6833
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3026
6834
  ) -> ApiResponse[None]:
3027
- """Закрепить за сборочным заданием GTIN
6835
+ """(Deprecated) Закрепить за сборочным заданием GTIN
3028
6836
 
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>
6837
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3030
6838
 
3031
6839
  :param order_id: ID сборочного задания (required)
3032
6840
  :type order_id: int
@@ -3053,6 +6861,7 @@ class DefaultApi:
3053
6861
  :type _host_index: int, optional
3054
6862
  :return: Returns the result object.
3055
6863
  """ # noqa: E501
6864
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/gtin is deprecated.", DeprecationWarning)
3056
6865
 
3057
6866
  _param = self._api_v3_dbs_orders_order_id_meta_gtin_put_serialize(
3058
6867
  order_id=order_id,
@@ -3101,9 +6910,9 @@ class DefaultApi:
3101
6910
  _headers: Optional[Dict[StrictStr, Any]] = None,
3102
6911
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3103
6912
  ) -> RESTResponseType:
3104
- """Закрепить за сборочным заданием GTIN
6913
+ """(Deprecated) Закрепить за сборочным заданием GTIN
3105
6914
 
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>
6915
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3107
6916
 
3108
6917
  :param order_id: ID сборочного задания (required)
3109
6918
  :type order_id: int
@@ -3130,6 +6939,7 @@ class DefaultApi:
3130
6939
  :type _host_index: int, optional
3131
6940
  :return: Returns the result object.
3132
6941
  """ # noqa: E501
6942
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/gtin is deprecated.", DeprecationWarning)
3133
6943
 
3134
6944
  _param = self._api_v3_dbs_orders_order_id_meta_gtin_put_serialize(
3135
6945
  order_id=order_id,
@@ -3257,9 +7067,9 @@ class DefaultApi:
3257
7067
  _headers: Optional[Dict[StrictStr, Any]] = None,
3258
7068
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3259
7069
  ) -> None:
3260
- """Закрепить за сборочным заданием IMEI
7070
+ """(Deprecated) Закрепить за сборочным заданием IMEI
3261
7071
 
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>
7072
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3263
7073
 
3264
7074
  :param order_id: ID сборочного задания (required)
3265
7075
  :type order_id: int
@@ -3286,6 +7096,7 @@ class DefaultApi:
3286
7096
  :type _host_index: int, optional
3287
7097
  :return: Returns the result object.
3288
7098
  """ # noqa: E501
7099
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/imei is deprecated.", DeprecationWarning)
3289
7100
 
3290
7101
  _param = self._api_v3_dbs_orders_order_id_meta_imei_put_serialize(
3291
7102
  order_id=order_id,
@@ -3334,9 +7145,9 @@ class DefaultApi:
3334
7145
  _headers: Optional[Dict[StrictStr, Any]] = None,
3335
7146
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3336
7147
  ) -> ApiResponse[None]:
3337
- """Закрепить за сборочным заданием IMEI
7148
+ """(Deprecated) Закрепить за сборочным заданием IMEI
3338
7149
 
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>
7150
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3340
7151
 
3341
7152
  :param order_id: ID сборочного задания (required)
3342
7153
  :type order_id: int
@@ -3363,6 +7174,7 @@ class DefaultApi:
3363
7174
  :type _host_index: int, optional
3364
7175
  :return: Returns the result object.
3365
7176
  """ # noqa: E501
7177
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/imei is deprecated.", DeprecationWarning)
3366
7178
 
3367
7179
  _param = self._api_v3_dbs_orders_order_id_meta_imei_put_serialize(
3368
7180
  order_id=order_id,
@@ -3411,9 +7223,9 @@ class DefaultApi:
3411
7223
  _headers: Optional[Dict[StrictStr, Any]] = None,
3412
7224
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3413
7225
  ) -> RESTResponseType:
3414
- """Закрепить за сборочным заданием IMEI
7226
+ """(Deprecated) Закрепить за сборочным заданием IMEI
3415
7227
 
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>
7228
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3417
7229
 
3418
7230
  :param order_id: ID сборочного задания (required)
3419
7231
  :type order_id: int
@@ -3440,6 +7252,7 @@ class DefaultApi:
3440
7252
  :type _host_index: int, optional
3441
7253
  :return: Returns the result object.
3442
7254
  """ # noqa: E501
7255
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/imei is deprecated.", DeprecationWarning)
3443
7256
 
3444
7257
  _param = self._api_v3_dbs_orders_order_id_meta_imei_put_serialize(
3445
7258
  order_id=order_id,
@@ -3567,9 +7380,9 @@ class DefaultApi:
3567
7380
  _headers: Optional[Dict[StrictStr, Any]] = None,
3568
7381
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3569
7382
  ) -> None:
3570
- """Закрепить за сборочным заданием код маркировки товара
7383
+ """(Deprecated) Закрепить за сборочным заданием код маркировки товара
3571
7384
 
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>
7385
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3573
7386
 
3574
7387
  :param order_id: ID сборочного задания (required)
3575
7388
  :type order_id: int
@@ -3596,6 +7409,7 @@ class DefaultApi:
3596
7409
  :type _host_index: int, optional
3597
7410
  :return: Returns the result object.
3598
7411
  """ # noqa: E501
7412
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/sgtin is deprecated.", DeprecationWarning)
3599
7413
 
3600
7414
  _param = self._api_v3_dbs_orders_order_id_meta_sgtin_put_serialize(
3601
7415
  order_id=order_id,
@@ -3644,9 +7458,9 @@ class DefaultApi:
3644
7458
  _headers: Optional[Dict[StrictStr, Any]] = None,
3645
7459
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3646
7460
  ) -> ApiResponse[None]:
3647
- """Закрепить за сборочным заданием код маркировки товара
7461
+ """(Deprecated) Закрепить за сборочным заданием код маркировки товара
3648
7462
 
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>
7463
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3650
7464
 
3651
7465
  :param order_id: ID сборочного задания (required)
3652
7466
  :type order_id: int
@@ -3673,6 +7487,7 @@ class DefaultApi:
3673
7487
  :type _host_index: int, optional
3674
7488
  :return: Returns the result object.
3675
7489
  """ # noqa: E501
7490
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/sgtin is deprecated.", DeprecationWarning)
3676
7491
 
3677
7492
  _param = self._api_v3_dbs_orders_order_id_meta_sgtin_put_serialize(
3678
7493
  order_id=order_id,
@@ -3721,9 +7536,9 @@ class DefaultApi:
3721
7536
  _headers: Optional[Dict[StrictStr, Any]] = None,
3722
7537
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3723
7538
  ) -> RESTResponseType:
3724
- """Закрепить за сборочным заданием код маркировки товара
7539
+ """(Deprecated) Закрепить за сборочным заданием код маркировки товара
3725
7540
 
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>
7541
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3727
7542
 
3728
7543
  :param order_id: ID сборочного задания (required)
3729
7544
  :type order_id: int
@@ -3750,6 +7565,7 @@ class DefaultApi:
3750
7565
  :type _host_index: int, optional
3751
7566
  :return: Returns the result object.
3752
7567
  """ # noqa: E501
7568
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/sgtin is deprecated.", DeprecationWarning)
3753
7569
 
3754
7570
  _param = self._api_v3_dbs_orders_order_id_meta_sgtin_put_serialize(
3755
7571
  order_id=order_id,
@@ -3877,9 +7693,9 @@ class DefaultApi:
3877
7693
  _headers: Optional[Dict[StrictStr, Any]] = None,
3878
7694
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3879
7695
  ) -> None:
3880
- """Закрепить за сборочным заданием УИН (уникальный идентификационный номер)
7696
+ """(Deprecated) Закрепить за сборочным заданием УИН (уникальный идентификационный номер)
3881
7697
 
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>
7698
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3883
7699
 
3884
7700
  :param order_id: ID сборочного задания (required)
3885
7701
  :type order_id: int
@@ -3906,6 +7722,7 @@ class DefaultApi:
3906
7722
  :type _host_index: int, optional
3907
7723
  :return: Returns the result object.
3908
7724
  """ # noqa: E501
7725
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/uin is deprecated.", DeprecationWarning)
3909
7726
 
3910
7727
  _param = self._api_v3_dbs_orders_order_id_meta_uin_put_serialize(
3911
7728
  order_id=order_id,
@@ -3954,9 +7771,9 @@ class DefaultApi:
3954
7771
  _headers: Optional[Dict[StrictStr, Any]] = None,
3955
7772
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
3956
7773
  ) -> ApiResponse[None]:
3957
- """Закрепить за сборочным заданием УИН (уникальный идентификационный номер)
7774
+ """(Deprecated) Закрепить за сборочным заданием УИН (уникальный идентификационный номер)
3958
7775
 
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>
7776
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
3960
7777
 
3961
7778
  :param order_id: ID сборочного задания (required)
3962
7779
  :type order_id: int
@@ -3983,6 +7800,7 @@ class DefaultApi:
3983
7800
  :type _host_index: int, optional
3984
7801
  :return: Returns the result object.
3985
7802
  """ # noqa: E501
7803
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/uin is deprecated.", DeprecationWarning)
3986
7804
 
3987
7805
  _param = self._api_v3_dbs_orders_order_id_meta_uin_put_serialize(
3988
7806
  order_id=order_id,
@@ -4031,9 +7849,9 @@ class DefaultApi:
4031
7849
  _headers: Optional[Dict[StrictStr, Any]] = None,
4032
7850
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4033
7851
  ) -> RESTResponseType:
4034
- """Закрепить за сборочным заданием УИН (уникальный идентификационный номер)
7852
+ """(Deprecated) Закрепить за сборочным заданием УИН (уникальный идентификационный номер)
4035
7853
 
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>
7854
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4037
7855
 
4038
7856
  :param order_id: ID сборочного задания (required)
4039
7857
  :type order_id: int
@@ -4060,6 +7878,7 @@ class DefaultApi:
4060
7878
  :type _host_index: int, optional
4061
7879
  :return: Returns the result object.
4062
7880
  """ # noqa: E501
7881
+ warnings.warn("PUT /api/v3/dbs/orders/{orderId}/meta/uin is deprecated.", DeprecationWarning)
4063
7882
 
4064
7883
  _param = self._api_v3_dbs_orders_order_id_meta_uin_put_serialize(
4065
7884
  order_id=order_id,
@@ -4187,9 +8006,9 @@ class DefaultApi:
4187
8006
  _headers: Optional[Dict[StrictStr, Any]] = None,
4188
8007
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4189
8008
  ) -> None:
4190
- """Сообщить, что заказ принят покупателем
8009
+ """(Deprecated) Сообщить, что заказ принят покупателем
4191
8010
 
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>
8011
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4193
8012
 
4194
8013
  :param order_id: ID сборочного задания (required)
4195
8014
  :type order_id: int
@@ -4216,6 +8035,7 @@ class DefaultApi:
4216
8035
  :type _host_index: int, optional
4217
8036
  :return: Returns the result object.
4218
8037
  """ # noqa: E501
8038
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/receive is deprecated.", DeprecationWarning)
4219
8039
 
4220
8040
  _param = self._api_v3_dbs_orders_order_id_receive_patch_serialize(
4221
8041
  order_id=order_id,
@@ -4264,9 +8084,9 @@ class DefaultApi:
4264
8084
  _headers: Optional[Dict[StrictStr, Any]] = None,
4265
8085
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4266
8086
  ) -> ApiResponse[None]:
4267
- """Сообщить, что заказ принят покупателем
8087
+ """(Deprecated) Сообщить, что заказ принят покупателем
4268
8088
 
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>
8089
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4270
8090
 
4271
8091
  :param order_id: ID сборочного задания (required)
4272
8092
  :type order_id: int
@@ -4293,6 +8113,7 @@ class DefaultApi:
4293
8113
  :type _host_index: int, optional
4294
8114
  :return: Returns the result object.
4295
8115
  """ # noqa: E501
8116
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/receive is deprecated.", DeprecationWarning)
4296
8117
 
4297
8118
  _param = self._api_v3_dbs_orders_order_id_receive_patch_serialize(
4298
8119
  order_id=order_id,
@@ -4341,9 +8162,9 @@ class DefaultApi:
4341
8162
  _headers: Optional[Dict[StrictStr, Any]] = None,
4342
8163
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4343
8164
  ) -> RESTResponseType:
4344
- """Сообщить, что заказ принят покупателем
8165
+ """(Deprecated) Сообщить, что заказ принят покупателем
4345
8166
 
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>
8167
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4347
8168
 
4348
8169
  :param order_id: ID сборочного задания (required)
4349
8170
  :type order_id: int
@@ -4370,6 +8191,7 @@ class DefaultApi:
4370
8191
  :type _host_index: int, optional
4371
8192
  :return: Returns the result object.
4372
8193
  """ # noqa: E501
8194
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/receive is deprecated.", DeprecationWarning)
4373
8195
 
4374
8196
  _param = self._api_v3_dbs_orders_order_id_receive_patch_serialize(
4375
8197
  order_id=order_id,
@@ -4497,9 +8319,9 @@ class DefaultApi:
4497
8319
  _headers: Optional[Dict[StrictStr, Any]] = None,
4498
8320
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4499
8321
  ) -> None:
4500
- """Сообщить, что покупатель отказался от заказа
8322
+ """(Deprecated) Сообщить, что покупатель отказался от заказа
4501
8323
 
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>
8324
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4503
8325
 
4504
8326
  :param order_id: ID сборочного задания (required)
4505
8327
  :type order_id: int
@@ -4526,6 +8348,7 @@ class DefaultApi:
4526
8348
  :type _host_index: int, optional
4527
8349
  :return: Returns the result object.
4528
8350
  """ # noqa: E501
8351
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/reject is deprecated.", DeprecationWarning)
4529
8352
 
4530
8353
  _param = self._api_v3_dbs_orders_order_id_reject_patch_serialize(
4531
8354
  order_id=order_id,
@@ -4574,9 +8397,9 @@ class DefaultApi:
4574
8397
  _headers: Optional[Dict[StrictStr, Any]] = None,
4575
8398
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4576
8399
  ) -> ApiResponse[None]:
4577
- """Сообщить, что покупатель отказался от заказа
8400
+ """(Deprecated) Сообщить, что покупатель отказался от заказа
4578
8401
 
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>
8402
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4580
8403
 
4581
8404
  :param order_id: ID сборочного задания (required)
4582
8405
  :type order_id: int
@@ -4603,6 +8426,7 @@ class DefaultApi:
4603
8426
  :type _host_index: int, optional
4604
8427
  :return: Returns the result object.
4605
8428
  """ # noqa: E501
8429
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/reject is deprecated.", DeprecationWarning)
4606
8430
 
4607
8431
  _param = self._api_v3_dbs_orders_order_id_reject_patch_serialize(
4608
8432
  order_id=order_id,
@@ -4651,9 +8475,9 @@ class DefaultApi:
4651
8475
  _headers: Optional[Dict[StrictStr, Any]] = None,
4652
8476
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4653
8477
  ) -> RESTResponseType:
4654
- """Сообщить, что покупатель отказался от заказа
8478
+ """(Deprecated) Сообщить, что покупатель отказался от заказа
4655
8479
 
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>
8480
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4657
8481
 
4658
8482
  :param order_id: ID сборочного задания (required)
4659
8483
  :type order_id: int
@@ -4680,6 +8504,7 @@ class DefaultApi:
4680
8504
  :type _host_index: int, optional
4681
8505
  :return: Returns the result object.
4682
8506
  """ # noqa: E501
8507
+ warnings.warn("PATCH /api/v3/dbs/orders/{orderId}/reject is deprecated.", DeprecationWarning)
4683
8508
 
4684
8509
  _param = self._api_v3_dbs_orders_order_id_reject_patch_serialize(
4685
8510
  order_id=order_id,
@@ -4806,9 +8631,9 @@ class DefaultApi:
4806
8631
  _headers: Optional[Dict[StrictStr, Any]] = None,
4807
8632
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4808
8633
  ) -> ApiV3DbsOrdersStatusPost200Response:
4809
- """Получить статусы сборочных заданий
8634
+ """(Deprecated) Получить статусы сборочных заданий
4810
8635
 
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>
8636
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4812
8637
 
4813
8638
  :param api_v3_dbs_orders_status_post_request:
4814
8639
  :type api_v3_dbs_orders_status_post_request: ApiV3DbsOrdersStatusPostRequest
@@ -4833,6 +8658,7 @@ class DefaultApi:
4833
8658
  :type _host_index: int, optional
4834
8659
  :return: Returns the result object.
4835
8660
  """ # noqa: E501
8661
+ warnings.warn("POST /api/v3/dbs/orders/status is deprecated.", DeprecationWarning)
4836
8662
 
4837
8663
  _param = self._api_v3_dbs_orders_status_post_serialize(
4838
8664
  api_v3_dbs_orders_status_post_request=api_v3_dbs_orders_status_post_request,
@@ -4877,9 +8703,9 @@ class DefaultApi:
4877
8703
  _headers: Optional[Dict[StrictStr, Any]] = None,
4878
8704
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4879
8705
  ) -> ApiResponse[ApiV3DbsOrdersStatusPost200Response]:
4880
- """Получить статусы сборочных заданий
8706
+ """(Deprecated) Получить статусы сборочных заданий
4881
8707
 
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>
8708
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4883
8709
 
4884
8710
  :param api_v3_dbs_orders_status_post_request:
4885
8711
  :type api_v3_dbs_orders_status_post_request: ApiV3DbsOrdersStatusPostRequest
@@ -4904,6 +8730,7 @@ class DefaultApi:
4904
8730
  :type _host_index: int, optional
4905
8731
  :return: Returns the result object.
4906
8732
  """ # noqa: E501
8733
+ warnings.warn("POST /api/v3/dbs/orders/status is deprecated.", DeprecationWarning)
4907
8734
 
4908
8735
  _param = self._api_v3_dbs_orders_status_post_serialize(
4909
8736
  api_v3_dbs_orders_status_post_request=api_v3_dbs_orders_status_post_request,
@@ -4948,9 +8775,9 @@ class DefaultApi:
4948
8775
  _headers: Optional[Dict[StrictStr, Any]] = None,
4949
8776
  _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
4950
8777
  ) -> RESTResponseType:
4951
- """Получить статусы сборочных заданий
8778
+ """(Deprecated) Получить статусы сборочных заданий
4952
8779
 
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>
8780
+ Данный метод устарел. Он будет удалён [13 апреля](https://dev.wildberries.ru/release-notes?id=378)
4954
8781
 
4955
8782
  :param api_v3_dbs_orders_status_post_request:
4956
8783
  :type api_v3_dbs_orders_status_post_request: ApiV3DbsOrdersStatusPostRequest
@@ -4975,6 +8802,7 @@ class DefaultApi:
4975
8802
  :type _host_index: int, optional
4976
8803
  :return: Returns the result object.
4977
8804
  """ # noqa: E501
8805
+ warnings.warn("POST /api/v3/dbs/orders/status is deprecated.", DeprecationWarning)
4978
8806
 
4979
8807
  _param = self._api_v3_dbs_orders_status_post_serialize(
4980
8808
  api_v3_dbs_orders_status_post_request=api_v3_dbs_orders_status_post_request,