Skip to content

Warehouse

The Warehouse object represents information about the warehouse available in the storefront.

classDiagram
  direction LR
  Warehouse --> Country
  class Warehouse{
    int id
    ?Country country
    string name
    string city
    string addressLine1
    string addressLine2
    string zipCode
  }
  class Country{
  }

Properties

Attribute name Type Description
id int The unique identifier of the warehouse.
name string The name of the warehouse.
country null | Country Reference to the Country object that represents the Country.
city string City of the warehouse.
addressLine1 string Address line 1 of the warehouse.
addressLine2 string Address line 2 of the warehouse.
zipCode string Zip code of the warehouse.

Examples

id property

{{ warehouse.id }}
1

name property

{{ warehouse.name }}
Example warehouse

country property

{{ warehouse.country.name }}
Poland

city property

{{ warehouse.city }}
Kraków

addressLine1 property

{{ warehouse.addressLine1 }}
Pawia 9

addressLine2 property

{{ warehouse.addressLine2 }}
(Fifth Floor)

zipCode property

{{ warehouse.zipCode }}
31-154