Configuration
In order to setup the Relewise configuration you need the following:Options
Table of available options, that you can optionally specify, if needed for your use case.IntelliSense
In order to send data to Relewise (products, content, …) the structure of the object you are mapping in theproperties function must match with the corresponding Relewise model. See Relewise API in Swagger.
To help you bulding the right model, Enterspeed can provide you with IntelliSense. Simply just change the type in the top of the schema from /** @type {Enterspeed.FullSchema} */ to one of the following:
/** @type {Enterspeed.Destinations.Relewise.Schemas.Product} *//** @type {Enterspeed.Destinations.Relewise.Schemas.Content} *//** @type {Enterspeed.Destinations.Relewise.Schemas.Brand} *//** @type {Enterspeed.Destinations.Relewise.Schemas.ProductCategory} *//** @type {Enterspeed.Destinations.Relewise.Schemas.ContentCategory} */
Example of usage
- JavaScript
- JSON
Product schema with Relewise destination
- JavaScript
- JSON
Content schema with Relewise destination
What’s supported
The integration supports the following types:product (with variants), productCategory, content, contentCategory and brand and the type needs to be defined in the relewiseEntityType property in the destination options together with a value for the id you want in Relewise.
See more details on the Relewise documentation: https://docs.relewise.com/docs/developer/implementation-steps.html#_1-provide-entities
All updates are done with
UpdateKind.ClearAndReplace and all administrative actions are done with UpdateKind.Disable