Create transfer
POST
/ admin/ v1/ stores/ {store_id}/ inventory/ transfers- inventory:write
- Idempotency-Key supported
Draft a transfer: what moves from one location to another. Nothing moves until it ships.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Headers
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
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
201 The draft.
Errors
- 403
forbiddenMissing permission. - 422
validation_failedThe same place twice, an inactive location, an unknown or uncounted item, or a bad quantity.