Skip to content

Square: Transfer order schemas

25 Square schemas with complete fields and constraints.

← Transfer order operations · All schemas

Cancel Transfer Order — request body — body

FieldTypePresenceDescription and constraints
$objectRootRequest to cancel a transfer order, marking any unreceived quantities as canceled
idempotency_keystringRequired within parentA unique string that identifies this UpdateTransferOrder request. Keys can be
any valid string but must be unique for every UpdateTransferOrder request.
Minimum length: 1
versionJSONOptional
version (anyOf 1)integerAlternativeVersion for optimistic concurrency
Format: int64
Minimum: -9223372036854775808
Maximum: 9223372036854775807
version (anyOf 2)stringAlternativePattern: ^(?:-(?:1[0-9]{18}|[2-8][0-9]{18}|9(?:0[0-9]{17}|1[0-9]{17}|2(?:0[0-9]{16}|1[0-9]{16}|2(?:0[0-9]{15}|[1-2][0-9]{15}|3(?:0[0-9]{14}|[1-2][0-9]{14}|3(?:0[0-9]{13}|[1-6][0-9]{13}|7(?:0[0-9]{12}|1[0-9]{12}|20(?:0[0-9]{10}|[1-2][0-9]{10}|3(?:0[0-9]{9}|[1-5][0-9]{9}|6(?:0[0-9]{8}|[1-7][0-9]{8}|8(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-6][0-9]{4}|7(?:0[0-9]{3}|[1-4][0-9]{3}|5(?:0[0-9]{2}|[1-7][0-9]{2}|80[0-8]))))))))))))))))|-[1-9][0-9]{0,17}|0|(?:1[0-9]{18}|[2-8][0-9]{18}|9(?:0[0-9]{17}|1[0-9]{17}|2(?:0[0-9]{16}|1[0-9]{16}|2(?:0[0-9]{15}|[1-2][0-9]{15}|3(?:0[0-9]{14}|[1-2][0-9]{14}|3(?:0[0-9]{13}|[1-6][0-9]{13}|7(?:0[0-9]{12}|1[0-9]{12}|20(?:0[0-9]{10}|[1-2][0-9]{10}|3(?:0[0-9]{9}|[1-5][0-9]{9}|6(?:0[0-9]{8}|[1-7][0-9]{8}|8(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-6][0-9]{4}|7(?:0[0-9]{3}|[1-4][0-9]{3}|5(?:0[0-9]{2}|[1-7][0-9]{2}|80[0-7]))))))))))))))))|[1-9][0-9]{0,17})$(?!\n)

Cancel Transfer Order — response body

FieldTypePresenceDescription and constraints
$objectRootResponse for canceling a transfer order
errorsarrayOptionalAny errors that occurred during the request
errors[]ModelEach itemExpand Get Shift — response body — errors item
transfer_orderModelOptionalExpand Start Transfer Order — response body — transfer order
The updated transfer order with status changed to CANCELED

Referenced models: Get Shift — response body — errors item, Start Transfer Order — response body — transfer order

Create Transfer Order — request body — body

FieldTypePresenceDescription and constraints
$objectRootRequest to create a new transfer order.
idempotency_keystringRequired within parentA unique string that identifies this CreateTransferOrder request. Keys can be
any valid string but must be unique for every CreateTransferOrder request.
Minimum length: 1
transfer_orderModelRequired within parentExpand Create Transfer Order — request body — body transfer order
The transfer order to create

Referenced models: Create Transfer Order — request body — body transfer order

Create Transfer Order — request body — body transfer order

