PANTERZONE Developer & API To the user docs DE EN IT
Documentation /APIs & Integrations /Quickstart

Quickstart How-to Open in shop →

Last updated: 2026-10-10

From access token to your first product through the interface in five minutes.

Path: Dashboard › API access

The Commerce API is the interface through which another program talks to your shop: an ERP system, a point of sale, your own script. This page takes five steps from the access key to your first product.

1. Create an access key

In the vendor area under API access, create a new access token, give it a name and tick what it may do. Less is safer: a program that only synchronises stock levels needs no write scope.

The key is shown exactly once. After that it no longer exists in clear text anywhere, not even for the marketplace operator. If you lose it, rotate it (that creates a new one and keeps the old one valid for another 24 hours).

2. Check that the access works

curl -H "Authorization: Bearer ptz_ab12cd34_..." https://<host>/api/v1/auth/whoami

The answer names the owner, the scopes, the state of the rate limit and whether writing is currently possible. This call costs no points and needs no particular scope: it exists precisely to answer the first question before anything else is tried.

3. Read products

curl -H "Authorization: Bearer ptz_ab12cd34_..." \
  "https://<host>/api/v1/products?limit=50&status=active"

Paging works with a cursor, not a page number: the response carries a Link header with rel="next" and also X-Ptz-Page-Info. As long as has_more is true there is another page. Why not page=2: see conventions.

4. Create a product

curl -X POST \
  -H "Authorization: Bearer ptz_ab12cd34_..." \
  -H "Idempotency-Key: 018f2c3d-4e5f-7a8b-9c0d-1e2f3a4b5c6d" \
  -H "Content-Type: application/json" \
  -d '{"title":"Red cable 2m","sku":"BL-42","category_id":17,"price_cents":990,"currency":"EUR","stock":25}' \
  https://<host>/api/v1/products

Two things about this matter:

The price is in cents. 9.90 euro is 990. A decimal number is rejected, not rounded: a price that is silently off by one cent is the most expensive mistake an interface can make.

The Idempotency-Key is required. It is your own value per operation. If the response is lost on the way back, you repeat the same call with the same key and receive the stored answer instead of a second product.

The new product is always a draft. It is not in the shop yet.

5. Publish

curl -X POST -H "Authorization: Bearer ptz_ab12cd34_..." \
  https://<host>/api/v1/products/4711/publish

Publication runs through a server-side content check. If it does not pass, the product stays a draft and the answer says so, instead of reporting a success that was none.

Where the calls are described

Steps 2 to 5 above are calls without a user interface. You look them up in the reference: at the very bottom of /docs/api there is a section on the product-data interface with the base address and a link to each of its pages.

Commerce API section in the reference

Badge 1: The Commerce API v1 section shows the base address and links to every page of this interface.

For each resource, its page starts with the addresses and the scope each one requires. That column is the fastest answer to the question that comes first when creating an access: which rights does the program actually need.

Endpoint table of the products resource

Badge 1: The table shows the method and the scope required for each address.

If the API access entry is missing in the merchant area, the interface is not part of the booked plan. It is hidden not because something failed but because the plan does not include it; the operator unlocks it together with the plan.

Next

More help

This page did not answer your question? The Help Center has more articles, or open a support ticket directly.