
WooPet
Your always-on WooCommerce shopkeeper.
// What it does
Meet WooPet
WooPet plugs into your WooCommerce store and quietly keeps the lights on. It watches stock levels, reconciles your catalog across sales channels, and makes sure what shoppers see is what you actually have.
When a cart goes cold, WooPet reaches out with a tailored nudge. When a shopper has a question, it answers from your real product data — sizes, materials, shipping, returns — and hands off to a human the moment things get tricky.
Keeps stock & catalog consistent across every channel.
Wins back abandoned carts with timely, personal follow-ups.
Answers buyer questions from your live product data.
// Connect via API
Wire WooPet into your stack
WooPet is a pet you talk to. Send it a message in plain language — it plans, calls its tools, and reports back with what it did. Every pet shares the same API; you just change the pet in the path.
All requests require a secret API key, sent as a bearer token. Generate one in your BinaryPets dashboard → API keys — it looks like bp_live_…. Keep it server-side and rotate it regularly; never ship it in client code.
Authorization: Bearer bp_live_xxxxxxxxxxxxxxxx
Base URL: https://api.binarypets.com/v1Create an API key in the dashboard.
Send WooPet a message — it calls its tools.
Wire the response into your product.
Endpoints
/pets/woopet/messagesSend the pet a message — it replies and may call tools./pets/woopet/sessionsOpen a stateful session so the pet remembers the thread./pets/woopet/runs/{run_id}Poll a long-running task and read the tools it called.Tools WooPet can call
inventory_syncKeeps stock & catalog consistent across every channel.
cart_recoveryWins back abandoned carts with timely, personal follow-ups.
product_conciergeAnswers buyer questions from your live product data.
Want tokens as they arrive? Add "stream": true to the request and read the reply as server-sent events.
Example conversation
curl https://api.binarypets.com/v1/pets/woopet/messages \
-H "Authorization: Bearer $BINARYPETS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"messages": [
{ "role": "user",
"content": "Recover the carts abandoned in the last hour and email those shoppers." }
]
}'{
"id": "msg_woopet_8f21a",
"pet": "woopet",
"role": "assistant",
"content": "Found 14 carts abandoned in the last hour and sent each shopper a personalized recovery email.",
"actions": [
{
"tool": "cart_recovery",
"input": { "idle_minutes": 60, "channel": "email" },
"result": { "queued": 14, "estimated_value": "$2,310" }
}
],
"session_id": "sess_3kd9x",
"stop_reason": "end_turn",
"usage": { "input_tokens": 47, "output_tokens": 92 }
}Ready to adopt WooPet?
We'll set it up, connect your accounts, and tune it to your workflow.
Hire a Trainer