Zid Docs
Merchant APIApp APIThemes
Merchant APIApp APIThemes
Help Center
Slack
  1. Product Attribute Presets
  • Start Here πŸš€
  • Overview to Zid Apps
  • Authorization
  • Responses
  • Webhooks
  • Rate Limiting
  • APIs
    • Orders
      • Update Order by ID
      • Get Order Credit Notes
      • Get Order by ID
      • List of Orders
    • Reverse Orders
      • Reverse Order Reasons
      • Create Reverse Orders
      • Create Reverse Orders Waybill
      • Add Reverse Order Reasons
    • Carts
      • Get Abandoned Cart Details
      • List Abandoned Carts
    • Products
      • Managing Products
        • Get a Product by ID
        • Retrieve a list of products
        • Create a new product
        • Update an existing product.
        • Bulk update of products using their IDs or SKUs
        • Delete a product.
        • Product Setting
      • Digital Vouchers
        • Product Vouchers
        • Order Voucher
        • Add Product Voucher
        • Import Vouchers
        • Export Vouchers
        • Update Product Voucher
        • Remove Product Voucher
      • Product Categories
        • Get Single Category Details
        • Get all categories
        • Create Store Category
        • Update a Store Category
        • Add a product to a certain category
        • Publish/Unpublish a Category
        • Detach Category from All Products
        • Remove Category from Product
      • Product Badge
        • Product Badge
      • Product Attributes
        • Get Product Attributes
        • Get Product Attributes
        • Retrieve a product attribute
        • Add a New Product Attribute
        • Add a New Product Attribute
        • Update a product attribute
        • Delete a product attribute
      • Product Attribute Presets
        • Get attribute presets
          GET
        • Create Attribute Preset
          POST
        • Update Attribute Preset
          PATCH
        • Delete an attribute preset
          DELETE
      • Product Customizations
        • Add Product Variants
        • Insert Custom Options to a Product
        • Insert Custom User-Input Fields to a Product
      • Product Manual Sorting
        • Set Custom Product Order
        • Reset the manual sorting of all products
      • Product Images
        • Get List of images of a product.
        • Add an image to a product
        • Update a product Image Order
        • Delete a product image
      • Product Notifications
        • Availability Notification Stats
        • Availability Notifications Settings
        • List Availability Notifications
        • Add Availability Notification
        • Save Availability Notifications Settings
        • Manually Send Availability Notification Email
        • Export Availability Notifications
      • Product Import
        • Email All Products to Store Owner
        • Import Products via CSV or xlsx File
      • Product Stock (Multi-Inventory)
        • Get Product Stock by ID
        • List Product Stocks
        • Add Product Stock
        • Update Single Product Stock
        • Bulk Update Product Stocks
      • Product Questions & Answers
        • Get Question
        • Get Answer
        • Get All Questions
        • List Question Answers
        • Create Question
        • Create Answer
        • Update Question
        • Update Answer
        • Delete Question
        • Delete Answer
      • Product Reviews
        • List Reviews
        • New Reviews Total
      • Digital Products
        • Create Downloadable Product
        • Generate an Upload URL
        • Upload File to S3
        • Create Product Downloadables
        • Get Product Downloadables
        • Delete Product Downloadables
        • Get Store Downloadables
        • Create Store Downloadables
        • Delete Store Downloadables
    • Inventories
      • Get Store Location by ID
      • List Store Locations
      • Add a New Location
      • Update a Location by ID
      • Update Products Stock by Location ID
    • Shipping
      • List Store Delivery Options
      • Add Shipping Option
    • Marketing
      • Gift Cards
        • Get Store Settings
        • Add gift card to the cart
        • Update Store Settings
        • Upload gift card designs
        • Remove gift card from the cart
      • Coupons
        • Create a New Coupon
        • List Coupons
        • Get Coupon Details
        • Update Coupon
        • Delete Coupon
      • Bundle Offers
        • Retrieve all 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
      • List of Customers
      • Get Customer by ID
    • Store Settings
      • πŸ“„ User Roles and Permissions
      • Get Manager's Profile
      • Get VAT Settings
      • List of Payment Method
    • Countries and Cities
      • Retrieve Store Operating Countries
      • Retrieve Cities by Country ID
      • Countries List
    • Webhook
      • List of Webhooks
      • Create a Webhook
      • Delete a Webhook by OriginalId
      • Delete a Webhook by Subscriber
  • Store Events
    • Order
    • Product
    • Abandoned Cart
    • Customer
    • Product Category
  1. Product Attribute Presets

Update Attribute Preset

PATCH
https://api.zid.sa/v1/attributes/{Attribute-Id}/presets/{Preset-Id}/
Product Attribute Presets
Use this endpoint to update an existing attribute preset by specifying both the preset ID and the attribute ID. The request allows you to update the preset values in different languages.
πŸ”‘Scopes
products.read_write - Products Read & Write

Request

Path Params
Attribute-Id
stringΒ 
required
The unique identifier for the attribute to which the preset belongs.
Example:
1
Preset-Id
stringΒ 
required
The unique identifier for the preset to be updated.
Example:
794e96c3-227e-4abc-9521-725d147f1e61
Header Params
Store-Id
numberΒ 
required
The unique identifier of the store where the attribute preset is being updated.
Example:
37213
Body Params application/json
value
objectΒ 
optional
An object containing the updated localized values for the attribute preset in both Arabic and English.
ar
stringΒ 
optional
The updated attribute preset value in Arabic.
Example:
Ψ§Ω„Ψ­Ψ¬Ω…
en
stringΒ 
optional
The updated attribute preset value in English.
Example:
Size
Example
{
  "value": {
    "ar": "Ψ§Ω„Ψ­Ψ¬Ω…",
    "en": "Size"
  }
}

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 '{
    "value": {
        "ar": "Ψ§Ω„Ψ­Ψ¬Ω…",
        "en": "Size"
    }
}'

Responses

🟒200Includes the new Attribute Preset Values.
application/json
Body
id
stringΒ 
optional
The unique identifier for the attribute preset.
Example:
preset-123456
value
objectΒ 
optional
An object containing the attribute preset values in both Arabic and English.
ar
stringΒ 
optional
The attribute preset value in Arabic.
Example:
Ψ§Ω„Ω„ΩˆΩ†
en
stringΒ 
optional
The attribute preset value in English.
Example:
color
Example
{
  "id": "preset-123456",
  "value": {
    "ar": "Ψ§Ω„Ω„ΩˆΩ†",
    "en": "color"
  }
}
Modified atΒ 2025-01-16 08:30:51
Previous
Create Attribute Preset
Next
Delete an attribute preset
Built with