Skip to content
CatalogPrice History

List price history

Returns how a product's price changed over time, with the date of each change.

Query Parameters

limit?integer

Maximum number of results to return.

Formatint32
cursor?string

Cursor from the previous response. Omit it on the first page.

search?string

Free-text search.

sortBy?string

Field to sort by.

sortDirection?string

Sort direction: asc or desc.

Value in

  • "asc"
  • "desc"
productId?string

Identifier of the product.

variantId?string

Identifier of the variant.

reason?string

Only entries with this reason.

Value in

  • "initial"
  • "manualUpdate"
  • "bulkEdit"
  • "promotionStart"
  • "promotionEnd"
  • "costAdjustment"
  • "import"
fromDate?string

Start of the date range, inclusive.

Formatdate-time
toDate?string

End of the date range, inclusive.

Formatdate-time

Header Parameters

x-Store-Id?string

Store the request acts on. Not needed when the token is bound to a store.

Authorization*string

OAuth 2.0 bearer token.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.ecomiq.pe/api/v1/catalog/price-history" \  -H "x-Store-Id: <store-id>" \  -H "Authorization: Bearer <token>"
{  "data": [    {      "id": "7204558912004328428",      "productId": "7204558912004322039",      "productName": "Mi tienda",      "variantName": "Mi tienda",      "sku": "POL-001-AZ-M",      "variantId": "7204558912004323197",      "newPrice": 89,      "reason": "Reposición de stock.",      "timestamp": "2026-09-28T15:30:00Z"    }  ],  "hasNextPage": true,  "nextCursor": "eyJpZCI6IjcyMDQ1NTg5MTIwMDQzMjUzMDEifQ",  "totalCount": 24}