Skip to main content
Anchor to DeliveryRateDefinitionCreateInput

DeliveryRateDefinitionCreateInput

input_object

The input fields for creating a rate definition on a rate group.

•[DeliveryRateRangeConditionInput!]

The rate range conditions for the rate definition.

•Int

The maximum transit time of the rate in seconds.

•Int

The minimum transit time of the rate in seconds.

•MoneyInput!
required

The price of the rate definition. The currency must match the currency of the method definition this rate definition is in.


Was this section helpful?

Anchor to Input objects using this inputInput objects using this input

•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).

•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.


Was this section helpful?