- Welcome 👋
- Get Started
- Create Your First App
- Authorization
- Webhooks
- Conditional Webhooks
- Security Considerations
- Multi-Language Support
- Responses
- Pagination
- Rate Limiting
- Versioning
- Change Log
- Support
- APIs
- Orders
- Order Status
- Order Histories
- Order Tags
- Order Invoice
- Order Reservations
- Order Items
- Products
- Product Options
- Product Quantity
- Product Variants
- Product Tags
- Product Images
- Product Option Values
- Abandoned Carts
- Customer Groups
- Customers
- Digitals Product
- Categories
- Exports
- Shipments
- Shipping Companies
- Shipping Zones
- Shipping Rules
- Countries
- Product Option Templates
- Taxes
- Coupons
- Affiliates
- Order Assignment
- Special Offers
- Transactions
- Payments
- Settlements
- Settings
- Merchant
- Brands
- Reviews
- Branches
- Currencies
- SEO
- Cities
- DNS Records
- Languages
- Employees
- Advertisements
- Webhooks
- Custom URLs
- Loyalty Points
- Webhooks - Store Events
Product Option Value Details
Production
Production
GET
https://api.salla.dev/admin/v2/products/options/values/{value}
Product Option Values
Last modified:2025-02-02 12:23:10
value
as a path parameter.Scopes
products.read
- Products Read OnlyRequest
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Path Params
value
integerÂ
required
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.salla.dev/admin/v2/products/options/values/'
Responses
🟢200Success
application/json
Body
status
numberÂ
optional
success
booleanÂ
optional
data
object (ProductValue)Â
optional
id
numberÂ
required
name
stringÂ
required
price
objectÂ
required
formatted_price
stringÂ
required
display_value
stringÂ
required
display_value=text
. For image
, use the image ID (uploaded via the attach image endpoint). For color
, provide a value like #000
for black.advance
booleanÂ
required
option_id
numberÂ
required
image_url
stringÂ
required
hashed_display_value
stringÂ
required
option.type
= image
then hashed display value return image id
.if
option.type
= text
then hashed display value return value name
translations
objectÂ
read-onlyrequired
is_default
booleanÂ
required
is_out_of_stock
booleanÂ
read-onlyrequired
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
]
}
]
}
}
🟠404Not Found
🟠401Unauthorized
Modified at 2025-02-02 12:23:10