DeliveryMethodDefinition object
A method definition describes the delivery rate and the conditions that must be met for the method to be applied.
On this page
Fields
- active (
[Boolean!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01)
)
Whether this method definition is active. - 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. - methodConditions (
[[DeliveryCondition!]!](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/deliverycondition)
)
The method conditions that must pass for this method definition to be applied to an order. - name (
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
)
The name of the method definition. - rateProvider (
[DeliveryRateProvider!](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/deliveryrateprovider)
)
Provided rate for this method definition, from a rate definition or participant.
Types that return DeliveryMethodDefinition
[DeliveryLocationGroupZone.methodDefinitions](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/deliverylocationgroupzone#methoddefinitions-2021-01)
Implements
[Node](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/node)
An auto-generated type for paginating through multiple DeliveryMethodDefinitions.
On this page
Fields
- edges (
[[DeliveryMethodDefinitionEdge!]!](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/deliverymethoddefinition)
)
A list of edges. - pageInfo (
[PageInfo!](https://shopify.dev/docs/admin-api/graphql/reference/pageinfo)
)
Information to aid in pagination.
An auto-generated type which holds one DeliveryMethodDefinition and a cursor during pagination.
On this page
Fields
- cursor (
[String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01)
)
A cursor for use in pagination. - node (
[DeliveryMethodDefinition!](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/deliverymethoddefinition)
)
The item at the end of DeliveryMethodDefinitionEdge.
Types that return DeliveryMethodDefinitionEdge
[DeliveryMethodDefinitionConnection.edges](https://shopify.dev/docs/admin-api/graphql/reference/shipping-and-fulfillment/deliverymethoddefinition#edges-2021-01)