Transfer a whole series to another reseller

POST /api/v1/card-batches/{id}/transfer-whole prm_cards_change_owner

View as Markdown

Moves every card in the series from one manager to another at an agreed unit price, posting the matching ledger entries on both sides.

unit_price is a required tri-state and omitting it is refused rather than read as zero. A bare 0 from a client that simply left the field out would mean "give the stock away", which is exactly the defect this check exists to stop. A negative price inverts the transfer.

At a glance

Authentication
Staff token or session
Requires permission
prm_cards_change_owner Transfer / change card owner
Rate limit
t_mutate
Idempotency key
request_id

Parameters

Parameter Description
idrequired path · integer Series id.
from_manager_idrequired body · integer The current holder.
to_manager_idrequired body · integer The receiving reseller.
unit_pricerequired body · number Price per card, major units. Must be sent explicitly — omitting it is an error, not a zero.
request_idrequired body · string Idempotency key.

Errors

Code When it is returned
ERR_VALIDATION400 unit_price omitted, or a request_id that is missing, too long or reserved
ERR_CONFLICT409 the request_id is already bound to a different transfer

Try it on your own network.

50 subscribers for 7 days. You pay nothing.