--- title: AttributeInput - GraphQL Admin description: The input fields for an attribute. api_version: 2025-10 api_name: admin type: input-object api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/input-objects/AttributeInput md: https://shopify.dev/docs/api/admin-graphql/latest/input-objects/AttributeInput.md --- # Attribute​Input input\_object The input fields for an attribute. ## Fields * key [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null Key or name of the attribute. * value [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null Value of the attribute. *** ## Input objects using this input * [Draft​Order​Input.customAttributes](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DraftOrderInput#fields-customAttributes) INPUT OBJECT The input fields used to create or update a draft order. * [Draft​Order​Line​Item​Input.customAttributes](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DraftOrderLineItemInput#fields-customAttributes) INPUT OBJECT The input fields for a line item included in a draft order. * [Order​Input.customAttributes](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/OrderInput#fields-customAttributes) INPUT OBJECT The input fields for specifying the information to be updated on an order when using the orderUpdate mutation. * [Subscription​Draft​Input.customAttributes](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/SubscriptionDraftInput#fields-customAttributes) INPUT OBJECT The input fields required to create a Subscription Draft. * [Subscription​Line​Input.customAttributes](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/SubscriptionLineInput#fields-customAttributes) INPUT OBJECT The input fields required to add a new subscription line to a contract. * [Subscription​Line​Update​Input.customAttributes](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/SubscriptionLineUpdateInput#fields-customAttributes) INPUT OBJECT The input fields required to update a subscription line on a contract. *** ## Map ### Input objects using this input * [Draft​Order​Input.customAttributes](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DraftOrderInput#fields-customAttributes) * [Draft​Order​Line​Item​Input.customAttributes](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/DraftOrderLineItemInput#fields-customAttributes) * [Order​Input.customAttributes](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/OrderInput#fields-customAttributes) * [Subscription​Draft​Input.customAttributes](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/SubscriptionDraftInput#fields-customAttributes) * [Subscription​Line​Input.customAttributes](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/SubscriptionLineInput#fields-customAttributes) * [Subscription​Line​Update​Input.customAttributes](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/SubscriptionLineUpdateInput#fields-customAttributes)