Every Synq API request requires three pieces of identifying information: a Bearer token, a Tenant ID, and an Org ID. Your Tenant ID and Org ID are provided when your account is provisioned. Keep them handy before you begin.
Get your API token
Sign in to the Synq Dashboard with your account credentials. Once signed in, open your account settings and copy your API token — this is the Bearer token you’ll include on every API request.Tokens are short-lived, so retrieve a fresh one each time you start a new session. See the Authentication guide for details on token expiry and how to refresh automatically.
Set your credentials as environment variables
Export your credentials as shell variables so you can reuse them in the examples below:Your Tenant ID and Org ID are displayed in your account settings in the Synq Dashboard.
Make your first API call — list products
Send a A successful response returns an array of product objects. Here’s an example:
GET request to the products endpoint. Include your token and the two required tenant headers:Explore further
You’re connected. From here you can:
- Create a product —
POST /api/v1/pim/products - Fetch a single product —
GET /api/v1/pim/products/{id} - Check inventory levels —
GET /api/v1/inventory - Place an order —
POST /api/v1/oms/orders