Fulfillment count

Keep track of how many orders are being fulfilled from each of your locations on a daily, weekly or monthly basis. Use it as a simple analytics data point or build a Flow to compare the live updated fulfillment count to any desired threshold, possibly constraining the location for further fulfillments within the period.

This metafield is live updated with the number of orders assigned to be fulfilled from each of your locations during a single day, week or month (with respect to the shop's defined timezone). The counter automatically resets as the period changes and either a new order is fulfilled or there is no fulfillment orders for the day, week or month (meaning the count is reset to 0).

Day and month period are the current day and month respectively. The weekly period is based on week numbers, starting on a Monday, meaning a week will be the seven days from Monday to Sunday.

Details

  • Name
    espresso.fulfillment_count_day | _week | _month
    Description

    Metafield namespace and key

  • Name
    number_integer
    Description

    Metafield type

  • Name
    location
    Description

    Scope of Shopify object that owns the metafield

When you initially enable this metafield, the individual location metafields will be set in a background task using the order information from the last 30 days. Once the metafields are set, they will be updated in real-time

Flow trigger

Updates to this metafield fires a trigger that can used to start a Shopify Flow workflow.

  • Name
    id
    Description

    The location id

  • Name
    period
    Description

    The period moniker (day, week or month)

  • Name
    fulfillmentCount
    Description

    The updated fulfillment count for the period. Can be 0 if no orders are fulfilled by the location for the period

Example content

{
    "id": "gid://shopify/Location/47953429430610",
    "period": "day",
    "fulfillmentCount": 4
}

See also

Was this page helpful?