FieldTypePresenceDescription and constraints
$objectRootData for creating a new transfer order to move [CatalogItemVariation](entity:CatalogItemVariation)s
between [Location](entity:Location)s. Used with the [CreateTransferOrder](api-endpoint:TransferOrders-CreateTransferOrder)
endpoint.
created_by_team_member_idJSONOptional
created_by_team_member_id (anyOf 1)stringAlternativeID of the [TeamMember](entity:TeamMember) creating this transfer order. Used for tracking
and auditing purposes.
Maximum length: 64
created_by_team_member_id (anyOf 2)nullAlternative
destination_location_idstringRequired within parentThe destination [Location](entity:Location) that will receive the items. Must be an active location
in your Square account
Maximum length: 64
Minimum length: 1
expected_atJSONOptional
expected_at (anyOf 1)stringAlternativeExpected transfer date in RFC 3339 format (e.g. "2023-10-01T12:00:00Z").
expected_at (anyOf 2)nullAlternative
line_itemsJSONOptional
line_items (anyOf 1)arrayAlternativeList of [CatalogItemVariation](entity:CatalogItemVariation)s to transfer, including quantities
line_items (anyOf 1)[]ModelEach itemExpand Create Transfer Order — request body — body transfer order line items array item
line_items (anyOf 2)nullAlternative
notesJSONOptional
notes (anyOf 1)stringAlternativeOptional notes about the transfer
Maximum length: 4096
notes (anyOf 2)nullAlternative
source_location_idstringRequired within parentThe source [Location](entity:Location) that will send the items. Must be an active location
in your Square account with sufficient inventory of the requested items.
Maximum length: 64
Minimum length: 1
tracking_numberJSONOptional
tracking_number (anyOf 1)stringAlternativeOptional shipment tracking number
Maximum length: 64
tracking_number (anyOf 2)nullAlternative

Referenced models: Create Transfer Order — request body — body transfer order line items array item

Create Transfer Order — request body — body transfer order line items array item

FieldTypePresenceDescription and constraints
$objectRootData for creating a new transfer order line item. Each line item specifies a
[CatalogItemVariation](entity:CatalogItemVariation) and quantity to transfer.
item_variation_idstringRequired within parentID of the [CatalogItemVariation](entity:CatalogItemVariation) to transfer. Must reference a valid
item variation in the [Catalog](api:Catalog). The item variation must be:
- Active and available for sale
- Enabled for inventory tracking
- Available at the source location
Maximum length: 64
Minimum length: 1
quantity_orderedstringRequired within parentTotal quantity ordered
Maximum length: 16
Minimum length: 1
Pattern: ^(0|[1-9]\d*)(\.\d{1,4})?$

Create Transfer Order — response body

FieldTypePresenceDescription and constraints
$objectRootResponse for creating a transfer order.
errorsarrayOptionalAny errors that occurred during the request
errors[]ModelEach itemExpand Get Shift — response body — errors item
transfer_orderModelOptionalExpand Start Transfer Order — response body — transfer order
The created transfer order

Referenced models: Get Shift — response body — errors item, Start Transfer Order — response body — transfer order

Delete Transfer Order — response body

FieldTypePresenceDescription and constraints
$objectRootResponse for deleting a transfer order
errorsarrayOptionalAny errors that occurred during the request
errors[]ModelEach itemExpand Get Shift — response body — errors item

Referenced models: Get Shift — response body — errors item

Receive Transfer Order — request body — body

FieldTypePresenceDescription and constraints
$objectRootRequest to record receipt of items for a transfer order
idempotency_keystringRequired within parentA unique key to make this request idempotent
Minimum length: 1
receiptModelRequired within parentExpand Receive Transfer Order — request body — body receipt
The receipt details
versionJSONOptional
version (anyOf 1)integerAlternativeVersion for optimistic concurrency
Format: int64
Minimum: -9223372036854775808
Maximum: 9223372036854775807
version (anyOf 2)stringAlternativePattern: ^(?:-(?:1[0-9]{18}|[2-8][0-9]{18}|9(?:0[0-9]{17}|1[0-9]{17}|2(?:0[0-9]{16}|1[0-9]{16}|2(?:0[0-9]{15}|[1-2][0-9]{15}|3(?:0[0-9]{14}|[1-2][0-9]{14}|3(?:0[0-9]{13}|[1-6][0-9]{13}|7(?:0[0-9]{12}|1[0-9]{12}|20(?:0[0-9]{10}|[1-2][0-9]{10}|3(?:0[0-9]{9}|[1-5][0-9]{9}|6(?:0[0-9]{8}|[1-7][0-9]{8}|8(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-6][0-9]{4}|7(?:0[0-9]{3}|[1-4][0-9]{3}|5(?:0[0-9]{2}|[1-7][0-9]{2}|80[0-8]))))))))))))))))|-[1-9][0-9]{0,17}|0|(?:1[0-9]{18}|[2-8][0-9]{18}|9(?:0[0-9]{17}|1[0-9]{17}|2(?:0[0-9]{16}|1[0-9]{16}|2(?:0[0-9]{15}|[1-2][0-9]{15}|3(?:0[0-9]{14}|[1-2][0-9]{14}|3(?:0[0-9]{13}|[1-6][0-9]{13}|7(?:0[0-9]{12}|1[0-9]{12}|20(?:0[0-9]{10}|[1-2][0-9]{10}|3(?:0[0-9]{9}|[1-5][0-9]{9}|6(?:0[0-9]{8}|[1-7][0-9]{8}|8(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-6][0-9]{4}|7(?:0[0-9]{3}|[1-4][0-9]{3}|5(?:0[0-9]{2}|[1-7][0-9]{2}|80[0-7]))))))))))))))))|[1-9][0-9]{0,17})$(?!\n)

