Skip to content
Bloomcount API
Esc
navigateopen⌘Jpreview

Restore an archived supplier

The supplier is listed again. Prices purged when it was archived don’t come back, and products relinked to the Default stay relinked.

POST/api/v1/suppliers/{id}/unarchive
Authorization
AuthorizationBearer token (bloomcount_...) · headerrequired
Path parameters
idstringrequired
Responses
200Restored
supplierIdstringrequired
The supplier this result is about.
archivedbooleanrequired
True after archiving, false after restoring.
relinkedProductsintegerrequired
Products that fell back to the hidden Default because this was their only supplier.
relinkedVariantsintegerrequired
Variants that fell back to the hidden Default because this was their only supplier.
401Missing or invalid API key, or revoked / expired.
errorstringrequired
403Authenticated, but the key lacks the required scope or the tenant has no API access.
errorstringrequired
404The requested resource doesn't exist or belongs to a different tenant.
errorstringrequired
409The request is well formed, but it conflicts with the current state: a name already taken, a row the app protects (the hidden Default supplier, a preset colour or category), or a staff member who has an account.
errorstringrequired
429Per-minute rate limit (60/min) or per-month cap exceeded.
errorstringrequired
Try it
Server
Authorization
Parameters
Request
curl -X POST "https://app.bloomcount.com/api/v1/suppliers/sup_77p3v2k6m4t1r5z9c8w0y7b3/unarchive" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
{
  "supplierId": "sup_77p3v2k6m4t1r5z9c8w0y7b3",
  "archived": false,
  "relinkedProducts": 0,
  "relinkedVariants": 0
}