prequalifications
Vendors module · 6 operations
List prequalification rows
GET/prequalifications
A vendor prequalification. Returns a cursor page of prequalification rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.
Create a prequalification
POST/prequalifications
A vendor prequalification. Creates a prequalification. Requires `Idempotency-Key`; a replay returns the original response. The organization is derived from the credential or the parent row, never from the body.
Get a prequalification
GET/prequalifications/{id}
A vendor prequalification. Returns one prequalification with its `ETag`. A prequalification the caller may not see returns 404.
Update a prequalification
PATCH/prequalifications/{id}
A vendor prequalification. Updates the fields sent; omitted fields are unchanged. Requires `If-Match` with the current `ETag`: a stale tag returns 412 and a missing tag returns 428.
Delete a prequalification
DELETE/prequalifications/{id}
A vendor prequalification. Soft-deletes the prequalification: it moves to Trash and can be restored for its table's retention period.
Decide a prequalification
POST/prequalifications/{id}/decide
Approves or rejects a pending prequalification through app.decide_prequalification: vendors.prequalification.approve, never by the requester, final once decided. A refusal returns 422 and names the rule. Requires `Idempotency-Key`; a replay returns the original response. A rule that refuses the request returns 422 with `refusal` and `reason`.