Loading…
Loading…
Issued only after partnership approval. This API is read-only and does not expose admin or write access.
Header: Authorization: Bearer rtpdk_…
Create a key (server / secure machine with DATABASE_URL):
npm run dealer:create-key -- "Partner legal name" npm run dealer:create-key -- "Partner" --categories <categoryId1>,<categoryId2>
GET https://rocktearrparts.com/api/v1/dealer/catalog
Query: limit (default 500, max 2000), offset (pagination).
Response: JSON with meta (counts, dealer label) and products array—SKU, slug, name, OEM, machines, stock, MOQ, lead time, list price (if set), image URL, PDP URL, dimensions, HSN, and technicalSpecs.
If the key was created with --categories, only products in those internal category IDs are returned. Otherwise all active catalogue rows are included.