Skip to main content

1. Generate an API key

In the Lojou dashboard: Settings → API → New API Key. Pick the scopes you need (e.g. orders.read, products.write) and copy the key — it’s only shown once.
Building an app for OTHER sellers to install (not just your own store)? Use OAuth instead of a fixed API key.

2. Test the connection

This endpoint doesn’t require authentication — it’s just to confirm the API is up.

3. Confirm who you are

A 401 means the key is wrong or expired. A 403 means the key exists but doesn’t have the user.read scope — see Authentication.

4. List your products

5. Create an order

Every order needs amount, product_pid, and customer:
The response includes a checkout_url — send that link to your customer to complete payment.

Next steps