Create Question
POST
v1/products/{product_id}/questionsCreate a new question for a specified product.
Request
The Authorization token is a unique key given to the third-party application (Partner) by Zid. It is used to authenticate the API requests made by the Partner application. The token verifies the partner's identity and ensures they have permission to access Zid's API but does not provide any specific user or store information. It should be included in the header of API requests when the partner application needs to access Zid's API.
Role of the user.
The Media Type of the body of the request. This is used to describe the structure of the data in the body.
The User-Agent header contains information about the user agent (browser or app) making the request. It allows the server to provide a tailored response depending on the user agent's capabilities and preferences.
The name of the customer asking the question.
The email address of the customer.
The content of the question.
{
"name": "\"anonymous customer\"",
"email": "\"anon_customer@email.com\"",
"question": "\"What about another question?\""
}
Request samples
Responses
The unique identifier of the created question.
The unique identifier of the store.
The unique identifier of the product.
The name of the product.
Information about the customer (if available).
The name of the customer asking the question.
The email address of the customer.
Indicates if the question is asked anonymously.
Indicates if the question is created by the store owner.
Indicates if the question is published.
Indicates if the question is sent for approval.
Indicates if the question is new.
The timestamp of when the question was created.
A list of answers associated with the question.