
* Add sync all channel products feature * Implement batch create and delete product variants CMSes sync methods * Fix pnpm-lock file * Update UI * Update imports * Add fetch rate limit to Contentful provider * Small refactor of functions * Update logging
1.6 KiB
1.6 KiB
Contentful
Configuration
Contentful integration requires several configuration tokens. You should enter them in the Apps -> CMS configuration view.
Here is the list of the tokens and instructions on how to obtain them:
baseUrl
: the API URL. For Contentful, it'shttps://api.contentful.com
.token
: the authorization token. For instructions on how to create one for CMS Hub, please go to API keys in the Contentful web app section in the Contentful "Authentication" documentation.environment
: id of the Contentful environment you use. To find it, go to Settings -> Environments in the Contentful dashboard.spaceId
: id of the Contentful space. To find it, go to Settings -> General settings in the Contentful dashboard.contentId
: the id of the content model. To obtain it, go to Content model and to the view of a single product in your Contentful dashboard. Your URL may look something like: "https://app.contentful.com/spaces/xxxx/content_types/product/fields". Then, look to the right side of the screen. You will find a copyable "CONTENT TYPE ID" box there.locale
: the localization code for your content. E.g.:en-US
.apiRequestsPerSecond
: API rate limits (API requests per second). The default is 7. Used in bulk products variants sync. Higher rate limits may speed up a little products variants bulk sync. Higher rate limit may apply depending on different Contentful plan, learn more at https://www.contentful.com/developers/docs/references/content-management-api/#/introduction/api-rate-limits.