Add a New Product Attribute
POST
v1/attributes/Add new product attributes for a certain Role
Request
Header Params
Accept-Language
enum<string>
optional
Preferred language for the response. Defaults to 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
{
"name": {
"en": "string",
"ar": "string"
}
}
Request samples
Responses
List of attributes by ID(200)
List of attributes by ID
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
id
string
optional
Unique identifier for the product attribute.
Example:
81ad822e-a9b2-4d4c-8a07-7f8110915e2f
name
object
optional
ar
string
optional
Name of the attribute in Arabic.
Example:
اللون
en
string
optional
Name of the attribute in English.
Example:
Color
slug
string
optional
SEO friendly URL, usually derived from the attribute name.
Example:
color
value
object
optional
ar
string
optional
Value of the attribute in Arabic.
Example:
أسود
en
string
optional
Value of the attribute in English.
Example:
Black
Example
Not configured
Last modified: 2 months ago