Referenced models: Receive Transfer Order — request body — body receipt

Receive Transfer Order — request body — body receipt

FieldTypePresenceDescription and constraints
$objectRootThe goods receipt details for a transfer order. This object represents a single receipt
of goods against a transfer order, tracking:

- Which [CatalogItemVariation](entity:CatalogItemVariation)s were received
- Quantities received in good condition
- Quantities damaged during transit/handling
- Quantities canceled during receipt

Multiple goods receipts can be created for a single transfer order to handle:
- Partial deliveries
- Multiple shipments
- Split receipts across different dates
- Cancellations of specific quantities

Each receipt automatically:
- Updates the transfer order status
- Adjusts received quantities
- Updates inventory levels at both source and destination [Location](entity:Location)s
line_itemsJSONOptional
line_items (anyOf 1)arrayAlternativeLine items being received. Each line item specifies:
- The item being received
- Quantity received in good condition
- Quantity received damaged
- Quantity canceled

Constraints:
- Must include at least one line item
- Maximum of 1000 line items per receipt
- Each line item must reference a valid item from the transfer order
- Total of received, damaged, and canceled quantities cannot exceed ordered quantity
line_items (anyOf 1)[]ModelEach itemExpand Receive Transfer Order — request body — body receipt line items array item
line_items (anyOf 2)nullAlternative

Referenced models: Receive Transfer Order — request body — body receipt line items array item

Receive Transfer Order — request body — body receipt line items array item

FieldTypePresenceDescription and constraints
$objectRootA simplified line item for goods receipts in transfer orders
quantity_canceledJSONOptional
quantity_canceled (anyOf 1)stringAlternativeThe quantity that was canceled during shipping/handling as a decimal string (e.g. "1.5"). These will be immediately added to inventory in the source location.
Maximum length: 16
Minimum length: 1
Pattern: ^(0|[1-9]\d*)(\.\d{1,4})?$
quantity_canceled (anyOf 2)nullAlternative
quantity_damagedJSONOptional
quantity_damaged (anyOf 1)stringAlternativeThe quantity that was damaged during shipping/handling as a decimal string (e.g. "1.5").
These items will be added to the destination [Location](entity:Location)'s inventory with [InventoryState](entity:InventoryState) of WASTE.
Maximum length: 16
Minimum length: 1
Pattern: ^(0|[1-9]\d*)(\.\d{1,4})?$
quantity_damaged (anyOf 2)nullAlternative
quantity_receivedJSONOptional
quantity_received (anyOf 1)stringAlternativeThe quantity received for this line item as a decimal string (e.g. "10.5").
These items will be added to the destination [Location](entity:Location)'s inventory with [InventoryState](entity:InventoryState) of IN_STOCK.
Maximum length: 16
Minimum length: 1
Pattern: ^(0|[1-9]\d*)(\.\d{1,4})?$
quantity_received (anyOf 2)nullAlternative
transfer_order_line_uidstringRequired within parentThe unique identifier of the Transfer Order line being received
Maximum length: 64

Receive Transfer Order — response body

