Choose the right upload
The Matching endpoint accepts one UTF-8 CSV. The header decides how it is processed:
item_idis present: the file is treated as already matched and published against your catalog.item_idis absent: Price Radar matches the raw competitor export to your catalog before publication.- A raw file must also omit the link columns
external_match_id,match_relation,match_method, andmatch_confidence. A file containing any of those columns withoutitem_idis refused.
matched-snapshots name covers both file kinds; there is no separate raw-upload endpoint or upload-type parameter. Use the same export format you would upload on the Competitor matching page. The CSV header must fit within 64 KiB.
Upload a file
curl set the multipart Content-Type and boundary.
For partial coverage, prices belonging to competitors outside
covered_competitors remain in place. A partial delivery with no covered competitors adds what it carries and retires nothing. For full coverage, the file declares the whole set and may retire matches it omits; covered_competitors does not narrow that declaration.
A successful upload returns 202 Accepted and a job handle:
Follow publication
Poll the dedicated Matching progress endpoint with the same API key:/v1/jobs/{job_id} endpoint.
status is queued, running, cancelling, completed, failed, or cancelled. The last three are terminal. Poll every 5–10 seconds while running and every 30–60 seconds while queued; polling draws on the organization’s shared usage budget.
Within
result_summary, accepted is the accepted row count, rejected is the total refused row count, and sent is the total processed row count. Inspect these counts even when status is completed: a published file can contain refused rows.
row_errors contains a sample of at most 200 refusals, each with line, code, message, and item_id. The item ID can be empty, for example when a raw row has no catalog match. This is not a full reject report. The sample can be shorter than rejected, or empty if refusal details could not be retrieved; use rejected for the total.
Reconcile reviewer decisions before uploading
Read current matches and review decisions before preparing a subsequent delivery. This organization-wide read includesneeds_review, auto, approved and rejected pairs, including manual additions and rematches.
For example, read the rejected pairs for one competitor with the same API key:
next_cursor and process each page. Exclude the rejected rg_item_id/competitor_product_id pairs from your proposed links; a rejection applies to that pair, not every link to the listing. Read without status to retain corrected and manually added links too. Use review.status as the current classification and the decision fields for attribution and timing.
Start a fresh traversal before the next reconciliation. Pages are live, so changes behind a cursor require a new traversal; this read is not a historical export or a change feed. Match-review rejections are distinct from the CSV row refusals reported by an upload job.
Handle conflicts and failures
CSV validation and upstream publication failures can happen after
202; they appear as a terminal failed job. Check error_message and available row refusals, correct the input or wait for a temporary service problem to clear, then submit a new upload.
Publication and progress are shared by the organization. Another API-key caller in the same organization can follow the job; a caller in another organization cannot. Only one matching delivery runs at a time across API and in-app uploads.

