- 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
Add a New Product Attribute
POST
https://api.zid.sa/v1/attributes/
Product Attributes
๐Scopes
products.read_write
- Products Read & WriteRequest
Header Params
Accept-Language
enum<string>ย
optional
en
if not specified.Allowed values:
enar
Example:
en
Store-Id
numberย
required
Example:
37213
Body Params application/json
name
objectย
optional
en
stringย
optional
ar
stringย
optional
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/' \
--header 'Accept-Language;' \
--header 'Store-Id;' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
๐ข200List of attributes by ID
application/json
Body
id
stringย
optional
Example:
81ad822e-a9b2-4d4c-8a07-7f8110915e2f
name
objectย
optional
ar
stringย
optional
Example:
ุงูููู
en
stringย
optional
Example:
Color
slug
stringย
optional
Example:
color
value
objectย
optional
ar
stringย
optional
Example:
ุฃุณูุฏ
en
stringย
optional
Example:
Black
Example
{
"id": "81ad822e-a9b2-4d4c-8a07-7f8110915e2f",
"name": {
"ar": "ุงูููู",
"en": "Color"
},
"slug": "color",
"value": {
"ar": "ุฃุณูุฏ",
"en": "Black"
}
}
Modified atย 2025-01-16 08:27:08