FieldTypePresenceDescription and constraints
$objectRootResponse for receiving items for a transfer order
errorsarrayOptionalAny errors that occurred during the request
errors[]ModelEach itemExpand Get Shift — response body — errors item
transfer_orderModelOptionalExpand Start Transfer Order — response body — transfer order
The updated transfer order

Referenced models: Get Shift — response body — errors item, Start Transfer Order — response body — transfer order

Retrieve Transfer Order — response body

FieldTypePresenceDescription and constraints
$objectRootResponse containing the requested transfer order
errorsarrayOptionalAny errors that occurred during the request
errors[]ModelEach itemExpand Get Shift — response body — errors item
transfer_orderModelOptionalExpand Start Transfer Order — response body — transfer order
The requested transfer order

Referenced models: Get Shift — response body — errors item, Start Transfer Order — response body — transfer order

Search Transfer Orders — request body — body

FieldTypePresenceDescription and constraints
$objectRootRequest to search transfer orders
cursorstringOptionalPagination cursor from a previous search response
limitintegerOptionalMaximum number of results to return (1-100)
Maximum: 100
Minimum: 1
queryModelOptionalExpand Search Transfer Orders — request body — body query
The search query

Referenced models: Search Transfer Orders — request body — body query

Search Transfer Orders — request body — body query

FieldTypePresenceDescription and constraints
$objectRootQuery parameters for searching transfer orders
filterJSONOptional
filter (anyOf 1)ModelAlternativeExpand Search Transfer Orders — request body — body query filter Filter criteria for searching transfer orders
Filter criteria
filter (anyOf 2)nullAlternative
sortJSONOptional
sort (anyOf 1)ModelAlternativeExpand Search Transfer Orders — request body — body query sort Sort configuration for search results
Sort configuration
sort (anyOf 2)nullAlternative

Referenced models: Search Transfer Orders — request body — body query filter Filter criteria for searching transfer orders, Search Transfer Orders — request body — body query sort Sort configuration for search results

Search Transfer Orders — request body — body query filter Filter criteria for searching transfer orders

