Product Catalog sync through API
This page will describe how you can use our GraphQL API to synchronize product catalog AI Knowledge with your systems, with the aim to use this knowledge in your generative AI bots.
Introduction
Step 1: Recommended: Configure a product id custom data
Step 2: Create a new KnowledgeSource
mutation KnowledgeSourceCreate(
$knowledgeSourceCreateInput: KnowledgeSourceCreateInput!
) {
knowledgeSourceCreate(knowledgeSourceCreateInput: $knowledgeSourceCreateInput) {
knowledgeSource {
id
name
}
}
}
{
"knowledgeSourceCreateInput": {
"details": {
"productApiSync": {
"customDataName": "<custom data name>"
}
},
"name": "<name>",
"projectId": <project id>
}
}Step3: Synchronize your products with us
Create or update a product with upsert
Partially update products (patch)
Value passed in the query for one field
Effect on the product's field on iAdvize's side
Delete a product
Last updated