- 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 OrderGET
- Store Loyalty StatusGET
- Info PageGET
- Loyalty Program ActivationPOST
- Loyalty StatusGET
- Set Points ExpirationPOST
- Cashback Rule Method UpdatePOST
- Cashback Rule Method Update StatusPUT
- Add Points Redemption MethodPOST
- Update Points Redemption MethodPOST
- Delete Points Redemption MethodPOST
- Toggle Redemption Method StatusPUT
- Show Loyalty Points Info for Specific CustomerGET
- Customer ProfileGET
- List DataGET
- Customer Points HistoryGET
- Info Page - ManagersGET
- Update Info PagePUT
- Adjust Customer PointsPOST
- Gift Cards
- Customers
- Store Settings
- Countries and Cities
- Webhook
- Orders
- Store Events
Update Attribute Preset
PATCH
https://api.zid.sa/v1/attributes/{Attribute-Id}/presets/{Preset-Id}/
Product Attribute Presets
🔑Scopes
products.read_write
- Products Read & WriteRequest
Path Params
Attribute-Id
stringÂ
required
Example:
1
Preset-Id
stringÂ
required
Example:
794e96c3-227e-4abc-9521-725d147f1e61
Header Params
Store-Id
numberÂ
required
Example:
37213
Body Params application/json
value
objectÂ
optional
ar
stringÂ
optional
Example:
الØجم
en
stringÂ
optional
Example:
Size
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 PATCH 'https://api.zid.sa/v1/attributes//presets//' \
--header 'Store-Id;' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200Includes 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:51