FieldTypePresenceDescription and constraints
$objectRootFilter criteria for searching transfer orders
destination_location_idsJSONOptional
destination_location_ids (anyOf 1)arrayAlternativeFilter by destination location IDs
destination_location_ids (anyOf 1)[]stringEach item
destination_location_ids (anyOf 2)nullAlternative
source_location_idsJSONOptional
source_location_ids (anyOf 1)arrayAlternativeFilter by source location IDs
source_location_ids (anyOf 1)[]stringEach item
source_location_ids (anyOf 2)nullAlternative
statusesJSONOptional
statuses (anyOf 1)arrayAlternativeFilter by order statuses
See [TransferOrderStatus](#type-transferorderstatus) for possible values
statuses (anyOf 1)[]stringEach itemStatus values for transfer orders. Represents the current state of a
[TransferOrder](entity:TransferOrder) in its lifecycle from creation to completion.
Each status determines what actions are available and how inventory is affected.
One of: DRAFT, STARTED, PARTIALLY_RECEIVED, COMPLETED, CANCELED
statuses (anyOf 2)nullAlternative

Search Transfer Orders — request body — body query sort Sort configuration for search results

FieldTypePresenceDescription and constraints
$objectRootSort configuration for search results
fieldJSONOptional
field (anyOf 1)stringAlternativeFields that can be used for sorting [TransferOrder](entity:TransferOrder)s in search results.
Used with [SearchTransferOrders](api-endpoint:TransferOrders-SearchTransferOrders) to control
the order of returned results.
Field to sort by
See [TransferOrderSortField](#type-transferordersortfield) for possible values
One of: CREATED_AT, UPDATED_AT
field (anyOf 2)nullAlternative
orderJSONOptional
order (anyOf 1)stringAlternativeThe order (e.g., chronological or alphabetical) in which results from a request are returned.
Sort order direction
See [SortOrder](#type-sortorder) for possible values
One of: DESC, ASC
order (anyOf 2)nullAlternative

Search Transfer Orders — response body

FieldTypePresenceDescription and constraints
$objectRootResponse for searching transfer orders
cursorstringOptionalPagination cursor for fetching the next page of results
errorsarrayOptionalAny errors that occurred during the request
errors[]ModelEach itemExpand Get Shift — response body — errors item
transfer_ordersarrayOptionalList of transfer orders matching the search criteria
transfer_orders[]ModelEach itemExpand Start Transfer Order — response body — transfer order

Referenced models: Get Shift — response body — errors item, Start Transfer Order — response body — transfer order

Start Transfer Order — request body — body

FieldTypePresenceDescription and constraints
$objectRootRequest to start a transfer order, changing its status from DRAFT to STARTED.
idempotency_keystringRequired within parentA unique string that identifies this UpdateTransferOrder request. Keys can be
any valid string but must be unique for every UpdateTransferOrder request.
Minimum length: 1
versionJSONOptional
version (anyOf 1)integerAlternativeVersion for optimistic concurrency
Format: int64
Minimum: -9223372036854775808
Maximum: 9223372036854775807
version (anyOf 2)stringAlternativePattern: ^(?:-(?:1[0-9]{18}|[2-8][0-9]{18}|9(?:0[0-9]{17}|1[0-9]{17}|2(?:0[0-9]{16}|1[0-9]{16}|2(?:0[0-9]{15}|[1-2][0-9]{15}|3(?:0[0-9]{14}|[1-2][0-9]{14}|3(?:0[0-9]{13}|[1-6][0-9]{13}|7(?:0[0-9]{12}|1[0-9]{12}|20(?:0[0-9]{10}|[1-2][0-9]{10}|3(?:0[0-9]{9}|[1-5][0-9]{9}|6(?:0[0-9]{8}|[1-7][0-9]{8}|8(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-6][0-9]{4}|7(?:0[0-9]{3}|[1-4][0-9]{3}|5(?:0[0-9]{2}|[1-7][0-9]{2}|80[0-8]))))))))))))))))|-[1-9][0-9]{0,17}|0|(?:1[0-9]{18}|[2-8][0-9]{18}|9(?:0[0-9]{17}|1[0-9]{17}|2(?:0[0-9]{16}|1[0-9]{16}|2(?:0[0-9]{15}|[1-2][0-9]{15}|3(?:0[0-9]{14}|[1-2][0-9]{14}|3(?:0[0-9]{13}|[1-6][0-9]{13}|7(?:0[0-9]{12}|1[0-9]{12}|20(?:0[0-9]{10}|[1-2][0-9]{10}|3(?:0[0-9]{9}|[1-5][0-9]{9}|6(?:0[0-9]{8}|[1-7][0-9]{8}|8(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-6][0-9]{4}|7(?:0[0-9]{3}|[1-4][0-9]{3}|5(?:0[0-9]{2}|[1-7][0-9]{2}|80[0-7]))))))))))))))))|[1-9][0-9]{0,17})$(?!\n)

Start Transfer Order — response body

FieldTypePresenceDescription and constraints
$objectRootResponse for starting a transfer order.
errorsarrayOptionalAny errors that occurred during the request
errors[]ModelEach itemExpand Get Shift — response body — errors item
transfer_orderModelOptionalExpand Start Transfer Order — response body — transfer order
The updated transfer order with status changed to STARTED

Referenced models: Get Shift — response body — errors item, Start Transfer Order — response body — transfer order

Start Transfer Order — response body — transfer order

FieldTypePresenceDescription and constraints
$objectRootRepresents a transfer order for moving [CatalogItemVariation](entity:CatalogItemVariation)s
between [Location](entity:Location)s. Transfer orders track the entire lifecycle of an inventory
transfer, including:
- What items and quantities are being moved
- Source and destination locations
- Current [TransferOrderStatus](entity:TransferOrderStatus)
- Shipping information and tracking
- Which [TeamMember](entity:TeamMember) initiated the transfer

