Update transfer
PUT
/ admin/ v1/ stores/ {store_id}/ inventory/ transfers/ {transfer_id}Change a draft: its places, reference, note, date and lines, all replaced. Send If-Match: "v{version}" to avoid overwriting someone else's changes.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.transfer_idstringrequiredThe transfer's ID, like
xfer_01k8qs5s….
Headers
If-Matchstring · or nullETag from the last read, e.g. "v3"
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
origin_idstringrequiredWhere the stock leaves from.
destination_idstringrequiredWhere it goes; another active location.
linesarray of objectsrequiredWhat moves, in order (1–250 different items).
referencestring · or nullA waybill number or the store's own reference (up to 100 characters).
notestring · or nullUp to 500 characters.
expected_ondate · or nullWhen it should arrive (
YYYY-MM-DD).
Returns
200 The draft.
Errors
- 404
not_foundNo such transfer. - 409The transfer has shipped.
- 412
precondition_failedThe transfer changed since it was read. - 422
validation_failedValidation failed.