POST:transfers.json
Commerce APIPOST:transfers.json

POST:transfers.json

Description

Modify one or multiple inventory transfers.

Permission bit: "transfers.modify"

Topic: Transfers

Query Parameters

ids: Comma-separated array of String, required

List of transfer ids. See also: Unique Identifiers

Example: ?ids=tx_EQzGqWoY,tx_EQzGqWoY


shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

Array of TransferModify

[
  {
    "draft": true,
    "expected_at": "2014-09-04T12:23:34Z",
    "from_inventory_location_id": "il_EQzGqWoY",
    "line_items": [
      {
        "quantity": 352,
        "variant_id": "va_EQzGqWoY"
      }
    ],
    "reference": "5435345",
    "to_inventory_location_id": "il_EQzGqWoY"
  }
]

Response Body

Array of Transfer

Response Body Type

Loading module