Delete a Price Book by ID
DELETE/pcm/pricebooks/:pricebookID
Deletes the specified price book and all prices in the price book. It does not delete the products. In addition, pricing details in the orders referring to the deleted price book are not deleted.
Request
Path Parameters
pricebookID stringrequired
The unique identifier of a price book.
Responses
- 204
- default
A 204 response indicates that the price book has been deleted.
Unexpected error.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
errors object[]
detail string
status string
title string
{
"errors": [
{
"detail": "The price book already exists",
"status": "409",
"title": "conflict"
}
]
}
Loading...