Skip to main content
POST
/
questions
/
{sampleQuestionId}
/
answers
Submit Answer
curl --request POST \
  --url https://cdn.tailoredd.com/apiV2/questions/{sampleQuestionId}/answers \
  --header 'Content-Type: application/json' \
  --data '
{
  "answer": "Yes, this product is available in blue! We also have it in red and black.",
  "author": {
    "name": "Customer Support",
    "email": "support@store.com"
  },
  "verified": true
}
'
{
  "success": true,
  "data": {}
}
POST {BASE_URL}/questions/{questionId}/answers

Body parameters

answer
string
required
Answer text.
author
object
Object with name and email.
verified
boolean
true for a verified merchant answer.
{
  "answer": "Yes, available in blue, red, and black.",
  "author": { "name": "Customer Support", "email": "support@yourstore.com" },
  "verified": true
}

Headers

Authorization
string

Path Parameters

sampleQuestionId
string
required

Body

application/json

The body is of type object.

Response

Successful response

success
boolean
required
Example:

true

data
object