Option Template Details
GET
/products/options/templates/{id}This endpoint allows you to fetch the product options' templates by passing the id
as a path parameter.
Request
A unique identifier of the option template.
Use with=details
to fetch list of product option templates with details
object.
Request samples
Responses
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
A unique identifier of the options template.
Option name.
Type of product option.
The manner in which product choices or attributes are presented.
Options presented in different languages based on the store's enabled locales.
{
"status": 200,
"success": true,
"data": {
"id": 956236464,
"name": "اللون",
"type": "radio",
"display_type": "color",
"translations": {
"en": {
"name": "color"
},
"fr": {
"name": "couleur"
}
}
}
}