Adds plugin for Contentful synchronization (#75)

Adds plugin for Contentful

Will create product and product variants in Contentful, when created in Medusa

Closes #47
This commit is contained in:
Oliver Windall Juhl
2020-07-02 09:41:57 +02:00
committed by GitHub
parent a7951ca29c
commit d56ccba2b1
20 changed files with 7662 additions and 109 deletions
@@ -13,6 +13,8 @@ class ProductVariantModel extends BaseModel {
static schema = {
title: { type: String, required: true },
prices: { type: [MoneyAmountSchema], default: [], required: true },
sku: { type: String, default: "" },
barcode: { type: String, default: "" },
options: { type: [OptionValueSchema], default: [] },
image: { type: String, default: "" },
published: { type: Boolean, default: false },