---
title: "Attribute"
url: "https://developer.migros.ch/apis/products-8/versions/4f3f7804-4b0e-4d65-b275-5d7bccc41f2a/schemas/Attribute"
---

> Full API specification: https://developer.migros.ch/apis/products-8/versions/4f3f7804-4b0e-4d65-b275-5d7bccc41f2a.md

# Attribute

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Products
  version: "8"
servers:
  - description: Public Kong Gateway URL
    url: https://api.migros.ch
components:
  schemas:
    Attribute:
      properties:
        code:
          description: >-
            Variant attribute value code.


            A unique identifier of the attribute/value, which the Rialto shops
            need in their data model.
          nullable: true
          type: string
        hex_color:
          description: HTML color code of the value if available.
          nullable: true
          type: string
        name:
          description: Name of the attribute.
          type: string
        value:
          description: Value of the attribute.
          type: string
      required:
        - name
        - value
      type: object
```
