Using Inventory Export
Two types of exports are available: Aggregate Exports and Location Exports.- Aggregate Exports provides total stock information for items across all fulfillment locations included in the export.
- Location Exports provide item stock and location information, sorted by fulfillment location.
When
include_future_inventory is enabled in your export settings, the Location Export will include additional fields representing incoming inventory quantities and the earliest expected delivery date per SKU/location. Future inventory data is available at the location level only — it is not included in Aggregate Exports.Getting Started
You must prepare either an SFTP site, S3 bucket, or GCS bucket where Kibo can drop off inventory files. Use the Export Inventory API to configure your settings for the inventory export process to these droppoints. There are three endpoints used to achieve this: a general endpoint (for any type including GCS), an S3-specific endpoint, and an FTP-specific endpoint. The general endpoint allows you to name location groups or sites if you want the configurations to apply specifically to exports from them, which cannot be defined with the S3 and FTP endpoints. When using the general endpoint to configure exports to a GCS bucket, you must provide agcsInformation object as shown below (these fields will be added to the API documentation soon).
SFTP Best Practices
Kibo recommends following the below guidelines to maximize SFTP performance. These suggestions apply to any file pickup and ingestion processes from a client-side or third party SFTP droppoint, as well as Kibo’s own file delivery.- Ensuring access to the SFTP droppoint is the responsibility of the client or third party maintainer. Make sure that Kibo’s SFTP user has read and write permissions to the directory, which is required to deliver files.
- For example, in the command line this may look like
drw-rw-r--(which means the owner has read/write, the group has read/write, others are read-only)
- For example, in the command line this may look like
- Ensure files do not pile up over time → utilize /archive folders and periodic cleanup of historic data. Monitor the droppoint and clean up files that are no longer needed.
- If you need to retain the files, archive them to another folder once they’ve been processed.
- Ensure disk space usage is monitored and alerts the maintaining IT team in time to address low disk space situations before causing connection issues for Kibo.
Schedule Imports and Exports
Inventory imports can occur at any time, as Kibo is constantly looking for new files on the client server. Exports will occur on a regular schedule after Kibo Engineering sets up jobs to export inventory for you daily at a specific time.Inventory Export Files
Inventory data is provided as XML files, compressed into Zip format. Kibo also provides a Trigger or Control file with the data. The Trigger file is written to the SFTP or S3 after transmission of the Inventory Export file is completed. Trigger files are empty files and have an extension of .done.Aggregate Export Files
Aggregate Export files provide total stock information for items across multiple fulfillment locations.File Names for Aggregate Exports
Files are named as follows:- T__AGG_YYMMDDhhmmss
- File name extension is .xml for XML files; .zip for zip files; .done for Trigger files.
- is the Kibo-assigned tenant ID (for example, 3456)
- AGG designates that this is an Aggregate file
- YYMMDD is the date as year-month-day that the file is created (for example, 130301 for March 1, 2013)
- hhmmss is the time as hour-minute-second that the file is created in Pacific Standard Military Time (for example, 225912 for 10:59:12 p.m. PT)
Data Elements
Location Export Files
Location Exports provide item stock and location information by fulfillment location.File Names for Location Exports
Files are named as follows:- T__LOC_YYMMDDhhmmss
- File name extension is .xml for XML files; .zip for zip files; .done for Trigger files.
- is the Kibo-assigned manufacturer ID (for example, 3456)
- LOC designates that this is a location file
- YYMMDD is the date as year-month-day that the file is created (for example, 130301 for March 1, 2013)
- hhmmss is the time as hour-minute-second that the file is created in Pacific Standard Military Time (for example, 225912 for 10:59:12 p.m. PT.

