# 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.

## Parameters
- `productId` (path, integer, required): productId

## Responses
- `200`: OK

## Response fields
- `changes` (PutLoanChanges)
- `resourceId` (integer)

## Example request (cURL)
```bash
curl -X POST \
  'http://localhost:8080/lokta-lms/api/v2/loanproducts/{productId}/activate' \
  -u '{username}:{password}' \
  -H 'Tenant-Identifier: default'
```

## Example response
```json
{}
```

Interactive: https://developer.lokta.ai/reference.html#operation/activateLoanProductV2
