curl -X DELETE "https://api.liquid.tf/api/dev/buy_order" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_SITE_API_KEY" \
-d '{
"items": [
{ "sku": "5021;6" }
]
}'
const response = await fetch('https://api.liquid.tf/api/dev/buy_order', {
method: 'DELETE',
headers: {
'Content-Type': 'application/json',
'X-API-Key': 'YOUR_SITE_API_KEY'
},
body: JSON.stringify({
items: [
{ sku: '5021;6' }
]
})
});
const data = await response.json();
import requests
response = requests.delete(
'https://api.liquid.tf/api/dev/buy_order',
headers={'X-API-Key': 'YOUR_SITE_API_KEY'},
json={
'items': [
{'sku': '5021;6'}
]
}
)
data = response.json()
{
"success": true
}
Buy Order Management
Delete Buy Orders
Remove specific buy orders by SKU
DELETE
/
api
/
dev
/
buy_order
curl -X DELETE "https://api.liquid.tf/api/dev/buy_order" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_SITE_API_KEY" \
-d '{
"items": [
{ "sku": "5021;6" }
]
}'
const response = await fetch('https://api.liquid.tf/api/dev/buy_order', {
method: 'DELETE',
headers: {
'Content-Type': 'application/json',
'X-API-Key': 'YOUR_SITE_API_KEY'
},
body: JSON.stringify({
items: [
{ sku: '5021;6' }
]
})
});
const data = await response.json();
import requests
response = requests.delete(
'https://api.liquid.tf/api/dev/buy_order',
headers={'X-API-Key': 'YOUR_SITE_API_KEY'},
json={
'items': [
{'sku': '5021;6'}
]
}
)
data = response.json()
{
"success": true
}
Overview
Deletes one or more buy orders by their SKUs. Max 100 buy orders per request.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
string
required
Your site API key
Rate Limit
5 requests per minuteRequest Body
array
required
Array of buy orders to delete (max 100 items)
Show Item Object
Show Item Object
string
required
SKU of the buy order to delete (e.g.,
"5021;6")Response
boolean
Returns
true if buy orders were successfully deletedcurl -X DELETE "https://api.liquid.tf/api/dev/buy_order" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_SITE_API_KEY" \
-d '{
"items": [
{ "sku": "5021;6" }
]
}'
const response = await fetch('https://api.liquid.tf/api/dev/buy_order', {
method: 'DELETE',
headers: {
'Content-Type': 'application/json',
'X-API-Key': 'YOUR_SITE_API_KEY'
},
body: JSON.stringify({
items: [
{ sku: '5021;6' }
]
})
});
const data = await response.json();
import requests
response = requests.delete(
'https://api.liquid.tf/api/dev/buy_order',
headers={'X-API-Key': 'YOUR_SITE_API_KEY'},
json={
'items': [
{'sku': '5021;6'}
]
}
)
data = response.json()
{
"success": true
}
Effect on Filled Orders
If your buy order has been partially or fully filled:- Deleting the buy order only removes the unfilled portion
- Already completed trades are not affected
- Items already received remain yours
Batch Deletion
Delete multiple buy orders at once:{
"items": [
{ "sku": "5021;6" },
{ "sku": "143;6" },
{ "sku": "162;6" }
]
}
Deleting a buy order only removes unfilled or partially filled orders. Completed trades are permanent.
To delete all your buy orders at once, use the Delete All Buy Orders endpoint instead.
