Get the list of attributes

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://content.doc.winkelstraat.nl/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Content API MCP server": {
    "url": "https://content.doc.winkelstraat.nl/mcp"
  }
}

Close
GET /api/rest/v1/retailer/attributes

Purpose: see which attributes can be used in values and which type they have.

Returns all attributes in one response (no pagination), sorted by code. Properties without a value (for example false or an empty list) are left out of each item.

Useful types:

  • pim_catalog_simpleselect / pim_catalog_multiselect: the value must be one of the allowed codes; get them from GET /attributes/{code}/options.
  • pim_catalog_image: an image attribute; send a URL (see the Images topic).
  • pim_catalog_price_collection: a price, as a list of amount and currency.
  • pim_catalog_text / pim_catalog_textarea: free text; localizable: true means it can be sent per language.

Responses

  • 200

    All attributes

  • 401 application/json

    Authentication required

    Hide response attributes Show response attributes object
    • code integer

      HTTP status code

    • message string

      Message explaining the error

  • 403 application/json

    Access forbidden

    Hide response attributes Show response attributes object
    • code integer

      HTTP status code

    • message string

      Message explaining the error

  • 406 application/json

    Not Acceptable

    Hide response attributes Show response attributes object
    • code integer

      HTTP status code

    • message string

      Message explaining the error

GET /api/rest/v1/retailer/attributes
curl \
 --request GET 'https://content.winkelstraat.nl/api/rest/v1/retailer/attributes' \
 --header "Authorization: $API_KEY"
Response examples (200)
{
  "items": [
    {
      "code": "color",
      "type": "pim_catalog_simpleselect",
      "labels": {
        "en_US": "Color",
        "nl_NL": "Kleur"
      }
    },
    {
      "code": "image_1",
      "type": "pim_catalog_image",
      "labels": {
        "en_US": "Image 1",
        "nl_NL": "Afbeelding 1"
      }
    },
    {
      "code": "name",
      "type": "pim_catalog_text",
      "localizable": true,
      "labels": {
        "en_US": "Name",
        "nl_NL": "Naam"
      }
    }
  ]
}
Response examples (401)
{
  "code": 401,
  "message": "The access token provided is invalid."
}
Response examples (401)
{
  "code": 42,
  "message": "string"
}
Response examples (403)
{
  "code": 403,
  "message": "Access forbidden. You are not allowed to list products."
}
Response examples (403)
{
  "code": 42,
  "message": "string"
}
Response examples (406)
{
  "code": 406,
  "message": "\"xxx\" in \"Accept\" header is not valid. Only \"application/json\" is allowed."
}
Response examples (406)
{
  "code": 42,
  "message": "string"
}