Delete Price Book Entries
DELETE https://api.secure.quotivity.com/v1/pricebooks/{priceBookId}/pricesDeletes 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.
Path parameters
Section titled “Path parameters”| Name | Type | Required | Description |
|---|---|---|---|
priceBookId |
string | Yes | — |
Request body
Section titled “Request body”Required, application/json: string[]
Responses
Section titled “Responses”| 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 |
Schemas
Section titled “Schemas”HubSpotRateLimitResponse
Section titled “HubSpotRateLimitResponse”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:
10Ask the help center
Answers come from these guides, with links to the articles used.
Ask anything about configuring quoting in Quotivity Studio.