Skip to main content
Disconnects a merchant, dropping the saved session and link. The user must re-link (for example via hosted connect) before shopping it again.

Parameters

ParameterTypeRequiredDescription
merchantstringYesThe merchant slug to unlink.

Returns

Confirmation that the merchant was unlinked, or a note that it was not linked in the first place. Structured content includes status (unlinked, not_linked, or error) and the merchant slug. Failures return a short error message.

Example

{ "name": "buy_unlink_merchant", "arguments": { "merchant": "doordash" } }