← The Collection
🛍️ShopPet — Shopify pet
RetailShopify

ShopPet

Turns Shopify browsers into buyers.

Power
85
Speed
95
Reliability
98

// What it does

Meet ShopPet

ShopPet studies how people shop your Shopify store and gently steers them toward the right product. It builds smart collections, suggests upsells that actually fit, and flags pricing that's leaving money on the table.

Every recommendation is explainable and tunable — you stay in control of the brand while ShopPet handles the merchandising grind.

Personalized upsell & cross-sell
Dynamic price & margin watch
Auto-built smart collections
Checkout & bundle nudges
Smart Upsell

Recommends the next product each shopper actually wants.

Price Watch

Spots margin risk and competitor moves in real time.

Collection Builder

Assembles high-converting collections automatically.

// Connect via API

Wire ShopPet into your stack

ShopPet 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.

🔑 Authentication

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/v1
01
Get a key

Create an API key in the dashboard.

02
Message the pet

Send ShopPet a message — it calls its tools.

03
Ship it

Wire the response into your product.

Endpoints

POST/pets/shoppet/messagesSend the pet a message — it replies and may call tools.
POST/pets/shoppet/sessionsOpen a stateful session so the pet remembers the thread.
GET/pets/shoppet/runs/{run_id}Poll a long-running task and read the tools it called.

Tools ShopPet can call

smart_upsell

Recommends the next product each shopper actually wants.

price_watch

Spots margin risk and competitor moves in real time.

collection_builder

Assembles high-converting collections automatically.

Want tokens as they arrive? Add "stream": true to the request and read the reply as server-sent events.

Example conversation

Send a message
curl https://api.binarypets.com/v1/pets/shoppet/messages \
  -H "Authorization: Bearer $BINARYPETS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "messages": [
      { "role": "user",
        "content": "Recommend three upsells for customer cus_42 and tell me why." }
    ]
  }'
Assistant reply + tool calls
{
  "id": "msg_shoppet_2b07c",
  "pet": "shoppet",
  "role": "assistant",
  "content": "Here are three upsells for cus_42, ranked by fit — each pairs with their recent purchase.",
  "actions": [
    {
      "tool": "smart_upsell",
      "input": { "customer_id": "cus_42", "limit": 3 },
      "result": {
        "recommendations": [
          { "product_id": "prod_109", "reason": "pairs with last purchase", "score": 0.91 },
          { "product_id": "prod_233", "reason": "trending in segment", "score": 0.84 }
        ]
      }
    }
  ],
  "session_id": "sess_7a1f2",
  "stop_reason": "end_turn",
  "usage": { "input_tokens": 39, "output_tokens": 110 }
}

Ready to adopt ShopPet?

We'll set it up, connect your accounts, and tune it to your workflow.

Hire a Trainer