> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AttributeType

> The data type of a merchant-defined attribute. Determines the JSON shape of the attribute's `value` (documented on each enum value).

| Value | Description |
| - | - |
| `BOOLEAN` | A boolean. `value` is `true` or `false`. |
| `COLOR` | A color. `value` is a string, e.g. a hex code "#FF0000". |
| `DATE` | A calendar date. `value` is a "YYYY-MM-DD" string, e.g. "2026-01-15". |
| `DATETIME` | An instant. `value` is an ISO-8601 UTC string, e.g. "2026-01-15T09:30:00Z". |
| `DIMENSION` | A length. `value` is an object `{ value, unit }`, e.g. \{ "value": 30, "unit": "cm" }. |
| `ENUM` | A single choice from a defined set. `value` is the chosen option as a string. |
| `FLOAT` | A decimal number. `value` is a number, e.g. 3.14. |
| `INTEGER` | A whole number. `value` is a decimal string (to preserve precision), e.g. "42". |
| `JSON` | Arbitrary JSON. `value` is returned as-is (object, array, or scalar). |
| `LINK` | A hyperlink. `value` is an object `{ text, url }`. |
| `LIST_SHORT_TEXT` | A list of short strings. `value` is an array of strings, e.g. \["S", "M", "L"]. |
| `LONG_TEXT` | Multi-line plain text. `value` is a string. |
| `MONEY` | A monetary amount. `value` is an object `{ amount, currency }`, e.g. \{ "amount": 19.99, "currency": "USD" }. |
| `RICH_TEXT` | Rich text. `value` is a string of HTML/markup. |
| `SHORT_TEXT` | Single-line text. `value` is a string, e.g. "Cotton". |
| `VOLUME` | A volume. `value` is an object `{ value, unit }`. |
| `WEIGHT` | A weight. `value` is an object `{ value, unit }`, e.g. \{ "value": 1.5, "unit": "kg" }. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.