Skip to content

nwb/avenue85-shipment-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spree shipping update from warehouse at Avenue85

Function

This is one lambda function, will be triggered by AWS S3 upload event. Once a file is uploaded, this lambda will read the file, parse the content, and post to spree commerce host. Three environment variables need be configured in lambda. SPREE_HOST : host of spree SPREE_UK_HOST : host of spree uk SPREE_API_KEY : the api key in spree

fork notice

if you want use this code for your own site, probably need update file parsing and the order posting sections to work with your business.

Setup

  • Clone this repo

  • Run npm install

  • zip all file

  • upload as one zip file into your created lambda funtction

  • configure the trigger to listen to your S3 bucket upload.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors