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 Barcodelong
pageOnly return information on the specified pageint
sizeSpecifies 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

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
customerIdThe registered id value of the customer on trendyol.com.
answeredDateMessageIt is the time to answer the question.
creationDateThe date the customer asked the question on trendyol.com.
imageUrlThe image link of the product asked for the question.
productNameThe product name asked for the question.
publicIndicates whether the question will be published
reasonThe return value if the question is rejected.
rejectedAnswerDetails of the last rejected answer to the question.
rejectedDateThe date when the problem is rejected.
reportReasonThe description of the seller when reporting the question. This process is done only from Trendyol Seller Panel.
reportedDateThe date the seller reported the question.
showUserNameIt is the parameter that transmits whether the customer's name appears on trendyol.com or not.
statusThe status of the question.
textIt is the text of the question asked by the customer.
userNameThe name of customer.