Skip to content
  • There are no suggestions because the search field is empty.

Mr Toys

Review Mr Toys

 They have multiple accounts on m2.


Products :

Received daily via a CSV file dropped onto our SFTP server and processed.

Separate files per brand / account / marketplace

Inventory:

No separate inventory file

Orders:

As orders are received we send them to a SFTP (which s managed by the retailer) and they are collected by the seller.

Order Acknowledgement and Shipment

Order updates, including order acknowledgement and shipping and tracking info are retrieved from a retailer sftp server at 27.50.91.86 (hardcoded)

Username depends on the site (aka Omnivore account) also hardcoded, and the connection uses a private key not a password.

The file is downloaded and processed in the job '1 order change poll'

The frequency of the job is defined by site.shipmentCheckCron eg:

https://m2.omnivore.com.au/configuration/adminConfig/mr-toys-toyworld#advanced

Shipment Status Check Cron Expression

0 0/30 * * * ?

The file folder and name is "outgoing'/order-ack*.csv"

The relevant code is in MrToysToyworldAdapterService

pollForOrderChanges

processOrderShippedCsvFile

The file downloaded is available in /tmp of the server, eg:

/tmp/order-shipped_20240116T170700.csv-1705390348216-shipped-feed.xml

Example:

root@newm2p1:/tmp# cat order-shipped_20240116T153700.csv-1705384925073-shipped-feed.xml

eBay order number,retailer order reference,carrier,tracking number

C65126751-B,M00226878,Standard Post Lawnton,34D6B505237501000930304

Potential improvements:
  • make it visible in the GUI
  • have the retailer name in the file name and/or store it in /opt/omnivore/files/retailer/incoming/ where we already store the incoming feed files.

The file we download contains orders from all marketplaces and our code can sort through those.

The column with the order number is "eBay order number" but really it's for any marketplace.

Once the file is downloaded, I don't see that it's archived anywhere on their sftp server.

The content of /tmp is cleared at server restart, which means it might be available for a while on our webserver.

Potential issue:

Order push failure, error = channel is not opened. - Check SFTP server

if they refresh the file faster than the frequency of our job then we might lose some updates.

Shipping is based on weight across all markets

No Postcode exclusions