Catalogs

Exclude price records from price history

Changed on

[!note] Management API endpoints are not meant to be used in real-time integrations that directly serve your end users. Rate limit: 3 requests per second.

Select a batch of price records (historical price data) to exclude from best prior price calculation.

All IDs in the batch must be valid id values obtained from the Get summary of price history endpoint, must belong to the specified Application, must not already be excluded from best prior price calculation, and must not be associated with a scheduled strikethrough pricing notification.

For more information, see Best prior price.

post/v1/applications/{applicationId}/price_history/exclusions

Request

Path parameters

applicationIdinteger required

The ID of the Application. It is displayed in your Talon.One deployment URL.

Request body

idsinteger[] required

A list of price record IDs to exclude from best prior price calculation. Must contain between 1 and 1000 IDs. All IDs must be valid id values obtained from the Get summary of price history endpoint, must belong to the specified Application, and must not already be excluded from best prior price calculation.

reasonstring required

The reason for excluding these IDs. Applies to all IDs in the batch.

Example request

{
  "reason": "Incorrect contextID value."
}

Response

Ok

Changes