m2pfintech
API LibraryInventory Management

Expire Insta Kits

Expires unassigned insta-kits that have not been allocated to any customer. This is used for inventory cleanup when insta-card kits that were pre-generated are no longer needed. Either the kitNo or parentKitNo can be provided to identify the kit or kits to expire.

POST
/inventory/instaKit/expire

Authorization

tenantAuth
tenant<token>

The DCMS tenant name for multi-tenant isolation. Every API call must include this header to identify the client organization.

In: header

Header Parameters

tenant*string

The DCMS client or tenant name for multi-tenant isolation.

Request Body

application/json

kitNo?string

Individual kit number to expire.

parentKitNo?string

Parent kit number to expire all child kits under it.

Response Body

application/json

curl -X POST "https://api.dcms.example.com/v1/inventory/instaKit/expire" \  -H "tenant: ACME_BANK" \  -H "Content-Type: application/json" \  -d '{    "kitNo": "10729390",    "parentKitNo": "5902018347"  }'
{
  "result": "SUCCESS",
  "exception": null,
  "pagination": null
}