API reference
Every endpoint of the Comecero REST API, with its fields, token rules, status codes, request and response examples, and a panel to try each call.
Commerce and usage billing setup requests go to https://api.comecero.com/api/v1 over HTTPS, with a token in the Authorization header:
curl https://api.comecero.com/api/v1/products \
-H "Authorization: Bearer $COMECERO_TOKEN"- Test or live is set by the token. A test token only sees test data.
- Tokens: secret (your server), trusted and limited (the browser). See Authentication.
- Errors come back as JSON with a
type, amessageand a shortreferencecode. See Error handling. - Lists are usually paged. Each endpoint states its limits. See Lists and pagination.
- Webhooks are listed on the Webhooks page, with how to check each delivery's signature.
The feature access check uses GET https://usage.comecero.com/v1/entitlements with a usage key. Feature setup needs the entitlements switch enabled for your shop by Comecero staff.
The license activation API uses https://usage.comecero.com with no token. The customer's key and public account id are its credentials.
The whole API is also one file you can import into Postman, Insomnia or a code generator: openapi.json.