This object is commonly used to:
- Track [CatalogItemVariation](entity:CatalogItemVariation) movements between [Location](entity:Location)s
- Reconcile expected vs received quantities
- Monitor transfer progress and shipping status
- Audit inventory movement history
completed_atstringOptionalTimestamp when the transfer order was completed or canceled, in RFC 3339 format (e.g. "2023-10-01T12:00:00Z").
Read only: true
created_atstringOptionalTimestamp when the transfer order was created, in RFC 3339 format.
Used for:
- Auditing transfer history
- Tracking order age
- Reporting and analytics
Read only: true
created_by_team_member_idstringOptionalID of the [TeamMember](entity:TeamMember) who created this transfer order. This field is not writeable by the Connect V2 API.
Read only: true
destination_location_idJSONOptional
destination_location_id (anyOf 1)stringAlternativeThe destination [Location](entity:Location) receiving the [CatalogItemVariation](entity:CatalogItemVariation)s.
This location must:
- Be active in your Square organization
- Not be the same as the source location

This field is not updatable.
destination_location_id (anyOf 2)nullAlternative
expected_atJSONOptional
expected_at (anyOf 1)stringAlternativeExpected transfer completion date, in RFC 3339 format.
Used for:
- Planning inventory availability
- Scheduling receiving staff
- Monitoring transfer timeliness
expected_at (anyOf 2)nullAlternative
idstringOptionalUnique system-generated identifier for this transfer order. Use this ID for:
- Retrieving transfer order details
- Tracking status changes via webhooks
- Linking transfers in external systems
Read only: true
line_itemsJSONOptional
line_items (anyOf 1)arrayAlternativeList of [CatalogItemVariation](entity:CatalogItemVariation)s being transferred.
line_items (anyOf 1)[]ModelEach itemExpand Start Transfer Order — response body — transfer order line items array item
line_items (anyOf 2)nullAlternative
notesJSONOptional
notes (anyOf 1)stringAlternativeOptional notes about the transfer.
notes (anyOf 2)nullAlternative
source_location_idJSONOptional
source_location_id (anyOf 1)stringAlternativeThe source [Location](entity:Location) sending the [CatalogItemVariation](entity:CatalogItemVariation)s.
This location must:
- Be active in your Square organization
- Have sufficient inventory for the items being transferred
- Not be the same as the destination location

This field is not updatable.
source_location_id (anyOf 2)nullAlternative
statusstringOptionalStatus values for transfer orders. Represents the current state of a
[TransferOrder](entity:TransferOrder) in its lifecycle from creation to completion.
Each status determines what actions are available and how inventory is affected.
Current [TransferOrderStatus](entity:TransferOrderStatus) indicating where the order is in its lifecycle.
Status transitions follow this progression:
1. [DRAFT](entity:TransferOrderStatus) -> [STARTED](entity:TransferOrderStatus) via [StartTransferOrder](api-endpoint:TransferOrders-StartTransferOrder)
2. [STARTED](entity:TransferOrderStatus) -> [PARTIALLY_RECEIVED](entity:TransferOrderStatus) via [ReceiveTransferOrder](api-endpoint:TransferOrders-ReceiveTransferOrder)
3. [PARTIALLY_RECEIVED](entity:TransferOrderStatus) -> [COMPLETED](entity:TransferOrderStatus) after all items received

Orders can be [CANCELED](entity:TransferOrderStatus) from [STARTED](entity:TransferOrderStatus) or
[PARTIALLY_RECEIVED](entity:TransferOrderStatus) status.

