Salesforce Products#
A local copy of the Salesforce product catalog (prices, product lines, locations).Concepts#
Products are matched by producto (product line) when filtering.
Broken handlers: create and delete handlers still use Mongoose's callback API, removed in Mongoose 7. Every create crashes the API process; every delete fails with HTTP 500. Lists and updates work. See each endpoint.
Errors of updates are reported with HTTP 200 and an error body.
Endpoints#
GET /v1/infra/salesforce-productGET /v1/infra/salesforce-product/{family_name}Products of one product line.POST /v1/infra/salesforce-productCreates a product (crashes).PATCH /v1/infra/salesforce-product/{id}DELETE /v1/infra/salesforce-product/{id}Deletes a product (broken).Source#
Router: routes/v1/infra.js
Controller: controllers/infra.js
Model: models/infra.js (SalesforceProduct)
Modified at 2026-10-05 23:29:00