Types > InventoryRuleLookupResult
Commerce APITypesInventoryRuleLookupResult
InventoryRuleLookupResult

Description

Topic: Inventory Rules

Fields

debug: String


default_inventory_location: InventoryLocation


inventory_locations: [InventoryLocation]


inventory_strategy: InventoryStrategy!

How inventory location should be picked


multiple_locations: Boolean!

Whether to allow picking multiple locations per order

Example: true


prefer_pickup_location: Boolean!

Whether to consider customer selected pickup location before anything else

Example: true


split_bundle_items: Boolean!

Whether to allow splitting bundle line items across multiple locations

Example: false


split_line_items: Boolean!

Whether to allow splitting individual line items across multiple locations

Example: false


Used By

Queries

inventoryRulesLookup

Preview (typescript)

interface InventoryRuleLookupResult {
debug?: string
default_inventory_location?: InventoryLocation | null
inventory_locations?: (InventoryLocation | null)[]
inventory_strategy: InventoryStrategy
multiple_locations: boolean
prefer_pickup_location: boolean
split_bundle_items: boolean
split_line_items: boolean
}