Inventory > Transfers > transfersCreate
Commerce APIInventoryTransferstransfersCreate
transfersCreate
POST:transfers.json

Description

Create one or multiple inventory transfers.

Permission bit: "transfers.create"

Topic: Transfers

Arguments

data: [TransferCreate!]!

Main argument for mutations.


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

draft: Boolean

Whether transfer is in a draft state or not

Example: true


expected_at: String

Date and time when transfer arrival is expected

Example: "2014-09-04T12:23:34Z"

Timestamp (RFC 3339)


from_inventory_location_id: String

Unique inventory location id (source)

Example: "il_EQzGqWoY"

Valid when: from_inventory_location_id matches regexp pattern: ^il_


line_items: [TransferLineItemCreate!]


reference: String

Arbitrary reference string

Example: "5435345"

Valid when: reference's length doesn't exceed 250 characters


to_inventory_location_id: String

Unique inventory location id (destination)

Example: "il_EQzGqWoY"

Valid when: to_inventory_location_id matches regexp pattern: ^il_


Result

[Transfer!]

Preview (typescript)

Loading module