---
title: "Resolve a temporary lot by swapping its references to a real lot (existing or inline-created). Auto-completes the follow-up WorkTask."
method: POST
path: "/api/vaccine-administration/lots/{tempLotId}/resolve"
tags: ["VaccineAdministration"]
---

# Resolve a temporary lot by swapping its references to a real lot (existing or inline-created). Auto-completes the follow-up WorkTask.

`POST /api/vaccine-administration/lots/{tempLotId}/resolve`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/api/vaccine-administration/lots/{tempLotId}/resolve`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/api/vaccine-administration/lots/:tempLotId/resolve/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `tempLotId` string, required

## Request body

- ResolveTempLotRequest
  - `lotId` string, nullable: Existing real lot id if the clinician picks one. Mutually exclusive with InlineLotPayload? ResolveTempLotRequest.InlineLot.
  - `inlineLot` InlineLotPayload
    - `lotNumber` string, required
    - `manufacturer` string, required
    - `expirationDate` string, date-time, required
    - `manufacturedDate` string, date-time, nullable
    - `unitCost` union
      - number, double
      - string, double

## Response `200`

OK

- ResolveTempLotResult
  - `tempLotId` string, required
  - `resolvedByLotId` string, required
  - `vaccinationRecordsUpdated` union, required
    - integer
    - string, int32
  - `transactionsUpdated` union, required
    - integer
    - string, int32
  - `workTaskId` string, nullable

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
