network_ids and merchant_ids on every request, you attach a pool_id and the API resolves the filters automatically.
How pools work
A pool stores:- Networks — affiliate networks to include
- Merchants — merchants to include in results
pool_id to a supported search endpoint, the pool’s networks and merchants are combined with any explicitly passed filter values — not replaced.
Using a pool in search
Passpool_id as a top-level parameter to any of these endpoints:
pool_-prefixed object_id form returns 422. Only one pool_id may be passed per request. Returns 422 if the id is prefixed, the pool does not exist, or it belongs to another team.
Using a pool with GET /v1/merchants
pool_id behaves differently here than on products/omni/promotions — it’s a hard scope rather than a filter merge, and it also decides whose credentials build providers[] links. Requires extended=1.
cURL