- Merchant API
- Start Here 🚀
- Overview to Zid Apps
- Authorization
- Responses
- Webhooks
- Rate Limiting
- APIs
- Orders
- Reverse Orders
- Carts
- Products
- Inventories
- Shipping
- Marketing
- Gift Cards
- Coupons
- Bundle Offers
- Loyalty Program
- Customer Wallet
- Customer Points
- Loyalty Program Points per Order
- Store Loyalty Status
- Redemption Methods
- Cashback Rules
- Add Redemption to Cart
- Remove Redemption from Cart
- Info Page
- Loyalty Program Activation
- Loyalty Status
- Set Points Expiration
- Cashback Rule Method Update
- Cashback Rule Method Update Status
- Add Points Redemption Method
- Update Points Redemption Method
- Delete Points Redemption Method
- Toggle Redemption Method Status
- Show Loyalty Points Info for Specific Customer
- Customer Profile
- List Data
- Customer Points History
- Info Page - Managers
- Update Info Page
- Adjust Customer Points
- Customers
- Store Settings
- Countries and Cities
- Webhook
- Orders
- Store Events
- App API
- Themes
- 🚨 Important Update: Zid Themes
- Adding Video URL Feature to Third-Party Themes
- Landing Page Development
- Getting Started with Zid Themes
- Templates
- Settings Schema
- Code Snippets
- Zid Themes Library: API Integration
- Data Reference
- Themes CLI
Create Attribute Preset
POST
https://api.zid.sa/v1v1/attributes/{Attribute-Id}/presets/
Product Attribute Presets
🔑Scopes
products.read_write
- Products Read & WriteRequest Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.zid.sa/v1v1/attributes//presets/' \
--header 'Store-Id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"value": {
"ar": "اللون",
"en": "color"
}
}'
Response Response Example
{
"id": "preset-123456",
"value": {
"ar": "اللون",
"en": "color"
}
}
Request
Path Params
Attribute-Id
stringÂ
required
Example:
1
Header Params
Store-Id
numberÂ
required
Example:
37213
Body Params application/json
value
objectÂ
optional
ar
stringÂ
optional
Example:
اللون
en
stringÂ
optional
Example:
color
Examples
Responses
🟢200Json Represent The New Attribute Preset Values.
application/json
Body
id
stringÂ
optional
Example:
preset-123456
value
objectÂ
optional
ar
stringÂ
optional
Example:
اللون
en
stringÂ
optional
Example:
color
Modified at 2025-01-16 08:30:18