pify/location

Stock locations. Inventory quantities live per item per location.

Types

pub type Location {
  Location(
    id: String,
    name: String,
    is_active: Bool,
    fulfills_online_orders: Bool,
  )
}

Constructors

  • Location(
      id: String,
      name: String,
      is_active: Bool,
      fulfills_online_orders: Bool,
    )

Values

pub fn list(
  client: pify.Client,
) -> effect.Effect(
  Result(List(Location), error.ShopifyError),
  key,
)

Every active location, across pages.

pub const query: String
pub fn variables(after: option.Option(String)) -> json.Json
✨ Search Document