Light Mode
List Option Templates
GET
/products/options/templatesLast modified: 4 days ago
This endpoint allows you to list all option templates related to the product.
Request
Query Params
with
enum<string>
optional
Use with=details
to fetch list of product option templates with details
object.
Allowed value:
details
Example:
details
Request samples
Responses
Success(200)
With Details(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"status": 200,
"success": true,
"data": [
{
"id": 1473353380,
"name": "اللون",
"type": "radio",
"display_type": "color",
"translations": {
"en": {
"name": "color"
},
"fr": {
"name": "color"
}
}
}
],
"pagination": {
"count": 1,
"total": 15,
"perPage": 1,
"currentPage": 1,
"totalPages": 15,
"links": {
"next": "https://s.salla.test/admin/v2/options-template?page=2"
}
}
}
Last modified: 4 days ago