← back to Shopify Sample Shipping

general-rategroups.graphql

32 lines

query {
  deliveryProfile(id: "gid://shopify/DeliveryProfile/29033627699") {
    profileLocationGroups {
      locationGroupZones(first: 5) {
        nodes {
          zone { name }
          methodDefinitions(first: 10) {
            nodes {
              id
              name
              rateGroups(first: 10) {
                nodes {
                  id
                  rateProviders(first: 10) {
                    nodes {
                      ... on DeliveryRateDefinition {
                        id
                        price { amount currencyCode }
                        conditions { subject }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}