Skip to content

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_idstringrequired

      The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

    • transfer_idstringrequired

      The transfer's ID, like xfer_01k8qs5s….

    Headers

    • If-Matchstring · or null

      ETag from the last read, e.g. "v3"

    • shop-api-versionYYYY-MM

      The version to answer in. Without it, your app’s pinned version, else the newest.

    Body

    • origin_idstringrequired

      Where the stock leaves from.

    • destination_idstringrequired

      Where it goes; another active location.

    • linesarray of objectsrequired

      What moves, in order (1–250 different items).

    • referencestring · or null

      A waybill number or the store's own reference (up to 100 characters).

    • notestring · or null

      Up to 500 characters.

    • expected_ondate · or null

      When it should arrive (YYYY-MM-DD).

    Returns

    200 The draft.

    Errors

    • 404not_foundNo such transfer.
    • 409The transfer has shipped.
    • 412precondition_failedThe transfer changed since it was read.
    • 422validation_failedValidation failed.