--- title: subscriptionDraftLineUpdate - GraphQL Admin description: Updates a subscription line on a subscription draft. api_version: 2026-01 api_name: admin type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/mutations/subscriptiondraftlineupdate md: https://shopify.dev/docs/api/admin-graphql/latest/mutations/subscriptiondraftlineupdate.md --- # subscription​Draft​Line​Update mutation Requires `write_own_subscription_contracts` access scope. Also: The user must have manage\_orders\_information permission. Updates a subscription line on a subscription draft. ## Arguments * draft​Id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) required The gid of the Subscription Contract draft to update a subscription line from. * input [Subscription​Line​Update​Input!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/SubscriptionLineUpdateInput) required The properties of the new Subscription Line. * line​Id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) required The gid of the Subscription Line to update. *** ## Subscription​Draft​Line​Update​Payload returns * draft [Subscription​Draft](https://shopify.dev/docs/api/admin-graphql/latest/objects/SubscriptionDraft) The Subscription Contract draft object. * line​Updated [Subscription​Line](https://shopify.dev/docs/api/admin-graphql/latest/objects/SubscriptionLine) The updated Subscription Line. * user​Errors [\[Subscription​Draft​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/SubscriptionDraftUserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### subscriptionDraftLineUpdate reference