Skip to main content

Approve All Match Proposals

POST 

/api/qbo/customers/match-runs/:matchRun/approve-all

Approve every pending proposal in a match run, optionally narrowed to one confidence bucket and/or a search term. This is a bulk shortcut with the same behavior as submitting decisions: each approved proposal is linked immediately (the SKU.io customer ID is written onto the locally synced QuickBooks customer record and the proposal moves to committed).

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Body fields (both optional): bucket limits the approval to one confidence bucket (auto, review, or hidden); search limits it to proposals whose QuickBooks or SKU.io customer matches the term (name, company, or email, max 255 characters). Omit both to approve every pending proposal in the run.

Linking modifies only the local synced copy in SKU.io; it does not modify anything in QuickBooks itself.

Proposals whose QuickBooks customer or SKU.io customer is already linked elsewhere are skipped and marked rejected with a rejection_reason. The response reports how many proposals were committed, rejected, and skipped.

Returns 404 if the run does not exist.

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type