Re-check Broken Product Images
POST/api/product-images/recheck-broken
Queue a server-side re-check of product images that failed to load on the client, so an image that broke after the last image health check is recorded as broken. An image is recorded as broken (resolvable false, image_checked_at set) only when it has no URL, its stored file is missing, or its remote URL answers HTTP 404/410 twice in a row. Inconclusive answers (blocked, throttled, server errors, timeouts) change nothing, and after two inconclusive answers in a row from one host the rest of that host's images in the same batch are skipped.
products:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Ids that do not exist or are already confirmed broken are skipped, and each image is queued at most once per hour; an image inside that window is accepted but not queued. The re-check runs in the background, so the response only reports how many images were queued.
Authentication: Requires Bearer token. Rate limit: 60 requests per minute for this endpoint.
Request body:
image_ids(array<int>, required) — 1–100 product_image ids (positive integers).
Returns 422 if image_ids is empty, exceeds 100, or contains a value that is not a positive integer. Returns 429 when the rate limit is exceeded.
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Unprocessable Content
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.