Run a status action on many accounting entries
Run one action (mark_ready, mark_in_review, sync or archive) on up to 100 entries. Each entry gets its own result, so one that can’t move doesn’t stop the rest.
Authorizations
User API key authentication. Create a key under Settings → API keys in the Slash dashboard (https://app.slash.com/global-settings/api-keys) and send the x-legal-entity header naming the legal entity to act on with every request. Keys scoped to a legal entity are rejected with 403 user_api_key_required.
Headers
The legal entity to act on. Required on every request; a user API key can act on any legal entity its user has access to.
^le_[a-zA-Z0-9]+$Body
The move to make. sync is only available on connections with a platform to post to; a CSV connection returns connection_not_syncable per entry.
mark_ready, mark_in_review, archive, sync The entries to move, 1 to 100 ids. Repeated ids are collapsed; ids the credential cannot see come back as not_found.
1 - 100 elementsResponse
The outcome for every requested entry.
The outcome of one status action run over a batch of entries. Every entry is decided on its own, so a batch can be partly applied: results is in the order the ids were given, and the counts summarize it.