buy_connect_status
Check the status of a hosted merchant login started with buy_connect. Returns linking (still in progress — call again in a few seconds), linked (success — the merchant is ready to shop), expired, or error. Pass the merchant and the pending_id from buy_connect. ONLY for logins started by the buy_connect tool: a login link handed out by the conversational buy tool has no pending_id — for those, reply to the same buy conversation ("done — I logged in") instead of calling this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merchant | Yes | merchant slug (e.g. doordash) | |
| pending_id | Yes | The pending_id returned by buy_connect. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Connect state: 'linking', 'linked', 'expired', or 'error'. | |
| message | Yes | Human-readable status / next step. | |
| merchant | No | The merchant slug, present when linked. | |
| cart_carried_over | No | True when a cart built anonymously before linking was moved onto the linked account — re-show it (buy_view_cart) and re-confirm the total before checkout. |