younifyd
Menu

inventoryProperties

Returns the shop's inventory configuration, including all inventory quantity names. Quantity names represent different inventory states that merchants use to track inventory.

Use it in a workflow

  1. Add a step and choose the Shopify connector.
  2. Pick the inventoryProperties action (under Inventory).
  3. Fill in the fields below, then reference the result from later steps as {{inventoryproperties.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 InventoryProperties {
  inventoryProperties {
    quantityNames {
      belongsTo
      comprises
      displayName
      isInUse
      name
    }
  }
}

Response

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

quantityNamesarray<object>
belongsToobject
comprisesobject
displayNameobject
isInUseobject
nameobject

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

inventoryProperties — Shopify — Documentation