younifyd
Menu

fulfillmentService

Returns a FulfillmentService by its ID. The service can manage inventory, process fulfillment requests, and provide tracking details through callback endpoints or directly calling Shopify's APIs.

Use it in a workflow

  1. Add a step and choose the Shopify connector.
  2. Pick the fulfillmentService action (under Fulfillment).
  3. Fill in the fields below, then reference the result from later steps as {{fulfillmentservice.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 FulfillmentService($id: ID!) {
  fulfillmentService(id: $id) {
    callbackUrl
    fulfillmentOrdersOptIn
    handle
    id
    inventoryManagement
    location {
      activatable
      address {
        address1
        address2
        city
        country
        countryCode
        formatted
        latitude
        longitude
        phone
        province
        provinceCode
        zip
      }
      addressVerified
      createdAt
      deactivatable
      deactivatedAt
      deletable
      fulfillmentService
      fulfillsOnlineOrders
      hasActiveInventory
      hasUnfulfilledOrders
      id
      isActive
      isFulfillmentService
      isPrimary
      legacyResourceId
      localPickupSettingsV2 {
        instructions
        pickupTime
      }
      name
      shipsInventory
      suggestedAddresses {
        address1
        address2
        city
        country
        countryCode
        formatted
        province
        provinceCode
        zip
      }
      updatedAt
    }
    requiresShippingMethod
    serviceName
    trackingSupport
    type
  }
}

Variables

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

idstringrequired

The ID of the FulfillmentService to return.

json
{
  "id": "string"
}

Response

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

callbackUrlstring
fulfillmentOrdersOptInboolean
handlestring
idstring
inventoryManagementboolean
locationobject
activatableboolean
addressobject12 fields
addressVerifiedboolean
createdAtstring
deactivatableboolean
deactivatedAtstring
deletableboolean
fulfillmentServiceobject

Recursive reference to FulfillmentService, not further expanded.

fulfillsOnlineOrdersboolean
hasActiveInventoryboolean
hasUnfulfilledOrdersboolean
idstring
isActiveboolean
isFulfillmentServiceboolean
isPrimaryboolean
legacyResourceIdstring
localPickupSettingsV2object2 fields
namestring
shipsInventoryboolean
suggestedAddressesarray<object>
updatedAtstring
requiresShippingMethodboolean
serviceNamestring
trackingSupportboolean
typestring

One ofGIFT_CARDMANUALTHIRD_PARTY

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

fulfillmentService — Shopify — Documentation