Onetrail TPN™ Seller PDE: Product Data Delivery
Introduction
Onetrail TPN™ connected Sellers can upload their Product Data using three CSV formatted files: Generic Product, Generic Stock and Customer Price file. The combination of these three files enables Onetrail to generate and deliver the required output files to your customers (hereinafter called Customer or Customers) containing those products that you want to make available to them (where you have indicated a Customer specific price) as well as to correctly send changes and related product stock availability.
Remark: Stock files may be processed on an hourly basis if possible.
Process
Choreography
Onetrail requires three file types:
Product file
This file should contain ALL products that you want to make available through Onetrail TPN™ to your customers. The file is to be delivered on a daily basis as early as possible but no later than 4:00am.
...
- All price information in this file is ignored
- Empty fields are not allowed
- A full file is expected every time
Stock file
This file should contain ALL products with accurate stock availability that you want to make available through Onetrail TPN™ to your Customers. This file is to be delivered on an hourly basis.
...
- Apart from the (hourly) stock updates Onetrail allows Customers to perform a Real time Price and Availability check from within their (ERP) system which results in a real-time request to your environment (if available). It is common practice for Onetrail TPN™ connected Customers to perform such checks before sending a purchase order so errors can be avoided.
Customer Price file
Onetrail expects a separate Customer Price file per Customer you wish to trade with through Onetrail TPN™. This file is to be delivered on a daily basis as early as possible but no later than 4:00am. This file should contain the products with their net prices to be made available to a specific Customer.
...
- For support and demo purposes Onetrail requires one additional Customers file for Onetrail itself (Onetrail account). This file normally contains all products with default prices (i.e. highest price).
Delivery Schedule
Please set up a schedule and inform Onetrail when your files will be delivered to the Onetrail FTP server. Below you will find examples of the schedules Onetrail requires. Keep in mind that Onetrail needs to process and subsequently deliver the files to the Customers system before start of business (8:00am). Therefore Onetrail requires the files no later than 4:00am. The Generic Stock file may obviously be delivered every hour during business hours.
Example delivery schedules
Generic Product File:
Always a full file with all products.
...
Day | Frequency / Time | Remarks | Full/mutation |
---|---|---|---|
SUN: | Once a day / 2.00am | Full | |
MON: | Once a day / 2.00am | Mutation | |
TUE: | Once a day / 2.00am | Mutation | |
WED: | Once a day / 2.00am | Mutation | |
THU: | Once a day / 2.00am | Mutation | |
FRI: | Once a day / 2.00am | Mutation | |
SAT: | No file (* Once a day / 2.00am) | Mutation | * Only if Saturday is a business day |
Syntax
The table below shows an overview of the field definitions per file type (Product, Stock, (Customer Price) and their status (Mandatory (M), Optional (O) or Not Applicable (N/A)).
...
- Price – "Currency" field: The Currency field is not necessarily mandatory if Currency is well communicated by the Seller. For example, if the Currency is Euro only, Onetrail can set Euro as a default value.
- Product and Price – "Status" field: In most cases Onetrail determines the status. The status needs to be delivered when Sellers also deliver mutation files to Onetrail TPN™.
- Product File – "VAT" field: The VAT field is necessarily mandatory if VAT is i.e. always HIGH, then Onetrail can set VAT as a default value.
Format
The format for the three files is Comma Separated Values. Onetrail's definition of CSV: Each record is put on 1 line with a CR/LF or LF as line separator. Each field is separated by a separator. This separator cannot be used inside the data, therefor Onetrail suggests to use "|" as a separator.
Communication
All files can be stored on the Onetrail FTP server. To enable connectivity to the Onetrail FTP server, Onetrail requires your external “STATIC” IP address. Onetrail will provide you the necessary login settings.
FTP server
Please refer to Communication guide: FTP Server for more details.
File naming convention
File Type | File Name | Example |
---|---|---|
Product | .8714253023809.product.csv | test_seller.8714253023809.product.csv |
Stock | .8714253023809.stock.csv | test_seller.8714253023809.stock.csv |
Price | ..price.csv | test_seller.8714231442455.price.csv |
...