--- title: DeliveryRateGroupUpdateInput - GraphQL Admin description: >- The input fields to update a rate group. A rate group can contain either one participant, one rate definition (with or without a rate range condition), or many rate definitions (so long as they all have a rate range condition, and those rate range conditions all have the same subject and unit). To migrate from a rate group with rate definition(s) to a rate group with a participant (or vice versa), the original rate definitions (or participant) must be deleted via `rateDefinitionsToDelete` (or `participantsToDelete`) in the same mutation. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DeliveryRateGroupUpdateInput md: >- https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DeliveryRateGroupUpdateInput.md --- # Delivery​Rate​Group​Update​Input input\_object The input fields to update a rate group. A rate group can contain either one participant, one rate definition (with or without a rate range condition), or many rate definitions (so long as they all have a rate range condition, and those rate range conditions all have the same subject and unit). To migrate from a rate group with rate definition(s) to a rate group with a participant (or vice versa), the original rate definitions (or participant) must be deleted via `rateDefinitionsToDelete` (or `participantsToDelete`) in the same mutation. ## Fields * id [ID!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID) non-null A globally-unique ID of the rate group to update. * participants​To​Create [\[Delivery​Participant​Create​Input!\]](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DeliveryParticipantCreateInput) A list of at most one participant to create in the rate group. * participants​To​Delete [\[ID!\]](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID) A list of participants to delete from the rate group. * participants​To​Update [\[Delivery​Participant​Update​Input!\]](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DeliveryParticipantUpdateInput) A list of at most one participant to update in the rate group. * rate​Definitions​To​Create [\[Delivery​Rate​Definition​Create​Input!\]](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DeliveryRateDefinitionCreateInput) A list of rate definitions to create in the rate group. If this results in more than one rate definition in the rate group, they must all have a single rate range condition with the same subject and unit. * rate​Definitions​To​Delete [\[ID!\]](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/ID) A list of rate definitions to delete from the rate group. * rate​Definitions​To​Update [\[Delivery​Rate​Definition​Update​Input!\]](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DeliveryRateDefinitionUpdateInput) A list of rate definitions to update in the rate group. If this results in more than one rate definition in the rate group, they must all have a single rate range condition with the same subject and unit. *** ## Input objects using this input * [Delivery​Method​Definition​Input.rateGroupsToUpdate](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DeliveryMethodDefinitionInput#fields-rateGroupsToUpdate) INPUT OBJECT The input fields for a method definition. *** ## Map ### Input objects using this input * [Delivery​Method​Definition​Input.rateGroupsToUpdate](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DeliveryMethodDefinitionInput#fields-rateGroupsToUpdate)