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
- Serverless CLI
npm install -g serverless-
Serverless configured to use AWS Lambda
-
Moltin Account
- 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/updateto the end. The URL is where Syndigo should send its JSON for catalogue updates.
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