This field is read-only and reflects the current state of the transfer order, and cannot be updated directly. Use the appropriate
endpoints (e.g. [StartPurchaseOrder](api-endpoint:TransferOrders-StartTransferOrder), to change the status.
See [TransferOrderStatus](#type-transferorderstatus) for possible values
Known values: DRAFT, STARTED, PARTIALLY_RECEIVED, COMPLETED, CANCELED
Read only: true
tracking_numberJSONOptional
tracking_number (anyOf 1)stringAlternativeShipment tracking number for monitoring transfer progress.
tracking_number (anyOf 2)nullAlternative
updated_atstringOptionalTimestamp when the transfer order was last updated, in RFC 3339 format.
Updated when:
- Order status changes
- Items are received
- Notes or metadata are modified
Read only: true
versionJSONOptional
version (anyOf 1)integerAlternativeVersion for optimistic concurrency control. This is a monotonically increasing integer
that changes whenever the transfer order is modified. Use this when calling
[UpdateTransferOrder](api-endpoint:TransferOrders-UpdateTransferOrder) and other endpoints to ensure you're
not overwriting concurrent changes.
Format: int64
version (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Start Transfer Order — response body — transfer order line items array item

Start Transfer Order — response body — transfer order line items array item

FieldTypePresenceDescription and constraints
$objectRootRepresents a line item in a transfer order. Each line item tracks a specific
[CatalogItemVariation](entity:CatalogItemVariation) being transferred, including ordered quantities
and receipt status.
item_variation_idstringRequired within parentThe required identifier of the [CatalogItemVariation](entity:CatalogItemVariation) being transferred. Must reference
a valid catalog item variation that exists in the [Catalog](api:Catalog).
Maximum length: 64
Minimum length: 1
Pattern: ^[a-zA-Z0-9_:\-]+$
quantity_canceledstringOptionalQuantity that was canceled. These items will be immediately added to inventory in the source location.

This field cannot be updated directly in Create/Update operations, instead use [ReceiveTransferOrder](api-endpoint:TransferOrders-ReceiveTransferOrder) or [CancelTransferOrder](api-endpoint:TransferOrders-CancelTransferOrder).
Read only: true
quantity_damagedstringOptionalQuantity received in damaged condition. These items are added to the destination
[Location](entity:Location)'s inventory with [InventoryState](entity:InventoryState) of WASTE.

This field cannot be updated directly in Create/Update operations, instead use [ReceiveTransferOrder](api-endpoint:TransferOrders-ReceiveTransferOrder).
Read only: true
quantity_orderedstringRequired within parentTotal quantity ordered, formatted as a decimal string (e.g. "10 or 10.0000"). Required to be a positive number.

To remove a line item, set `remove` to `true` in [UpdateTransferOrder](api-endpoint:TransferOrders-UpdateTransferOrder).
Minimum length: 1
Pattern: ^\d*\.?\d*$
quantity_pendingstringOptionalCalculated quantity of this line item's yet to be received stock. This is the difference between the total quantity ordered and the sum of quantities received, canceled, and damaged.
Read only: true
quantity_receivedstringOptionalQuantity received at destination. These items are added to the destination
[Location](entity:Location)'s inventory with [InventoryState](entity:InventoryState) of IN_STOCK.

This field cannot be updated directly in Create/Update operations, instead use [ReceiveTransferOrder](api-endpoint:TransferOrders-ReceiveTransferOrder).
Read only: true
uidstringOptionalUnique system-generated identifier for the line item. Provide when updating/removing a line via [UpdateTransferOrder](api-endpoint:TransferOrders-UpdateTransferOrder).
Read only: true

Update Transfer Order — request body — body

FieldTypePresenceDescription and constraints
$objectRootRequest to update a transfer order
idempotency_keystringRequired within parentA unique string that identifies this UpdateTransferOrder request. Keys must contain only alphanumeric characters, dashes and underscores
Minimum length: 1
transfer_orderModelRequired within parentExpand Update Transfer Order — request body — body transfer order
The transfer order updates to apply
versionJSONOptional
version (anyOf 1)integerAlternativeVersion for optimistic concurrency
Format: int64
Minimum: -9223372036854775808
Maximum: 9223372036854775807
version (anyOf 2)stringAlternativePattern: ^(?:-(?:1[0-9]{18}|[2-8][0-9]{18}|9(?:0[0-9]{17}|1[0-9]{17}|2(?:0[0-9]{16}|1[0-9]{16}|2(?:0[0-9]{15}|[1-2][0-9]{15}|3(?:0[0-9]{14}|[1-2][0-9]{14}|3(?:0[0-9]{13}|[1-6][0-9]{13}|7(?:0[0-9]{12}|1[0-9]{12}|20(?:0[0-9]{10}|[1-2][0-9]{10}|3(?:0[0-9]{9}|[1-5][0-9]{9}|6(?:0[0-9]{8}|[1-7][0-9]{8}|8(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-6][0-9]{4}|7(?:0[0-9]{3}|[1-4][0-9]{3}|5(?:0[0-9]{2}|[1-7][0-9]{2}|80[0-8]))))))))))))))))|-[1-9][0-9]{0,17}|0|(?:1[0-9]{18}|[2-8][0-9]{18}|9(?:0[0-9]{17}|1[0-9]{17}|2(?:0[0-9]{16}|1[0-9]{16}|2(?:0[0-9]{15}|[1-2][0-9]{15}|3(?:0[0-9]{14}|[1-2][0-9]{14}|3(?:0[0-9]{13}|[1-6][0-9]{13}|7(?:0[0-9]{12}|1[0-9]{12}|20(?:0[0-9]{10}|[1-2][0-9]{10}|3(?:0[0-9]{9}|[1-5][0-9]{9}|6(?:0[0-9]{8}|[1-7][0-9]{8}|8(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-6][0-9]{4}|7(?:0[0-9]{3}|[1-4][0-9]{3}|5(?:0[0-9]{2}|[1-7][0-9]{2}|80[0-7]))))))))))))))))|[1-9][0-9]{0,17})$(?!\n)

