Skip to main content
DELETE
/
api
/
dev
/
buy_orders
curl -X DELETE "https://api.liquid.tf/api/dev/buy_orders" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_SITE_API_KEY"
{
  "success": true,
  "deleted_count": 123
}

Overview

Deletes all of your buy orders in a single operation.
This action cannot be undone! All your buy orders will be permanently removed.
No funds are returned when deleting buy orders since funds are never reserved when creating them. Payment only happens when a seller fulfills your order.

Authentication

X-API-Key
string
required
Your site API key

Rate Limit

1 request per minute

Response

success
boolean
Returns true if all buy orders were successfully deleted
deleted_count
integer
Number of buy orders that were deleted
curl -X DELETE "https://api.liquid.tf/api/dev/buy_orders" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_SITE_API_KEY"
{
  "success": true,
  "deleted_count": 123
}

What Gets Deleted

This endpoint deletes:
  • ✅ Active buy orders
  • ✅ Inactive buy orders
  • ✅ Partially filled buy orders (unfilled portion)
This endpoint does NOT affect:
  • ❌ Completed buy order trades
  • ❌ Pending trades (use trade management endpoints)
  • ❌ Your marketplace listings

Safety Tips

Before calling this endpoint:
  1. Confirm intent - Make sure you really want to delete all buy orders
  2. Export data - Save your buy order data if you need it later
  3. Consider scope - This affects all buy orders, not just a subset
The deleted_count in the response shows how many buy orders were removed. Use this to verify the operation completed as expected.

Use Cases

Cleanly remove all buy orders when shutting down your trading bot
Clear all existing orders before implementing a new trading strategy
Remove old or outdated buy orders in bulk
Quickly halt all buying activity across all items