Delete marketplace listing
Marketplace Listings
Delete marketplace listing
Cancels (soft-deletes) a marketplace listing. Listing must be in Pending status.
Validation Rules
| Field | Required | Type | Rules |
|---|---|---|---|
| id (route) | Yes | Guid | Must not be empty. Listing must exist and be in Pending status |
| CurrentPharmacyNpi | Yes | long | Must be a valid NPI. Must be the selling pharmacy that created the listing |
| CancellationMessage | No | string | Reason for cancellation |
DELETE
Delete marketplace listing
Authorizations
Custom API Key authentication. Default header: X-INVIEW-AUTH.
Path Parameters
The unique identifier of the marketplace listing to cancel.
Body
The request model containing the pharmacy NPI and optional cancellation message.