comecerodocs

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.

All requests go to https://api.comecero.com/api/v1 over HTTPS, with a token in the Authorization header:

Request
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, a message and a short reference code. See Error handling.
  • Lists are paged. See Lists and pagination.
  • Webhooks are listed on the Webhooks page, with how to check each delivery's signature.

The whole API is also one file you can import into Postman, Insomnia or a code generator: openapi.json.