apply-policies
Set eBay business policies (payment, return, shipping) across many listings at once.
Name only the policy kinds you want changed — one you leave out stays as it is on each listing. Policy IDs come from get-seller-policies and are checked against the channel before anything is queued: eBay rejects a bad policy per listing, so an unchecked ID across a large selection produces thousands of individual failures instead of one error.
This revises live listings. Pass dryRun: true to see the scope first, and confirmCount is required with selectAll. Follow progress with get-action. Authenticated via bearer token.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sellerId": "<sellerId>"
},
"name": "apply-policies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Report the scope and queue nothing | |
| filters | No | Filter tree used when selectAll is true | |
| sellerId | Yes | Seller whose policies these are; see get-sellers | |
| selectAll | No | Revise every listing matching filters instead | |
| listingIds | No | Listings to revise; see get-product-listings | |
| confirmCount | No | Listings you last counted for this selection. Required with selectAll; the run is refused if the filters no longer match exactly this many. | |
| returnPolicyId | No | Return policy to apply; omit to leave it unchanged | |
| paymentPolicyId | No | Payment policy to apply; omit to leave it unchanged | |
| shippingPolicyId | No | Shipping policy to apply; omit to leave it unchanged |