Shipping profiles guide

How to bulk assign products to a shipping profile

What you’ll need

  • The shipping profile to move products into

    How to get this: The shipping profile to move products into

    In your Shopify admin: Settings › Shipping and delivery › Shipping profiles.

    Step-by-step guide (opens in a new tab)

  • Shopify’s free GraphiQL app (with read_products, write_shipping access)

    How to get this: Shopify’s free GraphiQL app
    1. Install it once from shopify-graphiql-app.shopifycloud.com: enter your store address, tick the access listed here, click Install and approve.
    2. Then open it any time from Apps › Shopify GraphiQL App in your admin.

    Step-by-step guide (opens in a new tab)

Open the Shipping Profile Assigner

Steps

  1. Run the profiles list query and pick the target profile.
  2. Choose the rule and paste the values (one per line).
  3. Run the lookup queries and paste the results; check the list of variants that will move.
  4. Download the undo, tick the confirm box, and run batch 1 (one variant).
  5. Run the rest, paste the results, then run the check query to confirm nothing is left in General.

The mutation

Each batch associates up to 250 variants with the profile, which moves them out of wherever they were.

deliveryProfileUpdate · Admin API 2026-10
mutation MoveVariants2 {
  b2: deliveryProfileUpdate(
    id: "gid://shopify/DeliveryProfile/101"
    profile: {
      variantsToAssociate: [
        "gid://shopify/ProductVariant/19523123216406",
        "gid://shopify/ProductVariant/19523123249174"
      ]
    }
  ) {
    profile { id name productVariantsCount { count } }
    userErrors { field message }
  }
}

More guides

Based on Shopify’s deliveryProfileUpdate, DeliveryProfileInput and productVariants query (Admin API 2026-10).