Moves the whole available stock of one bag into another. The bag to replenish from must be a fulfilled bag standing at an on-demand storage; the bag being replenished must already be passed to a courier at an on-demand office served by the same source location. The stock is moved before the response is sent, so a successful answer means the whole transfer is done; the bag it was taken from is left unassigned.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
200The stock was moved
400Replenishment not allowed. Either one of the bag rules was violated and the body carries its code (bag.replenish_recipient_not_with_courier, bag.replenish_donor_not_on_storage, bag.replenish_source_office_mismatch, bag.replenish_donor_not_fulfilled, bag.bag_is_currently_being_transferred), or the request could not be attributed to an account with access to both offices
404Bag not found
422Validation failed
503The bag is locked by another operation, or the transfer could not be completed; nothing was changed
