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