FAQs
POST
Create FAQ
Create a new FAQ.
Required Permission:
Create Faq
POST
/faqs
Request Body
JSONRequest Parameters
| Parameter | Type | Required | Validation | Description |
|---|---|---|---|---|
| question | String | Required | string, required, max:255 | The question being asked |
| answer | String | Required | string, required | The answer to the question |
| type | String | Required | string, required, in:general,delivery | Category of the FAQ |
Response
201 CreatedStatus Code
HTTP status code (201)
Message
Human-readable description
Data
Created FAQ details