Skip to main content

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. Data flow of the Centra formatter
  • 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.
To get the destination details required by the template, see Create a destination and Register an application.

Download and installation

Request the latest code from developer@occtoo.com, then build and deploy it to your Azure instance.