<div class="doc-version" data-version="unstable"> <p>Represents a generic custom attribute, such as whether an order is a customer's first.</p> <div> <h2 id="on-this-page">On this page</h2> <ul> <li> <a href="#fields-unstable"> Fields </a> </li> <li> <a href="#types-that-return-attribute-unstable"> Types that return Attribute </a> </li> </ul> </div> <h2 id="fields-unstable"> Fields </h2> <ul class="fields"> <li> <div class="field" id="key-unstable"> <div class="field-name"> key (<a href="/api/functions/reference/order-routing-location-rule/graphql/scalar#string-unstable"><code>String!</code></a>) </div> <div> <p>The key or name of the attribute. For example, <code>"customersFirstOrder"</code>.</p> </div> </div> </li> <li> <div class="field" id="value-unstable"> <div class="field-name"> value (<a href="/api/functions/reference/order-routing-location-rule/graphql/scalar#string-unstable"><code>String</code></a>) </div> <div> <p>The value of the attribute. For example, <code>"true"</code>.</p> </div> </div> </li> </ul> <h2 id="types-that-return-attribute-unstable"> Types that return Attribute </h2> <ul> <li> <a href="/api/functions/reference/order-routing-location-rule/graphql/common-objects/cart#attribute-unstable"> <code>Cart.attribute</code> </a> </li> <li> <a href="/api/functions/reference/order-routing-location-rule/graphql/common-objects/cartline#attribute-unstable"> <code>CartLine.attribute</code> </a> </li> <li> <a href="/api/functions/reference/order-routing-location-rule/graphql/common-objects/deliverablecartline#attribute-unstable"> <code>DeliverableCartLine.attribute</code> </a> </li> </ul> </div><div class="doc-version doc-version--rc" data-version="2025-04"> <p>Represents a generic custom attribute, such as whether an order is a customer's first.</p> <div> <h2 id="on-this-page">On this page</h2> <ul> <li> <a href="#fields-2025-04"> Fields </a> </li> <li> <a href="#types-that-return-attribute-2025-04"> Types that return Attribute </a> </li> </ul> </div> <h2 id="fields-2025-04"> Fields </h2> <ul class="fields"> <li> <div class="field" id="key-2025-04"> <div class="field-name"> key (<a href="/api/functions/reference/order-routing-location-rule/graphql/scalar#string-2025-04"><code>String!</code></a>) </div> <div> <p>The key or name of the attribute. For example, <code>"customersFirstOrder"</code>.</p> </div> </div> </li> <li> <div class="field" id="value-2025-04"> <div class="field-name"> value (<a href="/api/functions/reference/order-routing-location-rule/graphql/scalar#string-2025-04"><code>String</code></a>) </div> <div> <p>The value of the attribute. For example, <code>"true"</code>.</p> </div> </div> </li> </ul> <h2 id="types-that-return-attribute-2025-04"> Types that return Attribute </h2> <ul> <li> <a href="/api/functions/reference/order-routing-location-rule/graphql/common-objects/cart#attribute-2025-04"> <code>Cart.attribute</code> </a> </li> <li> <a href="/api/functions/reference/order-routing-location-rule/graphql/common-objects/cartline#attribute-2025-04"> <code>CartLine.attribute</code> </a> </li> <li> <a href="/api/functions/reference/order-routing-location-rule/graphql/common-objects/deliverablecartline#attribute-2025-04"> <code>DeliverableCartLine.attribute</code> </a> </li> </ul> </div><div class="doc-version doc-version--latest selected" data-version="2025-01"> <p>Represents a generic custom attribute, such as whether an order is a customer's first.</p> <div> <h2 id="on-this-page">On this page</h2> <ul> <li> <a href="#fields-2025-01"> Fields </a> </li> <li> <a href="#types-that-return-attribute-2025-01"> Types that return Attribute </a> </li> </ul> </div> <h2 id="fields-2025-01"> Fields </h2> <ul class="fields"> <li> <div class="field" id="key-2025-01"> <div class="field-name"> key (<a href="/api/functions/reference/order-routing-location-rule/graphql/scalar#string-2025-01"><code>String!</code></a>) </div> <div> <p>The key or name of the attribute. For example, <code>"customersFirstOrder"</code>.</p> </div> </div> </li> <li> <div class="field" id="value-2025-01"> <div class="field-name"> value (<a href="/api/functions/reference/order-routing-location-rule/graphql/scalar#string-2025-01"><code>String</code></a>) </div> <div> <p>The value of the attribute. For example, <code>"true"</code>.</p> </div> </div> </li> </ul> <h2 id="types-that-return-attribute-2025-01"> Types that return Attribute </h2> <ul> <li> <a href="/api/functions/reference/order-routing-location-rule/graphql/common-objects/cart#attribute-2025-01"> <code>Cart.attribute</code> </a> </li> <li> <a href="/api/functions/reference/order-routing-location-rule/graphql/common-objects/cartline#attribute-2025-01"> <code>CartLine.attribute</code> </a> </li> <li> <a href="/api/functions/reference/order-routing-location-rule/graphql/common-objects/deliverablecartline#attribute-2025-01"> <code>DeliverableCartLine.attribute</code> </a> </li> </ul> </div><div class="doc-version" data-version="2024-10"> <p>Represents a generic custom attribute, such as whether an order is a customer's first.</p> <div> <h2 id="on-this-page">On this page</h2> <ul> <li> <a href="#fields-2024-10"> Fields </a> </li> <li> <a href="#types-that-return-attribute-2024-10"> Types that return Attribute </a> </li> </ul> </div> <h2 id="fields-2024-10"> Fields </h2> <ul class="fields"> <li> <div class="field" id="key-2024-10"> <div class="field-name"> key (<a href="/api/functions/reference/order-routing-location-rule/graphql/scalar#string-2024-10"><code>String!</code></a>) </div> <div> <p>The key or name of the attribute. For example, <code>"customersFirstOrder"</code>.</p> </div> </div> </li> <li> <div class="field" id="value-2024-10"> <div class="field-name"> value (<a href="/api/functions/reference/order-routing-location-rule/graphql/scalar#string-2024-10"><code>String</code></a>) </div> <div> <p>The value of the attribute. For example, <code>"true"</code>.</p> </div> </div> </li> </ul> <h2 id="types-that-return-attribute-2024-10"> Types that return Attribute </h2> <ul> <li> <a href="/api/functions/reference/order-routing-location-rule/graphql/common-objects/cart#attribute-2024-10"> <code>Cart.attribute</code> </a> </li> <li> <a href="/api/functions/reference/order-routing-location-rule/graphql/common-objects/cartline#attribute-2024-10"> <code>CartLine.attribute</code> </a> </li> <li> <a href="/api/functions/reference/order-routing-location-rule/graphql/common-objects/deliverablecartline#attribute-2024-10"> <code>DeliverableCartLine.attribute</code> </a> </li> </ul> </div><div class="doc-version" data-version="2024-07"> <p>Represents a generic custom attribute, such as whether an order is a customer's first.</p> <div> <h2 id="on-this-page">On this page</h2> <ul> <li> <a href="#fields-2024-07"> Fields </a> </li> <li> <a href="#types-that-return-attribute-2024-07"> Types that return Attribute </a> </li> </ul> </div> <h2 id="fields-2024-07"> Fields </h2> <ul class="fields"> <li> <div class="field" id="key-2024-07"> <div class="field-name"> key (<a href="/api/functions/reference/order-routing-location-rule/graphql/scalar#string-2024-07"><code>String!</code></a>) </div> <div> <p>The key or name of the attribute. For example, <code>"customersFirstOrder"</code>.</p> </div> </div> </li> <li> <div class="field" id="value-2024-07"> <div class="field-name"> value (<a href="/api/functions/reference/order-routing-location-rule/graphql/scalar#string-2024-07"><code>String</code></a>) </div> <div> <p>The value of the attribute. For example, <code>"true"</code>.</p> </div> </div> </li> </ul> <h2 id="types-that-return-attribute-2024-07"> Types that return Attribute </h2> <ul> <li> <a href="/api/functions/reference/order-routing-location-rule/graphql/common-objects/cart#attribute-2024-07"> <code>Cart.attribute</code> </a> </li> <li> <a href="/api/functions/reference/order-routing-location-rule/graphql/common-objects/cartline#attribute-2024-07"> <code>CartLine.attribute</code> </a> </li> <li> <a href="/api/functions/reference/order-routing-location-rule/graphql/common-objects/deliverablecartline#attribute-2024-07"> <code>DeliverableCartLine.attribute</code> </a> </li> </ul> </div><div class="doc-version" data-version="2024-04"> <p>Represents a generic custom attribute, such as whether an order is a customer's first.</p> <div> <h2 id="on-this-page">On this page</h2> <ul> <li> <a href="#fields-2024-04"> Fields </a> </li> <li> <a href="#types-that-return-attribute-2024-04"> Types that return Attribute </a> </li> </ul> </div> <h2 id="fields-2024-04"> Fields </h2> <ul class="fields"> <li> <div class="field" id="key-2024-04"> <div class="field-name"> key (<a href="/api/functions/reference/order-routing-location-rule/graphql/scalar#string-2024-04"><code>String!</code></a>) </div> <div> <p>The key or name of the attribute. For example, <code>"customersFirstOrder"</code>.</p> </div> </div> </li> <li> <div class="field" id="value-2024-04"> <div class="field-name"> value (<a href="/api/functions/reference/order-routing-location-rule/graphql/scalar#string-2024-04"><code>String</code></a>) </div> <div> <p>The value of the attribute. For example, <code>"true"</code>.</p> </div> </div> </li> </ul> <h2 id="types-that-return-attribute-2024-04"> Types that return Attribute </h2> <ul> <li> <a href="/api/functions/reference/order-routing-location-rule/graphql/common-objects/cart#attribute-2024-04"> <code>Cart.attribute</code> </a> </li> <li> <a href="/api/functions/reference/order-routing-location-rule/graphql/common-objects/cartline#attribute-2024-04"> <code>CartLine.attribute</code> </a> </li> <li> <a href="/api/functions/reference/order-routing-location-rule/graphql/common-objects/deliverablecartline#attribute-2024-04"> <code>DeliverableCartLine.attribute</code> </a> </li> </ul> </div>