Light Mode
Product Option Value Details
GET
/products/options/values/{value}Last modified: 2 months ago
This endpoint allows you to return value details in specific option for a specific product by passing the value
as a path parameter.
Request
Path Params
value
integer
required
The Option Value ID. List of Product Option Value ID can be found here.
Request samples
Responses
Success(200)
Not Found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 200,
"success": true,
"data": {
"id": 667315336,
"name": "salamaValue",
"price": {
"amount": 0,
"currency": "SAR"
},
"display_value": "",
"option_id": 1833119338,
"image_url": "https://i.ibb.co/jyqRQfQ/avatar-male.webp",
"hashed_display_value": "",
"skus": [
{
"id": 652911549,
"price": {
"amount": 110,
"currency": "SAR"
},
"regular_price": {
"amount": 234,
"currency": "SAR"
},
"sale_price": {
"amount": 100,
"currency": "SAR"
},
"stock_quantity": 13,
"barcode": "barcode-ABC",
"sku": "sku-variant-1551119600",
"related_option_values": [
667315336,
322122678,
569679762,
1318371393
]
},
{
"id": 1966914519,
"price": {
"amount": 9.9,
"currency": "SAR"
},
"regular_price": {
"amount": 0,
"currency": "SAR"
},
"sale_price": {
"amount": 100,
"currency": "SAR"
},
"stock_quantity": 20,
"barcode": "",
"sku": "23-TD23-32",
"related_option_values": [
667315336,
322122678,
1552401892,
1318371393
]
},
{
"id": 1799056677,
"price": {
"amount": 9.9,
"currency": "SAR"
},
"regular_price": {
"amount": 0,
"currency": "SAR"
},
"sale_price": {
"amount": 100,
"currency": "SAR"
},
"stock_quantity": 20,
"barcode": "",
"sku": "23-TD23-32",
"related_option_values": [
667315336,
322122678,
1209980149,
1318371393
]
},
{
"id": 673658412,
"price": {
"amount": 9.9,
"currency": "SAR"
},
"regular_price": {
"amount": 0,
"currency": "SAR"
},
"sale_price": {
"amount": 100,
"currency": "SAR"
},
"stock_quantity": 20,
"barcode": "",
"sku": "23-TD23-32",
"related_option_values": [
667315336,
322122678,
393917653,
1318371393
]
}
]
}
}
Last modified: 2 months ago