Overview
POST /ad-sharing/opt-outs records a consumer’s request not to have their purchases shared with ad
platforms. The endpoint only records opt-outs; it cannot grant permission.
An opt-out takes effect after the API successfully records it and applies to sharing from that point
forward. It does not retract or delete data already delivered to ad platforms. Submit opt-outs
promptly after receiving a consumer request to meet applicable deadlines and because sharing can
continue until the API returns 204.
Recording an opt-out
Identify the consumer by email or by a connection you own. Requests use the same API key authentication as the rest of the Subtotal API. Submitting an email address directly:204 No Content with an empty body.
Request fields
Supply at least one. If you supply both,
connection_id wins and email is ignored.
Responses
Email matching ignores case and surrounding whitespace, so
Shopper@Example.com and
shopper@example.com are treated as the same address.