- 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
- Loyalty Program Points per Order
- Store Loyalty Status
- 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
Create Attribute Preset
POST
https://api.zid.sa/v1/attributes/{Attribute-Id}/presets/
Product Attribute Presets
๐Scopes
products.read_write
- Products Read & WriteRequest
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
Example
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 POST 'https://api.zid.sa/v1/attributes//presets/' \
--header 'Store-Id;' \
--header 'Content-Type: application/json' \
--data-raw ''
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
Example
{
"id": "preset-123456",
"value": {
"ar": "ุงูููู",
"en": "color"
}
}
Modified atย 2025-01-16 08:30:18