Skip to main content

Relations Overview

RelationshipTypeDescription
OrderReturnRequest → OrderReturnRequestLineItemOne-to-ManyA return request has many line items
OrderReturnRequest → Customer (Customer Module)Read-only - has oneA return request belongs to a customer
OrderReturnRequest → ShippingOption (Fulfillment Module)Read-only - has oneA return request references a shipping option
OrderReturnRequestLineItem → LineItem (Order Module)Read-only - has oneA return request line item references an order line item

Data Models

OrderReturnRequest

This documentation provides a reference to the OrderReturnRequest data model. It belongs to the Order Return Request Module.
FieldTypeDescription
idPrimaryKeyModifier<IdProperty>The ID of the order return request.
customer_idTextPropertyThe ID of the customer who created the return request.
customer_noteTextPropertyThe customer’s note explaining the reason for the return.
shipping_option_idTextPropertyThe ID of the shipping option for returning the items.
vendor_reviewer_idTextPropertyThe ID of the vendor member who reviewed the request.
vendor_reviewer_noteTextPropertyThe vendor’s note regarding the return request.
vendor_review_dateDateTimePropertyThe date when the vendor reviewed the request.
admin_reviewer_idTextPropertyThe ID of the admin user who reviewed the escalated request.
admin_reviewer_noteTextPropertyThe admin’s note regarding the return request.
admin_review_dateDateTimePropertyThe date when the admin reviewed the request.
statusEnumProperty<["pending", "refunded", "withdrawn", "escalated", "canceled"]>The status of the return request. Defaults to pending.
line_itemsHasMany<OrderReturnRequestLineItem>The associated OrderReturnRequestLineItem records.

OrderReturnRequestLineItem

This documentation provides a reference to the OrderReturnRequestLineItem data model. It belongs to the Order Return Request Module.
FieldTypeDescription
idPrimaryKeyModifier<IdProperty>The ID of the order return request line item.
line_item_idTextPropertyThe ID of the original order line item being returned.
quantityNumberPropertyThe quantity of the item to be returned.
reason_idTextPropertyThe ID of the return reason.
return_requestBelongsTo<OrderReturnRequest>The associated OrderReturnRequest.