Delivery Profile
A shipping profile that defines shipping rates for specific Product objects and objects. Delivery profiles determine which products can ship from which Location objects to which zones, and at what rates.
Profiles can associate with objects to provide custom shipping rules for subscriptions, such as free shipping or restricted delivery zones. The default profile applies to all products that aren't assigned to other profiles.
Learn more about building delivery profiles.
Anchor to FieldsFields
- Anchor to activeMethodDefinitionsCountactive•Int!
Method Definitions Count non-null The number of active shipping rates for the profile.
- Anchor to defaultdefault•Boolean!non-null
Whether this is the default profile.
- •ID!non-null
A globally-unique ID.
- Anchor to locationsWithoutRatesCountlocations•Int!
Without Rates Count non-null The number of locations without rates defined.
- Anchor to namename•String!non-null
The name of the delivery profile.
- Anchor to originLocationCountorigin•Int!
Location Count non-null The number of active origin locations for the profile.
- Anchor to productVariantsCountproduct•Count
Variants Count How many product variants are in this profile.
- Anchor to profileItemsprofile•Delivery
Items Profile Item Connection! non-null The products and variants associated with this profile.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Profile
Key Item Sort Keys DeprecatedDefault:ID
Arguments
- Anchor to profileLocationGroupsprofile•[Delivery
Location Groups Profile Location Group!]! non-null The location groups and associated zones using this profile.
- Anchor to locationGroupIdlocation•ID
Group Id Filter the location groups of the profile by location group ID.
Arguments
- Anchor to sellingPlanGroupsselling•Selling
Plan Groups Plan Group Connection! non-null Selling plan groups associated with the specified delivery profile.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to unassignedLocationsunassigned•[Location!]!
Locations non-null List of locations that haven't been assigned to a location group for this profile.
- Anchor to unassignedLocationsPaginatedunassigned•Location
Locations Paginated Connection! non-null List of locations that have not been assigned to a location group for this profile.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
- Anchor to versionversion•Int!non-null
The version of the delivery profile.
- Anchor to zoneCountryCountzone•Int!
Country Count non-null The number of countries with active rates to deliver to.
Deprecated fields
- Anchor to legacyModelegacy•Boolean!
Mode non-nullDeprecated - Anchor to productVariantsCountV2product•Delivery
Variants Count V2 Product Variants Count! non-nullDeprecated
Anchor to QueriesQueries
- •query
Retrieves a
by ID. Delivery profiles group shipping settings for specificProductobjects that ship from selectedLocationobjects to [delivery zones](https://shopify.dev/docs/api/admin-graphql/latest/objects/DeliveryZone with defined rates.Learn more about delivery profiles.
- •ID!required
The ID of the DeliveryProfile to return.
Arguments
- •ID!
- •query
Returns a paginated list of
objects for the shop. Delivery profiles groupProductandobjects that share shipping rates and zones.Each profile contains
objects that organize fulfillmentLocationobjects and their associated delivery zones.objects define geographic regions with specific shipping methods and rates. Use thefilter to exclude profiles that third-party apps manage.Learn more about delivery profiles.
- Anchor to merchantOwnedOnlymerchant•Boolean
Owned Only If
true, returns only delivery profiles that were created by the merchant.- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
Anchor to MutationsMutations
- •mutation
Creates a
that defines shipping rates for specific products and locations.A delivery profile groups products with their shipping zones and rates. You can associate profiles with
objects to customize shipping for subscriptions and pre-orders. Each profile containsobjects that specify whichLocationobjects ship to whichobjects with specificobjects and rates.Learn more about building delivery profiles.
- Anchor to profileprofile•Delivery
Profile Input! required Specifies the input fields for a delivery profile.
Arguments
- •mutation
Updates a
's configuration, including its shipping zones, rates, and associated products.Modify location groups to control which fulfillment
Locationobjects serve specific geographic areas. Add or remove shipping zones with custom countries and provinces. Create or update shipping methods with rate definitions and delivery conditions. Associate or dissociateobjects andobjects to determine which products use this profile's shipping rules.The mutation supports partial updates through dedicated input fields for creating, updating, and deleting specific components without affecting the entire profile structure.
Learn more about building delivery profiles.
- •ID!required
The ID of the delivery profile to update.
- Anchor to profileprofile•Delivery
Profile Input! required Specifies the input fields for a delivery profile.
- Anchor to leaveLegacyModeProfilesleave•Boolean
Legacy Mode Profiles Deprecated
Arguments
- •ID!