Marketing Support Solutions (MSS) / SPExpress (SPE) / Stitch Labs / Shopify Bridge
- Gain access to the FTP Server
- Parse dates out of files
- Have awareness of processed documents (Mongo?)
- Output dates into file names
- What is the timezone for the FTP server?
- Read all open orders from Shopify
- Check if line-items fulfillment-service is set to MSS
- Assemble a CSV document of all applicable orders
- Name the file appropriately
- Access FTP and place document within file-system
- Will I be given write access to the server?
- What is the directory structure of the FTP server?
- Are there directories for each import (to fulfill) and corresponding export (fulfilled)?
- Is there just on directory with multiple files?
- How will I find the relevant latest file? Store processed document names?
- Read fulfilled orders from FTP
- Parse CSV
- Fulfill in Shopify
- Read Inventory file
- Update inventory in Stitch Labs (which updates Shopify)
- Is this the process?
- Aquire Stitch Labs Product variant ID
- Map that ID corresponding ID in CSV row
- Find the difference in inventory
- Then
add
orminus
based on the difference - Send Variant Stock change
order_HOLSTEE_SPExpress_20150402T031503.txt
SCF-V5-HOL-20150519-150009485.txt
INVENTORY_RPT_V2-20150518-211504088.txt