### Example Response: Get Questions (JSON) Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/list-products.md Illustrates the structure of the successful response when retrieving product questions using the Wildberries API. Includes details like question ID, text, timestamps, state, supplier answers, nmID, and product details. ```json { "data": { "questions": [ { "id": "q123456789", "text": "Подскажите, какой размер выбрать при росте 180 см?", "createdAt": "2023-01-18T14:20:00Z", "state": "published", "supplierAnswer": { "text": "При росте 180 см рекомендуем выбрать размер L.", "createdAt": "2023-01-18T15:45:00Z" }, "nmID": 987654321, "productDetails": { "supplierArticle": "ART-12345", "brand": "BrandName", "name": "Футболка мужская" } } // ... другие вопросы ], "total": 15 }, "error": false, "errorText": "" } ``` -------------------------------- ### Example Response: Get Feedbacks (JSON) Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/list-products.md Illustrates the structure of the successful response when retrieving product feedbacks using the Wildberries API. Includes details like feedback ID, text, rating, timestamps, photos, supplier answers, state, and product details. ```json { "data": { "feedbacks": [ { "id": "fb123456789", "text": "Отличный товар, доволен покупкой!", "userRating": 5, "createdAt": "2023-01-15T12:30:00Z", "photosLinks": [ "https://feedbacks-photos.wildberries.ru/fb123456789/1.jpg" ], "supplierAnswer": { "text": "Спасибо за отзыв!", "createdAt": "2023-01-15T15:00:00Z" }, "state": "published", "nmID": 987654321, "productDetails": { "supplierArticle": "ART-12345", "size": "M", "color": "Черный" } } // ... другие отзывы ], "total": 25 }, "error": false, "errorText": "" } ``` -------------------------------- ### Example Response: Answer Question (JSON) Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/list-products.md Provides an example of the successful response structure after successfully submitting an answer to a product question. Includes the question ID and the details of the newly created supplier answer. ```json { "data": { "id": "q123456789", "supplierAnswer": { "text": "При росте 180 см рекомендуем выбрать размер L.", "createdAt": "2023-01-18T15:45:00Z" } }, "error": false, "errorText": "" } ``` -------------------------------- ### Example Response: Answer Feedback (JSON) Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/list-products.md Provides an example of the successful response structure after successfully submitting an answer to a product feedback. Includes the feedback ID and the details of the newly created supplier answer. ```json { "data": { "id": "fb123456789", "supplierAnswer": { "text": "Спасибо за ваш отзыв! Мы рады, что вам понравился наш товар.", "createdAt": "2023-01-20T10:15:00Z" } }, "error": false, "errorText": "" } ``` -------------------------------- ### Creating Supply - Wildberries API - JSON Response Example Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/process-orders.md Example JSON response body after successfully creating a supply. It returns the generated supply ID and creation timestamp. ```JSON { "data": { "supplyId": "WB-12345678", "createdAt": "2023-02-01T10:00:00Z" }, "error": false, "errorText": "" } ``` -------------------------------- ### Delete Card Wildberries API cURL Example Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/delete-products.md This is a cURL example demonstrating how to call the API endpoint to delete a product card. It includes the required `imtID` query parameter and an Authorization header. ```bash curl -X DELETE "https://suppliers-api.wildberries.ru/content/v1/cards/delete?imtID=123456789" \ -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." ``` -------------------------------- ### Creating Supply - Wildberries API - JSON Request Example Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/process-orders.md Example JSON request body for creating a supply. It includes an optional name for the supply and the required warehouse identifier. Requires the POST /api/v2/supplies method. ```JSON { "name": "Поставка от 01.02.2023", "warehouseId": 507 } ``` -------------------------------- ### Confirming Orders - Wildberries API - JSON Response Example Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/process-orders.md Example JSON response body after attempting to confirm orders. It indicates the number of orders successfully processed and failed. ```JSON { "data": { "processed": 2, "failed": 0 }, "error": false, "errorText": "" } ``` -------------------------------- ### Example Request Body: Answer Question (JSON) Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/list-products.md Shows the required JSON structure for the request body when answering a product question. Contains the 'text' field for the answer content. ```json { "text": "При росте 180 см рекомендуем выбрать размер L." } ``` -------------------------------- ### Example Request Body: Answer Feedback (JSON) Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/list-products.md Shows the required JSON structure for the request body when answering a product feedback. Contains the 'text' field for the answer content. ```json { "text": "Спасибо за ваш отзыв! Мы рады, что вам понравился наш товар." } ``` -------------------------------- ### Listing Supplies - Wildberries API - JSON Response Example Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/process-orders.md Example JSON response body containing a list of supplies. Each supply object includes details like ID, name, creation date, status, warehouse ID, order counts, and closure date. ```JSON { "data": { "supplies": [ { "id": "WB-12345678", "name": "Поставка от 01.02.2023", "createdAt": "2023-02-01T10:00:00Z", "status": "ACTIVE", "warehouseId": 507, "orderCountWithInTransitStatus": 5, "orderCountWithAcceptedStatus": 0, "closedAt": null } ], "total": 15 }, "error": false, "errorText": "" } ``` -------------------------------- ### Confirming Orders - Wildberries API - JSON Request Example Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/process-orders.md Example JSON request body for confirming orders. It contains an array of order identifiers to be confirmed. Requires the PATCH /api/v2/orders method. ```JSON { "orders": [123456789, 987654321] } ``` -------------------------------- ### Adding Orders to Supply - Wildberries API - JSON Response Example Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/process-orders.md Example JSON response body after attempting to add orders to a supply. It lists each order and whether it was successfully added, including a reason for failure if applicable. ```JSON { "data": { "orders": [ { "id": 123456789, "added": true }, { "id": 987654321, "added": true }, { "id": 123123123, "added": false, "reason": "Order already in supply" } ] }, "error": false, "errorText": "" } ``` -------------------------------- ### Cancelling Orders - Wildberries API - JSON Response Example Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/process-orders.md Example JSON response body after attempting to cancel orders. It indicates the number of orders successfully processed and failed. ```JSON { "data": { "processed": 2, "failed": 0 }, "error": false, "errorText": "" } ``` -------------------------------- ### Closing Supply - Wildberries API - JSON Response Example Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/process-orders.md Example JSON response body after successfully closing a supply. It confirms the supply ID, its updated status (ON_DELIVERY), and the timestamp when it was closed. ```JSON { "data": { "id": "WB-12345678", "status": "ON_DELIVERY", "closedAt": "2023-02-02T15:30:00Z" }, "error": false, "errorText": "" } ``` -------------------------------- ### API Endpoint: Get Questions (HTTP) Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/list-products.md Specifies the HTTP method and URL path for retrieving product questions using the Wildberries API. This endpoint supports filtering and pagination via query parameters. ```http GET https://feedbacks-api.wildberries.ru/api/v1/questions ``` -------------------------------- ### Adding Orders to Supply - Wildberries API - JSON Request Example Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/process-orders.md Example JSON request body for adding orders to a supply. It contains an array of order identifiers to be added to the supply specified in the URL. Requires the PATCH /api/v2/supplies/{supplyId} method. ```JSON { "orders": [123456789, 987654321, 123123123] } ``` -------------------------------- ### Cancelling Orders - Wildberries API - JSON Request Example Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/process-orders.md Example JSON request body for cancelling orders. It contains an array of objects, each specifying an order ID and the reason for cancellation. Requires the PUT /api/v2/orders/cancel method. ```JSON { "orders": [ { "id": 123456789, "reason": "Нет в наличии" }, { "id": 987654321, "reason": "Брак" } ] } ``` -------------------------------- ### Listing Supplies - Wildberries API - HTTP Method Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/process-orders.md This HTTP method is used to retrieve a list of supplies via the Wildberries API. It uses the GET method on the /api/v2/supplies endpoint and supports various query parameters for filtering and pagination. ```HTTP GET https://suppliers-api.wildberries.ru/api/v2/supplies ``` -------------------------------- ### Delete Size Wildberries API JSON Request Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/delete-products.md This JSON snippet provides an example request body for deleting specific sizes from a product card. It includes the `imtID` and an array of `skus` to be removed. ```json { "imtID": 123456789, "skus": [" ``` -------------------------------- ### Creating Supply - Wildberries API - HTTP Method Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/process-orders.md This HTTP method is used to create a new supply via the Wildberries API. It uses the POST method on the /api/v2/supplies endpoint. ```HTTP POST https://suppliers-api.wildberries.ru/api/v2/supplies ``` -------------------------------- ### API Endpoint: Answer Question (HTTP) Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/list-products.md Specifies the HTTP method and URL path for submitting an answer to a specific product question using the Wildberries API. Requires the question ID in the URL path. ```http POST https://feedbacks-api.wildberries.ru/api/v1/questions/{questionID}/answer ``` -------------------------------- ### API Endpoint: Answer Feedback (HTTP) Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/list-products.md Specifies the HTTP method and URL path for submitting an answer to a specific product feedback using the Wildberries API. Requires the feedback ID in the URL path. ```http POST https://feedbacks-api.wildberries.ru/api/v1/feedbacks/{feedbackID}/answer ``` -------------------------------- ### Adding Orders to Supply - Wildberries API - HTTP Method Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/process-orders.md This HTTP method is used to add orders to an existing supply via the Wildberries API. It uses the PATCH method on the /api/v2/supplies/{supplyId} endpoint, where {supplyId} is the target supply's identifier. ```HTTP PATCH https://suppliers-api.wildberries.ru/api/v2/supplies/{supplyId} ``` -------------------------------- ### Confirming Orders - Wildberries API - HTTP Method Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/process-orders.md This HTTP method is used to confirm orders via the Wildberries API. It uses the PATCH method on the /api/v2/orders endpoint. ```HTTP PATCH https://suppliers-api.wildberries.ru/api/v2/orders ``` -------------------------------- ### Delete Size Wildberries API HTTP Endpoint Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/delete-products.md This snippet shows the HTTP method and endpoint for deleting specific sizes from a product card using the Wildberries API. ```http DELETE https://suppliers-api.wildberries.ru/content/v1/cards/sizes/delete ``` -------------------------------- ### Delete Card Wildberries API HTTP Endpoint Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/delete-products.md This snippet shows the HTTP method and endpoint for deleting a single product card using the Wildberries API. It requires the `imtID` parameter. ```http DELETE https://suppliers-api.wildberries.ru/content/v1/cards/delete ``` -------------------------------- ### Delete Card Wildberries API JSON Response Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/delete-products.md This JSON snippet shows a successful response from the API after deleting a product card. It confirms the `imtID` of the deleted card. ```json { "data": { "imtID": 123456789 }, "error": false, "errorText": "" } ``` -------------------------------- ### Closing Supply - Wildberries API - HTTP Method Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/process-orders.md This HTTP method is used to close a supply, effectively transferring it to delivery status, via the Wildberries API. It uses the POST method on the /api/v2/supplies/{supplyId}/close endpoint, where {supplyId} is the identifier of the supply to close. ```HTTP POST https://suppliers-api.wildberries.ru/api/v2/supplies/{supplyId}/close ``` -------------------------------- ### Cancelling Orders - Wildberries API - HTTP Method Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/process-orders.md This HTTP method is used by the supplier to cancel orders via the Wildberries API. It uses the PUT method on the /api/v2/orders/cancel endpoint. ```HTTP PUT https://suppliers-api.wildberries.ru/api/v2/orders/cancel ``` -------------------------------- ### Removing Orders from Supply - Wildberries API - HTTP Method Source: https://github.com/artemkuzmin1992/wildberries-api/blob/main/process-orders.md This HTTP method is used to remove orders from an existing supply via the Wildberries API. It uses the DELETE method on the /api/v2/supplies/{supplyId}/orders endpoint, where {supplyId} is the target supply's identifier. ```HTTP DELETE https://suppliers-api.wildberries.ru/api/v2/supplies/{supplyId}/orders ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.