Skip to main content
Anchor to DeliveryRateDefinitionUpdateInput

DeliveryRateDefinitionUpdateInput

input_object

The input fields for updating a rate definition.

•[DeliveryRateRangeConditionInput!]

The rate range conditions for the rate definition.

•ID!
non-null

A globally-unique ID of the rate definition.

•Int

The maximum delivery time in days.

•Int

The minimum delivery time in days.

•MoneyInput

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 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?