> ## Documentation Index
> Fetch the complete documentation index at: https://docs.commerce.jolly.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# AttributeInput

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

* [`CartCreateInput`](/api-reference/cartcreateinput)
* [`setCartAttributes`](/api-reference/setcartattributes)


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