GET All Attributes
Developing
GET
{{url}}api/v1/admin/attributes
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://ecompulse.test/api/v1/admin/attributes' \
--header 'Accept: application/json' \
--header 'X-API-Key: exzbLclGAzBCyL0k1Yv29Evu6mwoYOATBF0lWPyT'
Response Response Example
{
"status": "success",
"message": "Attributes retrieved successfully",
"data": [
{
"id": 5,
"name": "Size",
"values": [
"S",
"M",
"L",
"XL",
"XS"
],
"group": {
"id": 4,
"name": "Size"
},
"status": 1
},
{
"id": 4,
"name": "Resolution",
"values": [
"4K",
"8K",
"16K"
],
"group": {
"id": 1,
"name": "Specification"
},
"status": 1
},
...
...
...
]
}
Request
Header Params
Accept
stringÂ
required
Example:
application/json
X-API-Key
stringÂ
required
Example:
{{key}}
Responses
Modified at 2024-05-26 21:32:31