Get list of attributes
This endpoint allows you to get a list of attributes. Attributes are paginated and sorted by code.
GET /api/rest/v1/retailer/attributes
curl \
-X GET https://content.winkelstraat.nl/api/rest/v1/retailer/attributes
Response examples (200)
[
{
"code": "color",
"type": "pim_catalog_simpleselect",
"available_locales": [
"en_US",
"nl_NL"
],
"labels": {
"en_US": "Color",
"nl_NL": "Kleur"
}
},
{
"code": "image_1",
"type": "pim_catalog_image",
"labels": {
"en_US": "Image 1",
"nl_NL": "Afbeelding 1"
}
},
{
"code": "image_2",
"type": "pim_catalog_image",
"labels": {
"en_US": "Image 2",
"nl_NL": "Afbeelding 2"
}
}
]
Response examples (401)
Code
401
"Authentication is required"
Response examples (401)
{
"code": 42,
"message": "string"
}
Response examples (403)
Code
403
"Access forbidden. You are not allowed to list categories."
Response examples (403)
{
"code": 42,
"message": "string"
}
Response examples (406)
Code
406
"‘xxx’ in ‘Accept‘ header is not valid. Only ‘application/json‘ is allowed."
Response examples (406)
{
"code": 42,
"message": "string"
}