Skip to main content
query

Retrieves a DeliveryProfile by ID. Delivery profiles group shipping settings for specific Product objects that ship from selected Location objects 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.


Was this section helpful?

•DeliveryProfile

A shipping profile that defines shipping rates for specific Product objects and ProductVariant objects. Delivery profiles determine which products can ship from which Location objects to which zones, and at what rates.

Profiles can associate with SellingPlanGroup 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 activeMethodDefinitionsCountactiveMethodDefinitionsCount
•Int!
non-null

The number of active shipping rates for the profile.

•Boolean!
non-null

Whether this is the default profile.

•ID!
non-null

A globally-unique ID.

Anchor to locationsWithoutRatesCountlocationsWithoutRatesCount
•Int!
non-null

The number of locations without rates defined.

•String!
non-null

The name of the delivery profile.

•Int!
non-null

The number of active origin locations for the profile.

Anchor to productVariantsCountproductVariantsCount
•Count

How many product variants are in this profile.

•DeliveryProfileItemConnection!
non-null

The products and variants associated with this profile.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.

•ProfileItemSortKeys
DeprecatedDefault:ID

Anchor to profileLocationGroupsprofileLocationGroups
•[DeliveryProfileLocationGroup!]!
non-null

The location groups and associated zones using this profile.

Arguments

•ID

Filter the location groups of the profile by location group ID.


•SellingPlanGroupConnection!
non-null

Selling plan groups associated with the specified delivery profile.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.


•[Location!]!
non-null

List of locations that haven't been assigned to a location group for this profile.

Anchor to unassignedLocationsPaginatedunassignedLocationsPaginated
•LocationConnection!
non-null

List of locations that have not been assigned to a location group for this profile.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.


•Int!
non-null

The version of the delivery profile.

•Int!
non-null

The number of countries with active rates to deliver to.

•Boolean!
non-nullDeprecated
Anchor to productVariantsCountV2productVariantsCountV2
•DeliveryProductVariantsCount!
non-nullDeprecated

Was this section helpful?