emfasemfas
Attributes{key}Options

List Attribute Options

Retrieves the available options for an attribute. For select-type attributes, these are the allowed values. Options may be manually managed, sourced from a metaobject definition, or sourced from a category tree.

GET
/attributes/{key}/options
Authorization<token>

API key authentication using Bearer token format. Use: Bearer

In: header

Path Parameters

keystring

Attribute key in format 'entity.key'

Response Body

curl -X GET "https://api.emfas.ai/v1/attributes/string/options"
{
  "result": [
    {
      "label": "Cotton",
      "value": "cotton"
    }
  ]
}
{
  "error": "Internal server error"
}
{
  "error": "Internal server error"
}
{
  "error": "Internal server error"
}
{
  "error": "Internal server error"
}