younifyd
Menu

deliveryProfile

Retrieves a DeliveryProfile by ID. Delivery profiles group shipping settings for specific Product objects that ship from selected Location objects to delivery zones.

Use it in a workflow

  1. Add a step and choose the Shopify connector.
  2. Pick the deliveryProfile action (under Delivery).
  3. Fill in the fields below, then reference the result from later steps as {{deliveryprofile.response.data}}.

Query

This is the query the action sends by default. Edit it in the step's Query field to change which fields come back.

graphql
query DeliveryProfile($id: ID!) {
  deliveryProfile(id: $id) {
    activeMethodDefinitionsCount
    coversAllItems
    default
    id
    locationsWithoutRatesCount
    name
    originLocationCount
    productVariantsCount {
      count
      precision
    }
    productVariantsCountV2 {
      capped
      count
    }
    unassignedLocations {
      activatable
      address {
        address1
        address2
        city
        country
        countryCode
        formatted
        latitude
        longitude
        phone
        province
        provinceCode
        zip
      }
      addressVerified
      createdAt
      deactivatable
      deactivatedAt
      deletable
      fulfillmentService {
        callbackUrl
        fulfillmentOrdersOptIn
        handle
        id
        inventoryManagement
        location
        requiresShippingMethod
        serviceName
        trackingSupport
        type
      }
      fulfillsOnlineOrders
      hasActiveInventory
      hasUnfulfilledOrders
      id
      isActive
      isFulfillmentService
      isPrimary
      legacyResourceId
      localPickupSettingsV2 {
        instructions
        pickupTime
      }
      name
      shipsInventory
      suggestedAddresses {
        address1
        address2
        city
        country
        countryCode
        formatted
        province
        provinceCode
        zip
      }
      updatedAt
    }
    version
    zoneCountryCount
  }
}

Variables

Pass these as a JSON object in the step's Variables field.

idstringrequired

The ID of the DeliveryProfile to return.

json
{
  "id": "string"
}

Response

Read the result with {{deliveryprofile.response.data.data.deliveryProfile}}. If the API returns errors, the step fails and they are at {{deliveryprofile.response.data.errors}}.

activeMethodDefinitionsCountnumber
coversAllItemsboolean
defaultboolean
idstring
locationsWithoutRatesCountnumber
namestring
originLocationCountnumber
productVariantsCountobject
countnumber
precisionstring

One ofEXACTAT_LEAST

productVariantsCountV2object
cappedboolean
countnumber
unassignedLocationsarray<object>
activatableobject
addressobject
addressVerifiedobject
createdAtobject
deactivatableobject
deactivatedAtobject
deletableobject
fulfillmentServiceobject
fulfillsOnlineOrdersobject
hasActiveInventoryobject
hasUnfulfilledOrdersobject
idobject
isActiveobject
isFulfillmentServiceobject
isPrimaryobject
legacyResourceIdobject
localPickupSettingsV2object
nameobject
shipsInventoryobject
suggestedAddressesobject
updatedAtobject
versionnumber
zoneCountryCountnumber

Need more? See the Shopify guide for connection setup and behaviour shared by every action.

deliveryProfile — Shopify — Documentation