Delivery Profile
A shipping profile. In Shopify, a shipping profile is a set of shipping rates scoped to a set of products or variants that can be shipped from selected locations to zones. Learn more about building with delivery profiles.
Anchor to Fields and connectionsFields and connections
- Anchor to activeMethodDefinitionsCountactive•Int!non-null
Method Definitions Count 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 legacyModelegacy•Boolean!non-null
Mode Whether this shop has enabled legacy compatibility mode for delivery profiles.
- Anchor to locationsWithoutRatesCountlocations•Int!non-null
Without Rates Count The number of locations without rates defined.
- Anchor to namename•String!non-null
The name of the delivery profile.
- Anchor to originLocationCountorigin•Int!non-null
Location Count 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 profileLocationGroupsprofile•[Delivery
Location Groups Profile Location Group!]!non-null The location groups and associated zones using this profile.
- Anchor to sellingPlanGroupsselling•Selling
Plan Groups Plan Group Connection!non-null Selling plan groups associated with the specified delivery profile.
- Anchor to unassignedLocationsunassigned•[Location!]!non-null
Locations 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 zoneCountryCountzone•Int!non-null
Country Count The number of countries with active rates to deliver to.
- Anchor to productVariantsCountV2product•Delivery
Variants Count V2 Product Variants Count!non-nullDeprecated
Anchor to QueriesQueries
- •query
Returns a Delivery Profile resource by ID.
- •query
Returns a list of saved delivery profiles.
Anchor to MutationsMutations
- •mutation
Create a delivery profile.
- Anchor to profileprofile•Delivery
Profile Input!required Specifies the input fields for a delivery profile.
Arguments
- Anchor to profileprofile•Delivery
Profile The delivery profile that was created.
- Anchor to userErrorsuser•[User
Errors Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Update a delivery profile.
- •ID!required
The ID of the delivery profile to update.
- Anchor to leaveLegacyModeProfilesleave•Boolean
Legacy Mode Profiles Whether this delivery profile should leave legacy mode.
- Anchor to profileprofile•Delivery
Profile Input!required Specifies the input fields for a delivery profile.
Arguments
- Anchor to profileprofile•Delivery
Profile The delivery profile that was updated.
- Anchor to userErrorsuser•[User
Errors Error!]!non-null The list of errors that occurred from executing the mutation.
Fields