--- title: DeliveryRateDefinitionCreateInput - GraphQL Admin description: The input fields for creating a rate definition on a rate group. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DeliveryRateDefinitionCreateInput md: >- https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DeliveryRateDefinitionCreateInput.md --- # Delivery​Rate​Definition​Create​Input input\_object The input fields for creating a rate definition on a rate group. ## Fields * conditions [\[Delivery​Rate​Range​Condition​Input!\]](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DeliveryRateRangeConditionInput) The rate range conditions for the rate definition. * max​Transit​Time [Int](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Int) The maximum transit time of the rate in seconds. * min​Transit​Time [Int](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Int) The minimum transit time of the rate in seconds. * price [Money​Input!](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/MoneyInput) required The price of the rate definition. The currency must match the currency of the method definition this rate definition is in. *** ## Input objects using this input * [Delivery​Rate​Group​Create​Input.rateDefinitionsToCreate](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DeliveryRateGroupCreateInput#fields-rateDefinitionsToCreate) INPUT OBJECT The input fields to create a rate group on a method definition. 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). * [Delivery​Rate​Group​Update​Input.rateDefinitionsToCreate](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DeliveryRateGroupUpdateInput#fields-rateDefinitionsToCreate) 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. *** ## Map ### Input objects using this input * [Delivery​Rate​Group​Create​Input.rateDefinitionsToCreate](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DeliveryRateGroupCreateInput#fields-rateDefinitionsToCreate) * [Delivery​Rate​Group​Update​Input.rateDefinitionsToCreate](https://shopify.dev/docs/api/admin-graphql/unstable/input-objects/DeliveryRateGroupUpdateInput#fields-rateDefinitionsToCreate)