> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "Attribute"
description: ""
---

An arbitrary key-value pair that contains additional information about the object it is attached to.

You can use this to store additional metadata about the object (e.g. which customer a Cart belongs to).

## Fields

***

<ParamField path="key" type="String!" required>
  Key or name of the attribute. Limited to 500 characters.
</ParamField>

<ParamField path="value" type="String!" required>
  Value of the attribute. Limited to 500 characters.
</ParamField>

## Related types

* [`Cart`](/api-reference/cart)


---

*Powered by [holocron.so](https://holocron.so)*
