Developers › Docs › API reference › Take listings down
Take listings down
The reverse of POST /items: same {vid, targets} body, same additive rule applied the other way — only the accounts you name are taken down, and targets is required, so there is no "delist everywhere" shortcut.
The product stays in FLUF. To remove the product itself, use DELETE /items/{vid}.
curl -X DELETE "https://fluf.io/wp-json/fc/api/v1/items" \
-H "Authorization: Bearer fluf_pat_your_token" \
-H "Content-Type: application/json" \
-d '{
"vid": "fluf_326428506_0",
"targets": [
{ "account": "ebay:718" }
]
}'const res = await fetch("https://fluf.io/wp-json/fc/api/v1/items", {
method: "DELETE",
headers: {
"Authorization": "Bearer fluf_pat_your_token",
"Content-Type": "application/json",
},
body: JSON.stringify({
"vid": "fluf_326428506_0",
"targets": [
{
"account": "ebay:718"
}
]
}),
});
const data = await res.json();import requests
res = requests.delete(
"https://fluf.io/wp-json/fc/api/v1/items",
headers={
"Authorization": "Bearer fluf_pat_your_token",
},
json={
"vid": "fluf_326428506_0",
"targets": [{"account": "ebay:718"}],
},
)
data = res.json()<?php
// composer require guzzlehttp/guzzle
$client = new GuzzleHttp\Client();
$res = $client->request('DELETE', 'https://fluf.io/wp-json/fc/api/v1/items', [
'headers' => [
'Authorization' => 'Bearer fluf_pat_your_token',
],
'json' => [
'vid' => 'fluf_326428506_0',
'targets' => [['account' => 'ebay:718']],
],
]);
$data = json_decode((string) $res->getBody(), true);{
"vid": "fluf_326428506_0",
"fluf_id": 326428506,
"results": [
{
"channel": "ebay",
"account": "ebay:718",
"operation": "delist",
"outcome": "ok",
"listing_id": "123456789",
"message": "Delisted."
}
]
}Returns
Response shape matches POST /items, with operation: "delist" per target.
A target the product was never listed on returns outcome: "skipped" — nothing to take down is success, not an error.
Status codes follow the same pattern as POST /items: 200 applied, 202 at least one delist was queued, 400/401/404 as documented on POST /items.
Something missing? Email [email protected] — we prioritise by what people actually ask for.
