Syndigo -> Moltin Sync
A serverless function to receive a JSON dump of product data from Syndigo and update products in the Moltin API with this new data.
๐ Moltin API reference โ ๐ Vendavo API reference
๐ Pre-requisites
- Serverless CLI
npm install -g serverless
-
Serverless configured to use AWS Lambda
-
Moltin Account
โฝ๏ธ Usage
- Change directory into the project and install the dependancies
cd syndigo-moltin
yarn
- Rename
.example.env.yml
cp .example.env.yml .env.yml
- Add values for your Moltin credentials in
.env.yml
Note: This requires a Moltin account.
- Deploy the function via serverless
sls deploy
- Note the deployed URL endpoint and add
/catalogue/update
to the end. The URL is where Syndigo should send its JSON for catalogue updates.
โค๏ธ Contributing
We love community contributions. Here's a quick guide if you want to submit a pull request:
- Fork the repository
- Commit your changes
- Submit your PR with a brief description explaining your changes