younifyd
Menu

availableCarrierServices

Returns a list of activated carrier services and associated shop locations that support them.

Use it in a workflow

  1. Add a step and choose the Shopify connector.
  2. Pick the availableCarrierServices action (under Available).
  3. Fill in the fields below, then reference the result from later steps as {{availablecarrierservices.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 AvailableCarrierServices {
  availableCarrierServices {
    carrierService {
      active
      callbackUrl
      formattedName
      icon {
        altText
        height
        id
        originalSrc
        src
        thumbhash
        width
      }
      id
      name
      supportsServiceDiscovery
    }
    locations {
      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
    }
  }
}

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