API Search endpoints…⌘K

Activate a Loan Product (V2)

POST/lokta-lms/api/v2/loanproducts/{productId}/activate

Releases the product for use.

A product created through the V2 contract starts as DRAFT: it cannot originate loans whatever its start and close dates say, and it appears in no product selection list. Activating it releases it, after which start_date and close_date govern origination in the usual way.

One-way: there is no transition back to DRAFT — withdrawing a live product from lending is a past close_date. Idempotent: activating an already-active product succeeds and reports no change. Products created through the V1 contract have no activation status and are rejected here — they were never under this lifecycle.

Takes no request body.

Path parameters

productIdpath · integer · int64 · required

productId

Responses

200OK

Response fields

changesPutLoanChanges · optional
resourceIdinteger · int64 · optional

Every request authenticates with HTTP Basic and carries a Tenant-Identifier header. See the conventions for dates, commands, pagination and errors. Open this operation in the interactive explorer, or read it as Markdown.