Light Mode
Option Template Details
GET
/products/options/templates/{id}Last modified: 4 days ago
This endpoint allows you to fetch the product options' templates by passing the id
as a path parameter.
Request
Path Params
id
integer
required
A unique identifier of the option template.
Example:
5541564
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)
Not found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 200,
"success": true,
"data": {
"id": 956236464,
"name": "اللون",
"type": "radio",
"display_type": "color",
"translations": {
"en": {
"name": "color"
},
"fr": {
"name": "couleur"
}
}
}
}
Last modified: 4 days ago