Skip to main content

Approve Push Batch

POST 

/api/content-sync/push-batches/:batch/approve

Approve a large change waiting for approval: every row is sent now.

Required scope: products:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

A large change is one edit that would update more channel products than the connection's push_batch_threshold at once. Its rows wait as one decision. It carries id, integration_instance_id, channel_name, field, field_label, reason, target_count (channel products it would update), status (awaiting_approval, approved, cancelled, done), examples (up to 5 rows of {sku, name, from, to}: the channel's current value and SKU.io's) and created_at.

Path parameters:

  • batch (integer, required) — the large change id.

A change already decided, or one on a connection whose automatic updates are off, is rejected with a 422; an unknown id returns 404.

Requires integrations.manage_content_sync. Authentication: Requires Bearer token. Scope: products:write.

Request​

Responses​

OK

Response Headers
    Content-Type