Referenced models: Update Transfer Order — request body — body transfer order

Update Transfer Order — request body — body transfer order

FieldTypePresenceDescription and constraints
$objectRootData model for updating a transfer order. All fields are optional.
destination_location_idJSONOptional
destination_location_id (anyOf 1)stringAlternativeThe destination [Location](entity:Location) that will receive the items. Must be an active location
in your Square account.
Maximum length: 64
Minimum length: 1
destination_location_id (anyOf 2)nullAlternative
expected_atJSONOptional
expected_at (anyOf 1)stringAlternativeExpected transfer date in RFC 3339 format (e.g. "2023-10-01T12:00:00Z").
expected_at (anyOf 2)nullAlternative
line_itemsJSONOptional
line_items (anyOf 1)arrayAlternativeList of items being transferred
line_items (anyOf 1)[]ModelEach itemExpand Update Transfer Order — request body — body transfer order line items List of items being transferred item
line_items (anyOf 2)nullAlternative
notesJSONOptional
notes (anyOf 1)stringAlternativeOptional notes about the transfer
Maximum length: 4096
notes (anyOf 2)nullAlternative
source_location_idJSONOptional
source_location_id (anyOf 1)stringAlternativeThe source [Location](entity:Location) that will send the items. Must be an active location
in your Square account with sufficient inventory of the requested items.
Maximum length: 64
Minimum length: 1
source_location_id (anyOf 2)nullAlternative
tracking_numberJSONOptional
tracking_number (anyOf 1)stringAlternativeShipment tracking number
Maximum length: 64
tracking_number (anyOf 2)nullAlternative

Referenced models: Update Transfer Order — request body — body transfer order line items List of items being transferred item

Update Transfer Order — request body — body transfer order line items List of items being transferred item

FieldTypePresenceDescription and constraints
$objectRootRepresents a line item update in a transfer order
item_variation_idJSONOptional
item_variation_id (anyOf 1)stringAlternativeCatalog item variation being transferred

Required for new line items, but otherwise is not updatable.
Maximum length: 64
Minimum length: 1
item_variation_id (anyOf 2)nullAlternative
quantity_orderedJSONOptional
quantity_ordered (anyOf 1)stringAlternativeTotal quantity ordered
Maximum length: 16
Minimum length: 1
Pattern: ^(0|[1-9]\d*)(\.\d{1,4})?$
quantity_ordered (anyOf 2)nullAlternative
removeJSONOptional
remove (anyOf 1)booleanAlternativeFlag to remove the line item during update. Must include `uid` in removal request
remove (anyOf 2)nullAlternative
uidJSONOptional
uid (anyOf 1)stringAlternativeLine item id being updated. Required for updating/removing existing line items, but should not be set for new line items.
Maximum length: 64
Minimum length: 1
uid (anyOf 2)nullAlternative

Update Transfer Order — response body

FieldTypePresenceDescription and constraints
$objectRootResponse for updating a transfer order
errorsarrayOptionalAny errors that occurred during the request
errors[]ModelEach itemExpand Get Shift — response body — errors item
transfer_orderModelOptionalExpand Start Transfer Order — response body — transfer order
The updated transfer order

Referenced models: Get Shift — response body — errors item, Start Transfer Order — response body — transfer order

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.