object ReturnLineItem

Fields

FieldTypeDescription
idString

Public API ID for this identifiable.

legacy_idBigInt

Numeric legacy ID for this identifiable; use only where legacy IDs are required.

account_idString

Public API account ID that identifies the related record.

line_item_idString

Public API line item ID that identifies the related record.

warehouse_idString

Public API warehouse ID. Use this when passing or filtering by a warehouse; warehouse fields are display values or nested objects.

product_idString

Public API product ID that identifies the related record.

return_idString

Public API return ID that identifies the related record.

quantityInt

Quantity as a whole-unit count.

quantity_receivedInt

Quantity received as a whole-unit count.

restockInt

Restock as a numeric value.

conditionString

Condition for this return line item.

is_componentBoolean

Whether this return line item is component.

typeString

Return type for this return line item.

reasonString

Human-readable reason for this return line item.

created_atISODateTime

Created at as an ISO-8601 datetime, returned in UTC unless otherwise noted.

updated_atISODateTime

Updated at as an ISO-8601 datetime, returned in UTC unless otherwise noted.

line_itemLineItem

Line item associated with this return line item.

productProduct

Product associated with this return line item.

warehouseWarehouse

Warehouse display value or nested warehouse object for this record. Use warehouse_id when passing a warehouse reference.

Referenced By

Example

{
  "id": "UmVjb3JkOjEyMzQ=",
  "legacy_id": 1234,
  "account_id": "UmV0dXJuTGluZUl0ZW06MTIzNA==",
  "line_item_id": "UmV0dXJuTGluZUl0ZW06MTIzNA==",
  "warehouse_id": "UmV0dXJuTGluZUl0ZW06MTIzNA==",
  "product_id": "UmV0dXJuTGluZUl0ZW06MTIzNA==",
  "return_id": "UmV0dXJuTGluZUl0ZW06MTIzNA==",
  "quantity": 2,
  "quantity_received": 2,
  "restock": 100,
  "condition": "new",
  "is_component": true,
  "type": "refund",
  "reason": "Customer requested expedited handling.",
  "created_at": "2026-07-09T15:30:00Z",
  "updated_at": "2026-07-09T15:30:00Z",
  "line_item": {sku: "BLUE-TEE-M", quantity: 2},
  "product": {sku: "BLUE-TEE-M", quantity: 2},
  "warehouse": {id: "V2FyZWhvdXNlOjEyMzQ=", identifier: "Primary Warehouse"}
}