Important
New shipment package stream endpoint is available

For large-scale scanning and synchronization flows, please prefer getShipmentPackagesStream.

HomeGuidesAPI ReferenceChangelogSupport Request
Guides

Getting Customer Questions

You can take all the questions asked by customers on Trendyol through this service.

GET questionsFilter

If you make a request with the above endpoint without giving any date parameters, your questions in the last week will be shown to you. If you add the startDate and endDate parameters, the maximum interval will be two weeks.

Recommended Endpoint

Service Parameters

  • supplierId should be sent on request as a mandatory field.
ParametersParameters ValueExplanationType
barcodeProduct Barcodestring
pageOnly return information on the specified pageint
sizeDefault: 20, Maximum: 50Specifies the maximum number to list on a page.int
supplierIdID information of the relevant supplier should be sentlong
startDateIt fetches the next orders from a specific date. Must be sent as Timestamplong
endDateIt fetches orders up to the specified date. Must be sent as Timestamp.long
statusWAITING_FOR_ANSWER, WAITING_FOR_APPROVE, ANSWERED, REPORTED, REJECTEDFetchs the information according to the status of questions.string
orderByFieldPackageLastModifiedDateBased on the last update date.string
orderByFieldCreatedDateBased on the order creation date.string
orderByDirectionASCSorts from old to new.string
orderByDirectionDESCSorts from new to old.string

StatusAçıklama
WAITING_FOR_ANSWERCustomer question awaiting answer from seller
ANSWEREDQuestion answered and published
REPORTEDQuestion reported by seller
REJECTEDSeller's answer rejected
UNANSWEREDUnanswered question (response time expired)

Sample Service Response

{
  "content": [
    {
      "answer": {
        "creationDate": 0,
        "hasPrivateInfo": true,
        "id": 0,
        "reason": "string",
        "text": "string"
      },
      "answeredDateMessage": "string",
      "creationDate": 0,
      "customerId": 0,
      "id": 0,
      "imageUrl": "string",
      "productName": "string",
      "public": true,
      "reason": "string",
      "rejectedAnswer": {
        "creationDate": 0,
        "id": 0,
        "reason": "string",
        "text": "string"
      },
      "rejectedDate": 0,
      "reportReason": "string",
      "reportedDate": 0,
      "showUserName": true,
      "status": "string",
      "text": "string",
      "userName": "string",
      "webUrl": "string"
    }
  ],
  "page": 10,
  "size": 2,
  "totalElements": 864,
  "totalPages": 432
}

GET questionsFilterById

With the id value of the question returned from the service above, you can pull the questions individually and take action.

FieldExplanation
idThis is the unique identification number of the question
text|This is the text of the question asked by the customer. |
customerIdThis is the ID value registered for the customer on trendyol.com
userNameThis is the customer's name. (Returns empty if showUserName is false)
showUserNameThis parameter indicates whether the customer's name is visible on trendyol.com
statusThis is the status of the question
creationDateThe date the customer asked the question on trendyol.com. (timestamp millisecond)
publicThis value indicates whether the question will be displayed on trendyol.com
reasonIf the question was rejected, this is the reason for rejection
reportReasonThis is the explanation written by the seller when reporting the question. This process is only done from the Trendyol Seller Panel
reportedDateThis is the date the seller reported the question. (timestamp millisecond)
rejectedDateThis is the date the question was rejected. (timestamp millisecond)
answeredDateMessageThis is the time it took to answer the question
imageUrlThis is the image link of the product in question
productNameThis is the name of the product in question
productMainIdThis is the product's model code.
webUrlThis is the product's webpage link
answerThis is the active answer to the question (if any)
rejectedAnswerThese are the details of the last rejected answer to the question

Answer Object Field

Field NameDescription
idThis is the unique identification number of the answer
textThis is the text of the answer
creationDateThis is the date the answer was given. (timestamp millisecond)
hasPrivateInfoWhether the answer contains private information
reasonThis is the reason the answer was rejected. (only for rejectedAnswer)

❗️

Date Range Limitation: When using startDate and endDate parameters, the maximum date range is limited to 2 weeks. For requests exceeding this period, endDate is automatically set to startDate + 2 weeks.

📘

Pagination: Pagination starts from 0. Use page=0 for the first page. The maximum page size is 50.