POST:transfers.json
Commerce APIPOST:transfers.json

POST:transfers.json

Description

Create one or multiple inventory transfers.

Permission bit: "transfers.create"

Topic: Transfers

Query Parameters

shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Request Body

Array of TransferCreate

[
  {
    "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