Shop Commander · Developers

External References

Attach your own ids to Shop Commander records and look records up by them — private to your integration.

Most integrations already have an id for the customer, vehicle, or work order on their side. Rather than keeping a mapping table, attach it to the record:

curl -X PUT https://api.shopcommander.com/v1/vehicles/veh_…/external-id \
  -H "Authorization: Bearer $SC_API_KEY" -H "Content-Type: application/json" \
  -d '{"external_id":"FLEET-UNIT-0417"}'

Then:

Requires the external_refs.write scope. PUT …/external-id is available on customers, vehicles, repair orders, and tasks; DELETE …/external-id removes the reference.

Rules

Pattern: upsert by external id

GET /v1/customers?external_id=CRM-88213
  → found: PATCH it (with expected_version)
  → empty:  POST /v1/customers (Idempotency-Key: CRM-88213), then PUT …/external-id

The idempotency key makes the create safe to retry, and the reference makes every later sync a lookup rather than a search.