Skip to main content

Release Serial Numbers

POST 

/api/v2/serial-numbers/release

Release quarantined serials back to in-stock.

Required scope: inventory:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Body: serial_number_ids (array of ids — required unless apply_to_all), apply_to_all (boolean, optional), filters (object, with apply_to_all).

Acting on every filtered serial. Instead of serial_number_ids, send apply_to_all: true with filters — the same filters the list accepts (bare keys such as status / warehouse_id / search, and/or filter_groups). Every serial those filters match is targeted.

Response. Returns released and skipped counts: only quarantined serials are released. When none are quarantined, the call fails with 422.

Request​

Responses​

OK

Response Headers
    Content-Type