object Return

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.

order_idString

Public API order ID that identifies the related record.

partner_idString

Public API partner ID that identifies the related record.

reasonString

Human-readable reason for this return.

statusString

Current status; use the API status values returned by this field when filtering or updating.

label_typeReturnLabelType

Label type for this return.

label_costString

Monetary amount as a decimal value in the record currency; not cents.

labels[RMALabelType]

List of labels associated with this return.

cost_to_customerString

Cost to customer for this return.

shipping_carrierString

Carrier name or carrier code used for shipping.

shipping_methodString

Carrier service or shipping method code.

dimensionsDimensions

Package or item dimensions. Length, width, and height are in inches unless account or carrier configuration specifies another unit.

addressAddress

Address details for this return.

line_items[ReturnLineItem]

List of line items associated with this return.

total_items_expectedInt

Total items expected as a numeric value.

total_items_receivedInt

Total items received as a numeric value.

total_items_restockedInt

Total items restocked as a numeric value.

created_atISODateTime

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

display_issue_refundBoolean

Whether the UI should show the issue-refund action for this return.

orderOrder

Order associated with this return.

exchanges[ReturnExchange]

List of exchanges for this return.

return_history[ReturnHistory]

List of return history for this return.

attachments[ReturnAttachment]

List of attachments associated with this return.

Referenced By

Example

{
  "id": "UmVjb3JkOjEyMzQ=",
  "legacy_id": 1234,
  "account_id": "QWNjb3VudDoxMjM0",
  "order_id": "UmV0dXJuOjEyMzQ=",
  "partner_id": "UmV0dXJuOjEyMzQ=",
  "reason": "Customer requested expedited handling.",
  "status": "pending",
  "label_type": "{tracking_number: \"1Z999AA10123456784\", carrier: \"ups\"}",
  "label_cost": "19.99",
  "labels": [[{tracking_number: "1Z999AA10123456784", carrier: "ups"}]],
  "cost_to_customer": "19.99",
  "shipping_carrier": "ups",
  "shipping_method": "ups_ground",
  "dimensions": {length: 12.5, width: 8.0, height: 4.0},
  "address": {address1: "123 Fulfillment Ave", city: "New York", country: "US"},
  "line_items": [[{sku: "BLUE-TEE-M", quantity: 2}]],
  "total_items_expected": 100,
  "total_items_received": 100,
  "total_items_restocked": 100,
  "created_at": "2026-07-09T15:30:00Z",
  "display_issue_refund": true,
  "order": {id: "T3JkZXI6MTIzNA==", order_number: "SO-100045"},
  "exchanges": [[{id: "UmV0dXJuRXhjaGFuZ2U6MTIzNA=="}]],
  "return_history": [[{id: "UmV0dXJuSGlzdG9yeToxMjM0"}]],
  "attachments": [[{filename: "damage-photo.jpg", url: "https://example.com/files/damage-photo.jpg"}]]
}