- 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
List Option Templates
Production
Production
GET
https://api.salla.dev/admin/v2/products/options/templates
Product Option Templates
Last modified:2025-02-04 11:02:03
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 ********************
Query Params
with
enum<string>Â
optional
with=details
to fetch list of product option templates with details
object.Allowed value:
details
Example:
details
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/templates?with=details'
Responses
🟢200Success
application/json
Body
status
numberÂ
optional
success
booleanÂ
optional
data
array[object (OptionsTemplate) {5}]Â
optional
id
stringÂ
required
name
stringÂ
required
type
enum<string>Â
required
Allowed values:
checkboxradio
display_type
enum<string>Â
required
Allowed values:
textimagecolor
translations
objectÂ
required
pagination
object (Pagination)Â
required
count
numberÂ
required
total
numberÂ
required
perPage
numberÂ
required
<= 65
currentPage
numberÂ
required
totalPages
numberÂ
required
links
objectÂ
required
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"
}
}
}
🟢200With Details
🟠401Unauthorized
Modified at 2025-02-04 11:02:03