emfasemfas

List attribute options

Returns the available options for a select-type attribute.

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

API key authentication using Bearer token format. Use: Bearer

In: header

Path Parameters

keystring

Attribute key (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"
}