Integrating your stock feed into the Returns Portal
Important
This feed is only required if you wish to make products available for Live Exchanges.
This feed contains the stock data (available quantities and warehouses) for all your goods,
It is connected with your product feed via the Product SKU.
The stock feed file should be exported daily to an FTPS or SFTP location, for subsequent import into the administration portal.
Note
You can request an FTPS/SFTP location from your Metapack implementation consultant.
Returns can accept the order feed in any of the following formats:
-
CSV - The separator can be a comma, pipe, semicolon or tab, but please use the same one throughout. Files should be encoded using the Unicode standard.
-
XLS/XLSX
-
XML - Refer to the following XML example: stock-example.xml.
Note
For full file details, refer to Stock Feed File Specification. If you need help, send us your stock feed in any layout and we can help map it correctly.
Please use the following naming convention for your files:
Stock_GB_<timestamp>
.<suffix> (e.g. .csv
).
The <timestamp>
should be supplied in ISO 8601 format, for example:
2020-03-31T000000Z
,
<?xml version="1.0" encoding="UTF-8"?> <Root> <Data> <SKU>SKU-LE-005</SKU> <WarehouseDCCode>TS-4545</WarehouseDCCode> <AvailableQuantity>496</AvailableQuantity> </Data> <Data> <SKU>SKU-LE-004</SKU> <WarehouseDCCode>TS-4545</WarehouseDCCode> <AvailableQuantity>688</AvailableQuantity> </Data> </Root>