send_message
Submit a shopper message in an active negotiation and get the merchant's reply, a closed flag, and the next URL for continuing the conversation.
Instructions
Send one shopper turn in an active negotiation.
Take the 'next' URL from the previous response (returned by start_negotiation or the previous send_message call), substitute your URL-encoded shopper message, and fetch.
Args: next_url: The 'next' URL from the previous response. Should contain a {url_encoded_message} placeholder. message: Your shopper turn, plain text. Will be URL-encoded.
Returns: Dict with the merchant's reply, a 'closed' flag, and the next URL for the following turn (or null if the negotiation is closed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next_url | Yes | ||
| message | Yes |