DeliveryMethodDefinitionInput input object

Input fields for a method definition.

Input fields

  • active ([Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))
    Whether or not to use this method definition during rate calculation.
  • conditionsToUpdate ([[DeliveryUpdateConditionInput!]](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/deliveryupdateconditioninput))
    Conditions on the method definition to update.
  • description ([String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    The description of the method definition.
  • id ([ID](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01))
    Globally unique identifier of the method definition. Use only when updating a method definiton.
  • name ([String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    The name of the method definition.
  • participant ([DeliveryParticipantInput](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/deliveryparticipantinput))
    A participant to apply to the method definition.
  • priceConditionsToCreate ([[DeliveryPriceConditionInput!]](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/deliverypriceconditioninput))
    Price conditions on the method definition.
  • rateDefinition ([DeliveryRateDefinitionInput](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/deliveryratedefinitioninput))
    A rate definition to apply to the method definition.
  • weightConditionsToCreate ([[DeliveryWeightConditionInput!]](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/deliveryweightconditioninput))
    Weight conditions on the method definition.