Handle offers
Needs the Crossly MCP server (see crossly-setup). Accepting an offer sells the item at that price and is usually irreversible, so every response needs the seller's explicit approval.
1. Collect open offers
- Storefront offers:
list_crossly_offerswith status pending. One offer can cover several listings (a bundle). - Marketplace offers:
list_conversationsfiltered to threads that need a reply, thenget_conversationfor the ones carrying an offer.
2. Price-check each offer
For each offer, get the listing (get_listing) and its floor with get_offer_floor (listing id and platform). The
floor is the lowest price the seller can take after fees and break-even. Show one line per offer:
item, marketplace, listed price, offer, percent off, floor, expires.
3. Suggest
- At or near the asking price, or comfortably above the floor: suggest accept.
- Below the asking price but above the floor: suggest a counter between the offer and the asking price, with the number.
- Below the floor: suggest decline, or a counter at the floor.
Apply the seller's own rules if they gave any (for example "never below 80%"), and give the reason for each suggestion.
4. Send what the seller approves
Wait for approval per offer, or an explicit "do all of them as suggested". Then:
- Storefront offer:
respond_to_crossly_offerwith accept, counter (with the counter price) or decline. - Marketplace conversation offer:
respond_to_offerwith the conversation id and accept, counter (withcounterAmount) or decline.
Marketplace responses run as background jobs. Report what was sent, what failed and why, and offer to retry a failure.
To automate future offers, the seller can set offer rules in Crossly (list_offer_rules shows the current ones).
