About Centra
Centra serves both wholesale and direct-to-consumer sales, enabling brands to handle all channels from one platform — both wholesale B2B and direct-to-consumer B2C. Read more at centra.com.Introduction
This is a template project for building a formatter that sends data from an Occtoo destination to Centra.How it works
The solution consists of the functions shown below.
- Orchestrator — runs every two minutes and, depending on the state of the finite-state machine, calls the Occtoo API and fills the queue.
- ProcessProductMasterFromQueue (queue trigger) — loads the flattened SKU list for a specific product master, creates the product hierarchy required by the import process, and imports the product (variants and SKUs) into the Centra database.