Skip to main content

Quickstart

Create a developer application, choose narrow scopes, and make a working API call.

Create a developer application

Create an application in the Vantr developer portal and copy the client ID and client secret when they are shown.
Store the client secret in a server-side secret manager. Do not put it in browsers, mobile apps, logs, or query strings.

Choose starter scopes

Use read scopes for the first integration smoke test.
Add write scopes such as products.write, categories.write, or vendors.write only when your integration needs to create or change records.

Set local environment variables

Keep credentials outside source control and load them through your normal secret manager or shell.
.env.example

Call the locations endpoint

Locations are a good first call because they prove authentication, tenant binding, and JSON response handling without changing data.

Expected response

Your exact location data depends on the tenant, but the response shape should look like this.
Response
When you can list locations, your credentials, allowed scopes, tenant binding, and network path are working.

Move to the resource you need

Products

Read or manage product and variation records.

Categories

Read category lists and hierarchy.

Vendors

Read or manage vendor profiles.

Generate a client

Use the spec served from this docs site.
Keep generated clients in your own repository and regenerate them when the OpenAPI spec changes.