Developers › Docs › API reference › List accounts

List accounts

GET/wp-json/fc/api/v1/accounts

Returns the marketplace accounts this token can publish to, with the exact target id to send for each. Call it before publishing.

curl "https://fluf.io/wp-json/fc/api/v1/accounts" \
  -H "Authorization: Bearer fluf_pat_your_token"
Response · 200
{
  "accounts": [
    {
      "id": "ebay:718",
      "channel": "ebay",
      "label": "your-ebay-handle",
      "name": "eBay",
      "currency": "GBP",
      "store_url": "https://www.ebay.co.uk/usr/your-ebay-handle",
      "auth_status": "valid",
      "runs_in_browser": false
    }
  ]
}

Using the account id

Send id back verbatim as a target's account. It is {channel}:{connection_id}; a seller with two eBay accounts has two different ids, and they are not interchangeable.

You may also send channel plus connection_id, but account is the safer default because it is exactly what the API returned.

Accounts that need FLUF open

runs_in_browser: true means writes to that account come back queued and complete while the seller has FLUF open (the browser extension or the mobile app). Accounts that need FLUF open has the details.

Something missing? Email [email protected] — we prioritise by what people actually ask for.

Scroll to Top