Skip to main content
POST
https://backend.anglera.com
/
products
/
price-report
/
refresh
Refresh Price Report
curl --request POST \
  --url https://backend.anglera.com/products/price-report/refresh \
  --header 'Content-Type: application/json' \
  --header 'X-Anglera-API-Key: <api-key>' \
  --data '
{
  "product_id": 123,
  "product_ids": [
    {}
  ]
}
'
{
  "message": "<string>",
  "products": [
    {
      "id": 123,
      "name": "<string>",
      "sku": "<string>"
    }
  ]
}
Refreshes price reports for one or more existing products.

Request

curl -X POST "https://backend.anglera.com/products/price-report/refresh" \
  -H "X-Anglera-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "product_id": 4727220
  }'

Body Parameters

Either product_id or product_ids is required.
product_id
number
Single product ID to refresh
product_ids
array
Array of product IDs to refresh

Response

message
string
Summary of the operation
products
array
List of products queued for refresh
Example Response
{
  "message": "Queued 3 product(s) for price report refresh",
  "products": [
    {
      "id": 4727220,
      "name": "Bosch 18V Brushless Brad Nailer Kit",
      "sku": "GNH18V-18MB12-RT"
    },
    {
      "id": 4727221,
      "name": "DeWalt 20V Impact Driver",
      "sku": "DCF887B"
    }
  ]
}