Skip to main content
POST
https://backend.anglera.com
/
products
/
validate
Trigger Validation
curl --request POST \
  --url https://backend.anglera.com/products/validate \
  --header 'Content-Type: application/json' \
  --header 'X-Anglera-API-Key: <api-key>' \
  --data '
{
  "product_id": 123
}
'
{
  "message": "<string>",
  "data": {
    "product_id": 123,
    "sheet_id": "<string>",
    "status": "<string>"
  }
}
Queues a product for validation using rules defined on the sheet.

Request

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

Body Parameters

product_id
number
required
ID of the product to validate

Response

message
string
Success message
data
object
Validation queue details
Example Response
{
  "message": "Product queued for validation",
  "data": {
    "product_id": 8231,
    "sheet_id": "100",
    "status": "QUEUED"
  }
}

Errors

Status CodeDescription
400Missing product_id
401Invalid API key
404Product or validation rules not found
500Internal server error