Siren

Bulk Actions: Distributors

Performs an action on multiple distributors at once, including activate, deactivate, restore, delete, and permanent delete.

Last updated: October 26, 2026

POST /siren/v1/distributors/bulk

Performs an action on multiple distributors at once.

Request Body:

FieldTypeRequiredDescription
actionstringYesOne of: activate, deactivate, restore, delete, permanent_delete
idsinteger[]YesArray of distributor IDs to act upon

Action Behaviors:

ActionEffectAuth Required
activateSets status to activeUpdate
deactivateSets status to inactiveUpdate
restoreSets status to inactive (restores from trash for review)Update
deleteSets status to deleted (soft delete)Delete
permanent_deletePermanently removes records from database. Every record must be in the Trash, or nothing is deleted and it answers 409Delete

Non-existent IDs are silently skipped. Datastore errors on individual records are logged but do not halt processing of remaining IDs.

Example Request:

{
  "action": "activate",
  "ids": [1, 2, 3]
}

Example Response:

{
  "success": true,
  "affected": 3
}

Your privacy choices

Account, checkout and chat you request work without optional tracking. Choose whether to allow these other uses on this website.

You can change or withdraw your choices at any time using “Privacy choices.” We remember your choice for 180 days. Read our privacy policy.