Skip to content

Delete Price Book Entries

DELETE https://api.secure.quotivity.com/v1/pricebooks/{priceBookId}/prices

Deletes multiple product prices from a price book. The entries are deleted before HubSpot price-book membership is synchronized asynchronously, so membership is eventually consistent. Combine product IDs into larger requests and keep parallel requests in the low single digits. If a HubSpot-dependent request returns 429, wait at least retryAfterSeconds before retrying.

Send your API key in the x-api-key header. See Generating API keys.

Name Type Required Description
priceBookId string Yes —

Required, application/json: string[]

Status Body Description
204 — Prices deleted successfully
401 — Unauthorized
404 — Price book not found
429 HubSpotRateLimitResponse HubSpot account cooldown is active. Wait at least retryAfterSeconds before retrying.
500 — Internal Server Error

Returned when a request that depends on HubSpot is blocked by an account cooldown. Wait at least retryAfterSeconds before retrying, use low single-digit concurrency, and combine product changes into larger requests.

Field Type Required Description
message string Yes —
code HUBSPOT_RATE_LIMIT Yes —
retryAfterSeconds integer No —

Example message:

"HubSpot API rate limit reached. Please wait a few seconds and try again."

Example retryAfterSeconds:

10