---
title: "Delete price by priceId"
method: DELETE
path: "/api-offers/price/{priceId}/priceList/{priceListId}"
tags: ["Pricing"]
---

# Delete price by priceId

`DELETE /api-offers/price/{priceId}/priceList/{priceListId}`

## Request

- Base URL: `https://live.copilot.fabric.inc`
- URL: `https://live.copilot.fabric.inc/api-offers/price/{priceId}/priceList/{priceListId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/fabric/apis/offers-v2/docs/api-offers/price/:priceId/priceList/:priceListId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a price based on priceListID, and priceId or itemSku or itemId.

## Path parameters

- `priceId` string, required
- `priceListId` number, required

## Query parameters

- `type` 'itemSku' | 'itemId' | '_id'

## Headers

- `x-site-context` string, required

## Response `200`

OK

- DeletePricebyIdResponse
  - `_id` string: fabric internal unique ID
  - `isSoftDeleted` boolean: true: Price is deleted<br /> false: Price is not deleted
  - `itemId` number: Item ID
  - `itemSku` string: Item SKU
  - `offerId` number: ID of the created offer for the itemId or itemSku
  - `createdAt` string, date-time: Creation date of the record
  - `updatedAt` string, date-time: Last update date of the record
  - `job` boolean: true: Job is running either to create, update, or delete the record<br /> false: Job is either completed or not running for some reason
  - `priceListId` number: Price list ID that contains the updated or created price
  - `offers` object[]

## Other responses

- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/fabric/apis/offers-v2.md) - [All operations](https://skmtc.dev/fabric/apis/offers-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/fabric/apis/offers-v2/revisions/da2bd742b9bc?raw)
