PrestaShop Developer Conference
PrestaShop Developer Conference
Paris, France - November 30, 2023
Let's talk code, commerce and open source.

Warning: You are browsing the documentation for PrestaShop 1.7, which is outdated.

You might want to read an updated version of this page for the current version, PrestaShop 8. Read the updated version of this page

Learn how to upgrade to the latest version.

Resources for Warehouses

Warehouse

Name Format Required Writable Max size Not filterable Description
id_address isUnsignedId ✔️ ✔️
id_employee isUnsignedId ✔️ ✔️ Employee ID
id_currency isUnsignedId ✔️ ✔️ Currency ID
valuation true
deleted ✔️
reference isString ✔️ ✔️ 64
name isString ✔️ ✔️ 45
management_type isStockManagement ✔️ ✔️
associations ✔️

Blank schema

<prestashop xmlns:xlink="http://www.w3.org/1999/xlink">
  <warehouse>
    <id><![CDATA[]]></id>
    <id_address><![CDATA[]]></id_address>
    <id_employee><![CDATA[]]></id_employee>
    <id_currency><![CDATA[]]></id_currency>
    <deleted><![CDATA[]]></deleted>
    <reference><![CDATA[]]></reference>
    <name><![CDATA[]]></name>
    <management_type><![CDATA[]]></management_type>
    <associations>
      <stocks>
        <stock>
          <id><![CDATA[]]></id>
        </stock>
      </stocks>
      <carriers>
        <carrier>
          <id><![CDATA[]]></id>
        </carrier>
      </carriers>
      <shops>
        <shop>
          <id><![CDATA[]]></id>
          <name><![CDATA[]]></name>
        </shop>
      </shops>
    </associations>
  </warehouse>
</prestashop>