Customer Communication (communication)
Management of customer inquiries and reviews, response templates, chats, and returns processing
Management of customer inquiries and reviews, response templates, chats, and returns processing
Unseen reviews and questions{{ /api/v1/new-feedbacks-questions }}
The method displays information about the seller's unseen reviews and questions
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
Responses
Response samples
- 200
- 401
- 403
- 429
{- "data": {
- "hasNewQuestions": true,
- "hasNewFeedbacks": false
}, - "error": false,
- "errorText": "",
- "additionalErrors": null
}
Unanswered questions{{ /api/v1/questions/count-unanswered }}
The method allows you to get the number of unanswered questions for today and for all time
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
Responses
Response samples
- 200
- 400
- 401
- 429
{- "data": {
- "countUnanswered": 24,
- "countUnansweredToday": 0
}, - "error": false,
- "errorText": "",
- "additionalErrors": null
}
Number of questions{{ /api/v1/questions/count }}
The method allows to get the number of questions for requested period
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
query Parameters
dateFrom | integer Example: dateFrom=1688465092 The start date of the period in Unix timestamp format |
dateTo | integer Example: dateTo=1688465092 The end date of the period in Unix timestamp format |
isAnswered | boolean Example: isAnswered=false Processed questions ( |
Responses
Response samples
- 200
- 401
- 403
- 429
{- "data": 77,
- "error": false,
- "errorText": "",
- "additionalErrors": null
}
Question list{{ /api/v1/questions }}
The method allows you to get a list of questions by the specified parameters with pagination and sorting.
It is possible to get a maximum of 10,000 questions per query
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
query Parameters
isAnswered required | boolean Answered questions ( |
nmId | integer WB article |
take required | integer Number of requested questions (the maximum possible value for the parameter is 10,000, and the total amount of |
skip required | integer Number of questions to skip (maximum possible value for the parameter is 10,000, and the total amount of |
order | string Sorting questions by date ( |
dateFrom | integer Example: dateFrom=1688465092 The start date of the period in Unix timestamp format |
dateTo | integer Example: dateTo=1688465092 The end date of the period in Unix timestamp format |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": {
- "countUnanswered": 24,
- "countArchive": 508,
- "questions": [
- {
- "id": "2ncBtX4B9I0UHoornoqG",
- "text": "Question text",
- "createdDate": "2022-02-01T11:18:08.769513469Z",
- "state": "suppliersPortalSynch",
- "answer": null,
- "productDetails": {
- "imtId": 11157265,
- "nmId": 14917842,
- "productName": "Coffee",
- "supplierArticle": "123401",
- "supplierName": " ГП Реклама и услуги",
- "brandName": "Nescafe"
}, - "wasViewed": false,
- "isWarned": false
}
]
}, - "error": false,
- "errorText": "",
- "additionalErrors": null
}
Working with questions{{ /api/v1/questions }}
Depending on the request body, you can:
- View question.
- Reject question.
- Answer question or edit the answer.
It is possible to edit a response to a question within 2 months (60 days), after the response has been submitted and only once.
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
Request Body schema: application/json
id required | string Question ID |
wasViewed required | boolean Viewed ( |
Responses
Request samples
- Payload
View question
{- "id": "n5um6IUBQOOSTxXoo0gV",
- "wasViewed": true
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
{- "data": null,
- "error": false,
- "errorText": "",
- "additionalErrors": null
}
Get the question by ID{{ /api/v1/question }}
The method allows you to get a question by its ID
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
query Parameters
id required | string Example: id=ljAVapEBL38RyMdRln61 Question ID |
Responses
Response samples
- 200
- 401
- 429
{- "data": {
- "countUnanswered": 24,
- "countArchive": 508,
- "questions": [
- {
- "id": "2ncBtX4B9I0UHoornoqG",
- "text": "Question text",
- "createdDate": "2022-02-01T11:18:08.769513469Z",
- "state": "suppliersPortalSynch",
- "answer": null,
- "productDetails": {
- "imtId": 11157265,
- "nmId": 14917842,
- "productName": "Coffee",
- "supplierArticle": "123401",
- "supplierName": " ГП Реклама и услуги",
- "brandName": "Nescafe"
}, - "wasViewed": false,
- "isWarned": false
}
]
}, - "error": false,
- "errorText": "",
- "additionalErrors": null
}
Receive questions in XLSX format{{ /api/v1/questions/report }}
Receive questions in XLSX format in base64 encoding.
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
query Parameters
isAnswered required | boolean Example: isAnswered=false Processed questions ( |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": {
- "fileName": "report.xlsx",
- "file": "UEsDBBQAC ... CAADMdQAAAAA=",
- "contentType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
}, - "error": false,
- "errorText": "",
- "additionalErrors": null
}
Unanswered reviews{{ /api/v1/feedbacks/count-unanswered }}
The method allows you to get the number of unanswered reviews for today, for all time and get an estimate of all reviews
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
Responses
Response samples
- 200
- 400
- 401
- 429
{- "data": {
- "countUnanswered": 1,
- "countUnansweredToday": 0,
- "valuation": "4.7"
}, - "error": false,
- "errorText": "",
- "additionalErrors": null
}
Number of reviews{{ /api/v1/feedbacks/count }}
The method allows to get the number of reviews
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
query Parameters
dateFrom | integer Example: dateFrom=1688465092 The start date of the period in Unix timestamp format |
dateTo | integer Example: dateTo=1688465092 The end date of the period in Unix timestamp format |
isAnswered | boolean Example: isAnswered=false Processed reviews ( |
Responses
Response samples
- 200
- 401
- 403
- 429
{- "data": 724583,
- "error": false,
- "errorText": "",
- "additionalErrors": null
}
Reviews list{{ /api/v1/feedbacks }}
The method allows you to get a list of reviews by the specified parameters with pagination and sorting
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
query Parameters
isAnswered required | boolean Example: isAnswered=false Answered reviews ( |
nmId | integer Example: nmId=5870243 WB article |
take required | integer Example: take=1 Number of reviews (max. 5 000) |
skip required | integer Example: skip=0 Number of reviews for skip (max. 199990) |
order | string Enum: "dateAsc" "dateDesc" Sorting of reviews by date (dateAsc/dateDesc) |
dateFrom | integer Example: dateFrom=1688465092 The start date of the period in Unix timestamp format |
dateTo | integer Example: dateTo=1688465092 The end date of the period in Unix timestamp format |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": {
- "countUnanswered": 52,
- "countArchive": 1000,
- "feedbacks": [
- {
- "id": "YX52RZEBhH9mrcYdEJuD",
- "text": "Спасибо, всё подошло",
- "pros": "Удобный",
- "cons": "Нет",
- "productValuation": 5,
- "createdDate": "2024-09-26T10:20:48+03:00",
- "answer": {
- "text": "Пожалуйста. Ждём вас снова!",
- "state": "wbRu",
- "editable": false
}, - "state": "wbRu",
- "productDetails": {
- "imtId": 123456789,
- "nmId": 987654321,
- "productName": "ВАЗ",
- "supplierArticle": "DP02/черный",
- "supplierName": "ГП Реклама и услуги",
- "brandName": "Бест Трикотаж",
- "size": "0"
}, - "video": {
- "durationSec": 10
}, - "wasViewed": true,
- "photoLinks": [
], - "userName": "Николай",
- "matchingSize": "ok",
- "isAbleSupplierFeedbackValuation": false,
- "supplierFeedbackValuation": 1,
- "isAbleSupplierProductValuation": false,
- "supplierProductValuation": 2,
- "isAbleReturnProductOrders": false,
- "returnProductOrdersDate": "2024-08-20T16:39:49Z",
- "bables": [
- "цена"
], - "lastOrderShkId": 123456789,
- "lastOrderCreatedAt": "2024-08-12T10:20:48+03:00",
- "color": "colorless",
- "subjectId": 219,
- "subjectName": "Футболки-поло",
- "parentFeedbackId": null,
- "childFeedbackId": "bIjTCZDvJni7NGnLbUlf"
}
]
}, - "error": false,
- "errorText": "",
- "additionalErrors": null
}
Get lists of reasons for complaints about the review and product issues{{ /api/v1/supplier-valuations }}
Returns lists of reasons for complaints and product issues
Authorizations:
header Parameters
X-Locale | string Example: ru Choose the language for the response fields values ( |
Responses
Response samples
- 200
- 401
- 429
{- "data": {
- "feedbackValuations": {
- "1": "Отзыв не относится к товару",
- "2": "Отзыв оставили конкуренты",
- "3": "Спам",
- "4": "Нецензурное содержимое в фото",
- "5": "Нецензурная лексика",
- "6": "Фото не имеет отношения к товару",
- "7": "Отзыв с политическим контекстом"
}, - "productValuations": {
- "1": "Повредили при доставке",
- "2": "Товар подменили",
- "3": "Случайно отправил не тот товар и хочу его вернуть",
- "4": "Товар вернули после эксплуатации"
}
}, - "error": false,
- "errorText": "",
- "additionalErrors": null
}
File a complaint about the review, report a product issue{{ /api/v1/feedbacks/actions }}
Allows submitting a complaint about the review and/or reporting a product issue from the review.
There is no validation by review ID: if an incorrect value is provided in the request, you will not receive an error.
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
Request Body schema: application/json
id required | string Review ID |
supplierFeedbackValuation | integer Reason for review complaint |
supplierProductValuation | integer Description of the product problem |
Responses
Request samples
- Payload
{- "id": "J2FMRjUj6hwvwCElqssz",
- "supplierFeedbackValuation": 1,
- "supplierProductValuation": 1
}
Reply to review{{ /api/v1/feedbacks/answer }}
Allows you to respond to the review.
There is no validation by review ID: if an incorrect value is provided in the request, you will not receive an error.
Maximum of 1 request per second for all methods in the Reviews and Questions category per one seller's account.
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
Request Body schema: application/json
id required | string Review ID |
text required | string [ 2 .. 5000 ] Reply text |
Responses
Request samples
- Payload
{- "id": "J2FMRjUj6hwvwCElqssz",
- "text": "Спасибо за Ваш отзыв!"
}
Edit response to review{{ /api/v1/feedbacks/answer }}
Allows you to edit an already sent response to the review.
You can edit the response only once within 60 days.
There is no validation by review ID: if an incorrect value is provided in the request, you will not receive an error.
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
Request Body schema: application/json
id required | string Review ID |
text required | string [ 2 .. 5000 ] Reply text |
Responses
Request samples
- Payload
{- "id": "J2FMRjUj6hwvwCElqssz",
- "text": "Спасибо за Ваш отзыв, он очень важен для нас!"
}
Return product by review ID{{ /api/v1/feedbacks/order/return }}
The method allows requesting a return for a product for which a review has been left.
Return is available for reviews with "isAbleReturnProductOrders": true
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
Request Body schema: application/jsonrequired
feedbackId | string Review ID |
Responses
Request samples
- Payload
{- "feedbackId": "absdfgerrrfff1234"
}
Response samples
- 200
- 400
- 401
- 422
- 429
{- "data": { },
- "error": true,
- "errorText": "string",
- "additionalErrors": [
- "string"
]
}
Get the review by id{{ /api/v1/feedback }}
The method allows you to get a review by its ID
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
query Parameters
id required | string Example: id=G7Y9Y1kBAtKOitoBT_lV Review ID |
Responses
Response samples
- 200
- 401
- 429
{- "data": {
- "id": "YX52RZEBhH9mrcYdEJuD",
- "text": "Спасибо, всё подошло",
- "pros": "Удобный",
- "cons": "Нет",
- "productValuation": 5,
- "createdDate": "2024-09-26T10:20:48+03:00",
- "answer": {
- "text": "Пожалуйста. Ждём вас снова!",
- "state": "wbRu",
- "editable": false
}, - "state": "wbRu",
- "productDetails": {
- "imtId": 123456789,
- "nmId": 987654321,
- "productName": "ВАЗ",
- "supplierArticle": "DP02/черный",
- "supplierName": "ГП Реклама и услуги",
- "brandName": "Бест Трикотаж",
- "size": "0"
}, - "video": {
- "durationSec": 10
}, - "wasViewed": true,
- "photoLinks": [
], - "userName": "Николай",
- "matchingSize": "ok",
- "isAbleSupplierFeedbackValuation": false,
- "supplierFeedbackValuation": 1,
- "isAbleSupplierProductValuation": false,
- "supplierProductValuation": 2,
- "isAbleReturnProductOrders": false,
- "returnProductOrdersDate": "2024-08-20T16:39:49Z",
- "bables": [
- "цена"
], - "lastOrderShkId": 123456789,
- "lastOrderCreatedAt": "2024-08-12T10:20:48+03:00",
- "color": "colorless",
- "subjectId": 219,
- "subjectName": "Футболки-поло",
- "parentFeedbackId": null,
- "childFeedbackId": "bIjTCZDvJni7NGnLbUlf"
}, - "error": false,
- "errorText": "",
- "additionalErrors": null
}
Receive reviews in XLSX format{{ /api/v1/feedbacks/report }}
The method allows you to get an XLSX file with reviews encoded in base64.
It is possible to get 5000 reviews per request
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
query Parameters
isAnswered | boolean Enum: true false Unanswered( |
skip | integer Example: skip=1 Number of reviews for skip (max. 20 000) |
dateFrom | integer Example: dateFrom=1696226971 The start date of the period in Unix timestamp format |
dateTo | integer Example: dateTo=1698916171 The end date of the period in Unix timestamp format |
order | string Example: order=dateDesc Sorting of reviews by date (dateAsc/dateDesc) |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": {
- "fileName": "report.xlsx",
- "file": "UEsDBBQA ... ACAADxGgAAAAA=",
- "contentType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
}, - "error": false,
- "errorText": "",
- "additionalErrors": null
}
List of archived reviews{{ /api/v1/feedbacks/archive }}
The method allows you to get a list of archived reviews.
The review becomes archived if:
- A response to the review is received.
- No response to the review is received within 30 days.
- The review contains no text or photos.
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
query Parameters
nmId | integer Example: nmId=14917842 WB article |
take required | integer Example: take=1 Number of reviews (max. 5 000) |
skip required | integer Example: skip=0 Number of reviews for skip |
order | string Enum: "dateAsc" "dateDesc" Sorting of reviews by date (dateAsc/dateDesc) |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "data": {
- "feedbacks": [
- {
- "id": "YX52RZEBhH9mrcYdEJuD",
- "text": "Спасибо, всё подошло",
- "pros": "Удобный",
- "cons": "Нет",
- "productValuation": 5,
- "createdDate": "2024-09-26T10:20:48+03:00",
- "answer": {
- "text": "Пожалуйста. Ждём вас снова!",
- "state": "wbRu",
- "editable": false
}, - "state": "wbRu",
- "productDetails": {
- "imtId": 123456789,
- "nmId": 987654321,
- "productName": "ВАЗ",
- "supplierArticle": "DP02/черный",
- "supplierName": "ГП Реклама и услуги",
- "brandName": "Бест Трикотаж",
- "size": "0"
}, - "video": {
- "durationSec": 10
}, - "wasViewed": true,
- "photoLinks": [
], - "userName": "Николай",
- "matchingSize": "ok",
- "isAbleSupplierFeedbackValuation": false,
- "supplierFeedbackValuation": 1,
- "isAbleSupplierProductValuation": false,
- "supplierProductValuation": 2,
- "isAbleReturnProductOrders": false,
- "returnProductOrdersDate": "2024-08-20T16:39:49Z",
- "bables": [
- "цена"
], - "lastOrderShkId": 123456789,
- "lastOrderCreatedAt": "2024-08-12T10:20:48+03:00",
- "color": "colorless",
- "subjectId": 219,
- "subjectName": "Футболки-поло",
- "parentFeedbackId": null,
- "childFeedbackId": "bIjTCZDvJni7NGnLbUlf"
}
]
}, - "error": false,
- "errorText": "",
- "additionalErrors": null
}
For an invalid request, an answer with status code 200 and a description of the error will be returned.
Get response templates{{ /api/v1/templates }}
The method allows to get templates of responses to reviews/questions
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
query Parameters
templateType required | integer Example: templateType=1
|
Responses
Response samples
- 200
- 401
- 429
Success
{- "data": {
- "templates": [
- {
- "id": "id",
- "name": "name",
- "text": "text"
}
]
}, - "error": false,
- "errorText": "",
- "additionalErrors": null
}
Create a template{{ /api/v1/templates }}
The method allows to create a response template for review/question.
A total of 20 templates can be created, 10 for review and 10 for questions.
Any characters are acceptable
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
Request Body schema: application/json
name required | string Template name (1 to 100 characters) |
templateType required | integer Templates type |
text required | string Template text (from 2 to 1000 characters) |
Responses
Request samples
- Payload
{- "name": "name",
- "templateType": 1,
- "text": "text"
}
Response samples
- 200
- 401
- 429
Success
{- "data": {
- "id": "1234"
}, - "error": false,
- "errorText": "",
- "additionalErrors": null
}
Edit template{{ /api/v1/templates }}
The method allows to edit the template.
Any characters are acceptable.
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
Request Body schema: application/json
name required | string Template name (1 to 100 characters) |
templateID required | integer Template ID |
text required | string Template text (from 2 to 1000 characters) |
Responses
Request samples
- Payload
{- "name": "newname",
- "templateID": "1234fhbf34ew2",
- "text": "newtext"
}
Response samples
- 200
- 401
- 429
Success
{- "data": true,
- "error": false,
- "errorText": "",
- "additionalErrors": null
}
Delete the template{{ /api/v1/templates }}
The method allows to delete the template
If the limit of 3 requests per second is exceeded, sending requests will be blocked for 60 seconds
Authorizations:
Request Body schema: application/json
templateID required | string Template ID (max. 1) |
Responses
Request samples
- Payload
{- "templateID": "1234fhbf34ew2"
}
Response samples
- 200
- 401
- 429
Success
{- "data": true,
- "error": false,
- "errorText": "",
- "additionalErrors": null
}
Buyers can ask questions about products or file complaints. We recommended to respond to the messages in the chat within 10 days.
The buyer always starts the chat. In one chat you can communicate only with one buyer.
Chat operations:
- Get a chat list. Save the chat ID in your database — this will allow you to update the chat information when receiving events.
- Get chat events: messages and refunds. New chats will have the
isNewChat
parameter set totrue
. - Send messages to the chat
Chat list{{ /api/v1/seller/chats }}
Returns a list of all seller's chats.
Authorizations:
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "result": [
- {
- "chatID": "1:361b656c-5c0e-295b-db03-3d5b4d454c32",
- "replySign": "1:361b656c-5c0e-295b-db03-3d5b4d454c32:45734505:238d4d4925998ce295632034545f2fdf88892414c0f24bb48ac5d89f7866cff95022ef33d6563575d656bce676e4d36b48ed6084997347e55601646af6b37d96",
- "clientID": "12345",
- "clientName": "Иван"
}, - {
- "chatID": "1:578903a4-c140-b95b-9d51-896c58ab22dc",
- "replySign": "1:578903a4-c140-b95b-9d51-896c58ab22dc:60012000:8b42800e4be81b56071bfac84a01b1da5a79f7b7eea2a08c3a7efe7e5d63face7240b9036d4a21ce9fe1eeeda1d7cfe27d241edced755267304922f3eb935467",
- "clientID": "987654",
- "clientName": "Владислав"
}
], - "errors": null
}
Chat events{{ /api/v1/seller/events }}
Returns an event list for all chats.
To retrieve all events:
- Make the first request without a
next
parameter. - Repeat the request with the
next
parameter value from the previous response untiltotalEvents
becomes0
. This will indicate that you have received all events.
Authorizations:
query Parameters
next | integer Paginator. Retrieve the next data packet starting from this moment. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "result": {
- "next": 1698045576000,
- "newestEventTime": "2023-10-23T07:19:36Z",
- "oldestEventTime": "2023-10-23T05:02:20Z",
- "totalEvents": 4,
- "events": [
- {
- "chatID": "1:1e265a58-a120-b178-008c-60af2460207c",
- "eventID": "55adee45-11f0-33b6-a847-6ccc7c78b2ec",
- "eventType": "message",
- "isNewChat": true,
- "message": {
- "attachments": {
- "goodCard": {
- "date": "2023-10-18T11:46:01.528526Z",
- "needRefund": false,
- "nmID": 12345678,
- "price": 500,
- "priceCurrency": "RUB",
- "rid": "2fb52cd9e25e52538a5f05994e688ae5",
- "size": "0",
- "statusID": 11
}, - "files": [
- {
- "contentType": "application/pdf",
- "date": "2023-10-23T08:02:19.594Z",
- "name": "Чек.pdf",
- "size": 1046143
}
], - "images": [
- {
- "date": "2023-10-23T08:02:20.717Z",
}
]
}, - "text": "Здравствуйте! У меня вопрос по товару \"Альбом, бренд Эконом, артикул 13480414, товар получен 18.10.2023\""
}, - "source": "rusite",
- "addTimestamp": 1698037340000,
- "addTime": "2023-10-23T05:02:20Z",
- "replySign": "1:1e265a58-a120-b178-008c-60af2460207c:66f136e919a8207e136757754f253189bfb9ae1ad9da9170c9d5c478626663908888c370216525bef51c0ca8d77952e05c9c17f9b63ab00374c5555b42efc07d",
- "sender": "client",
- "clientID": "186132",
- "clientName": "Алёна"
}, - {
- "chatID": "1:1e265a58-a120-b178-008c-60af2460207c",
- "eventID": "cef95d3c-0345-4dc9-b6df-4c8c57a176a9",
- "eventType": "message",
- "message": {
- "text": "Здравствуйте! Пришёл не тот цвет. Можно вернуть и заказать другой товар?"
}, - "source": "rusite",
- "addTimestamp": 1698037387000,
- "addTime": "2023-10-23T05:03:07Z",
- "sender": "client",
- "clientID": "186132",
- "clientName": "Алёна"
}, - {
- "chatID": "1:1e265a58-a120-b178-008c-60af2460207c",
- "eventID": "fd22e5bf-64fd-43f7-b3a0-ad29uu027f97",
- "eventType": "message",
- "message": {
- "text": "Здравствуйте. Да, сейчас оформим возврат."
}, - "source": "seller-public-api",
- "addTimestamp": 1698038124000,
- "addTime": "2023-10-23T05:15:24Z",
- "sender": "seller"
}, - {
- "chatID": "1:1e265a58-a120-b178-008c-60af2460207c",
- "eventID": "cef95d3c-0345-4dc9-b6df-4c8c75a176a7",
- "eventType": "refund",
- "refund": {
- "actionType": "sellerRequestRefund",
- "price": 500,
- "priceCurrency": "RUB",
- "rid": "2fb52cd9e25e52538a5f05994e688ae5"
}, - "addTimestamp": 1698045576000,
- "addTime": "2023-10-23T07:19:36Z",
- "sender": "seller"
}
]
}, - "errors": null
}
Send message{{ /api/v1/seller/message }}
Sends message to the buyer.
Authorizations:
Request Body schema: multipart/form-datarequired
replySign required | string <= 255 characters Chat signature. Can be obtained from chat information or event data if the event contains the |
message | string <= 1000 characters Message text. Maximum of 1000 symbols. |
file | Array of strings <binary> [ items <binary > ] Files, in JPEG, PDF, or PNG format, maximum size — 5 MB each. Maximum of total file size — 30 MB. |
Responses
Response samples
- 200
- 400
- 401
- 403
- 429
{- "result": {
- "addTime": 1712848270018,
- "chatID": "1:641b623c-5c0e-295b-db03-3d5b4d484c32"
}, - "errors": [ ]
}
Buyers return applications{{ /api/v1/claims }}
Returns buyers applications for product returns for the current 14 days.
Authorizations:
query Parameters
is_archive required | boolean Example: is_archive=true Application status:
|
id | string <UUID> Example: id=fe3e9337-e9f9-423c-8930-946a8ebef80 Application ID |
limit | integer <uint> [ 1 .. 200 ] Example: limit=50 Number of applications in the response. |
offset | integer <uint> >= 0 Example: offset=0 From which element to start outputting data. |
nm_id | integer Example: nm_id=196320101 WB article |
Responses
Response samples
- 200
- 400
- 401
- 429
{- "claims": [
- {
- "id": "fe3e9337-e9f9-423c-8930-946a8ebef80",
- "claim_type": 1,
- "status": 2,
- "status_ex": 8,
- "nm_id": 196320101,
- "user_comment": "Длина провода не соответствует описанию",
- "wb_comment": "Продавец одобрил вашу заявку на возврат. В течение 14 дней принесите товар в определённый пункт выдачи — всё зависит от того, как вы получали заказ:\r\n\r\n∙ В пункте выдачи. Тогда нужно будет вернуть в тот же пункт по тому же адресу. \r\n∙ Курьером. Зайдите в раздел «Покупки» на сайте — там будет адрес пункта, в который нужно принести товар.\r\n\r\nВозьмите с собой пакет со штрих-кодом, в котором был товар. Если вы его потеряли или выбросили — ничего страшного, мы всё равно сможем провести возврат. Но в будущем, пожалуйста, сохраняйте этот пакет. \r\n\r\nДеньги придут на вашу карту или счёт в течение 10 дней после возврата товара на склад.\r\n\r\nЕсли у вас крупногабаритный товар, то для его возврата вызовите курьера через раздел «Доставки».",
- "dt": "2024-03-26T17:06:12.245611",
- "imt_name": "Кабель 0.5 м, 3797",
- "order_dt": "2020-10-27T05:18:56",
- "dt_update": "2024-05-10T18:01:06.999613",
- "photos": [
- "//photos.wbstatic.net/claim/fe3e9337-e9f9-423c-8930-946a8ebef80/1.webp",
- "//photos.wbstatic.net/claim/fe3e9337-e9f9-423c-8930-946a8ebef80/2.webp"
], - "video_paths": [
- "//video.wbstatic.net/claim/fe3e9337-e9f9-423c-8930-946a8ebef80/1.mp4"
], - "actions": [
- "autorefund1",
- "approve1"
], - "price": 157,
- "currency_code": "643",
- "srid": "v5o_7143225816503318733.0.0"
}
], - "total": 31
}
Answer buyers application{{ /api/v1/claim }}
Sends an answer to the buyers application for product return.
Authorizations:
Request Body schema: application/jsonrequired
Application answer
id required | string <UUID> Application ID |
action required | string Application action. |
comment | string [ 10 .. 1000 ] characters Comment. |
Responses
Request samples
- Payload
{- "id": "fe3e9337-e9f9-423c-8930-946a8ebef80",
- "action": "rejectcustom",
- "comment": "The photo is not related to the product in the application"
}
Response samples
- 400
- 401
- 429
{- "title": "Validation error",
- "detail": "Input model is not valid; Details: The Action field is required.",
- "requestId": "0HN3PI6JUGFSL:00000004"
}