Shipping rates guide

Import shipping rates into Shopify from a CSV

What you’ll need

  • Shopify’s free GraphiQL app (with read_shipping, 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)

  • Your shipping profiles

    How to get this: Your shipping profiles

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

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

Import my rate sheet

What you can change

  • Price, name, description and Active (on/off) of any flat rate in your backup.
  • New rates in existing zones (leave the ID columns empty).
  • New zones: give a new zone name and its Countries.

What the tool won’t do

It never deletes rates or zones, never changes a weight or price range in place, and never edits carrier-calculated or tiered options. Each of those is explained on the exact row, with what to do instead.

The mutation

Each batch is one deliveryProfileUpdate for one profile, at most 5 zones and 40 rates, following Shopify’s advice to keep nested updates small.

deliveryProfileUpdate · Admin API 2026-10
mutation ShippingRates1 {
  b1: deliveryProfileUpdate(
    id: "gid://shopify/DeliveryProfile/100"
    profile: {
      locationGroupsToUpdate: [{
        id: "gid://shopify/DeliveryLocationGroup/200",
        zonesToUpdate: [{
          id: "gid://shopify/DeliveryZone/300",
          methodDefinitionsToCreate: [{
            name: "Standard",
            active: true,
            rateDefinition: { price: { amount: "8.00", currencyCode: USD } },
            weightConditionsToCreate: [
              { criteria: { value: 1.01, unit: POUNDS }, operator: GREATER_THAN_OR_EQUAL_TO },
              { criteria: { value: 5, unit: POUNDS }, operator: LESS_THAN_OR_EQUAL_TO }
            ]
          }]
        }]
      }]
    }
  ) {
    profile { id name }
    userErrors { field message }
  }
}

More guides

Based on Shopify’s deliveryProfiles, deliveryProfileUpdate and Feb 2026 changelog (Admin API 2026-10).