Archive Pharmacy Location
Archive (soft-delete) a pharmacy location to remove it from active operations.
Overview
- Method: POST
- Path:
/pharmacy/location/archive-location/<locationId> - Tags: pharmacy
Parameters
locationId (path)
- Type:
string - Required: Yes
- Description: locationId parameter
Request Body
No request body required.
Responses
200
Successful response
Content Type: application/json
{
"message": "string",
"locationId": "string",
"archived_at": "string"
}400
Bad Request
Content Type: application/json
{}401
Unauthorized
404
Not Found
500
Internal Server Error
Example Usage
curl -X POST \
https://api.pillexa.com/pharmacy/location/archive-location/<locationId> \
-H "Content-Type: application/json" \