PANTERZONE Developer & API To the user docs DE EN IT
Documentation /APIs & Integrations /Authentication and scopes

Authentication and scopes How-to Open in shop →

Last updated: 2026-10-10

How an access key comes about, what it may do and how it is rotated or revoked.

Path: Dashboard › API access

This procedure belongs to the module "Vendor Legal Texts". It is currently switched on.

The key

Every call carries the access key in the header:

Authorization: Bearer ptz_ab12cd34_<secret>

The key belongs only in the header, never in the address. A key in the address ends up in every access log, every proxy cache and every history list; the convenience would not be worth the leak.

The visible part after ptz_ is the prefix. It is not a partial secret but a means of recognition: in a list of twelve access tokens you must be able to say which one sits in which program without looking it up anywhere. It also helps to find an accidentally published key in somebody else logs.

What is stored

Of the key itself, only a SHA-256 hash. The clear text exists exactly once, in the response that issues it. A database dump therefore yields no usable access, and not even the marketplace operator can look it up.

Scopes

  • read_products reads products, variants, images and translations.
  • write_products creates and changes. It includes reading automatically, because anyone who writes has to read first (conflict checks, synchronisation); a token without read access would have to write blindly.
  • read_categories reads the category tree.
  • pdh_push allows shared use of the existing product data inbound endpoint.
  • manage_tokens manages access tokens through the interface. It is deliberately not self-grantable: a token that may issue new tokens defeats every limit its owner gave themselves. The normal way therefore leads through the screen in the vendor area, where the session carries the identity.

The complete list, including scopes of later phases, is served by GET /api/v1/auth/scopes.

You issue an access token in the seller area under API access.

Form for a new access token with name, the four scopes, expiry date and the Create access token button

Badge 1: Name is what lets you recognise the access token later.

Badge 2: read_products reads products, variants and images.

Badge 3: write_products includes reading and allows write access.

Badge 4: read_categories reads the category tree.

Badge 5: pdh_push allows using the existing product data intake.

Badge 6: Expires on (optional) limits the access token in time; left empty it does not expire.

Badge 7: Create access token issues the key; you see the plain text only this once.

Badge 8: Your access tokens lists your access tokens, where you rotate and revoke them.

When something does not work

401 simply means: no valid access. The error does not distinguish whether the key was missing, wrong, revoked or expired, and all four cases take the same time. That is deliberate: from finer answers one could otherwise deduce which prefixes exist.

403 means: the access is valid but does not carry the required scope, or the plan of this account does not include the interface. The error code in the body distinguishes the two cases (forbidden versus plan_gate_blocked).

404 is also what you get for an object that exists but belongs to another account. A 403 here would confirm that the number exists.

Rotating and revoking

Rotating creates a new key with the same scopes and keeps the previous one valid for another 24 hours. It is the only way to exchange an access token without your program having a gap between two deployments.

Revoking takes effect immediately. The row stays as a record; the access is invalid from the next call onwards.

Both are available in the vendor area and, with manage_tokens, through the interface as well.

More help

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