• Example searches: “transaction”, “CreateOrder”, “/v2/locations”, “inventory”, “delete customer”

Object Index

You are viewing an old version of the API
OrderReturnLineItem BETA

The line item being returned in an order.

Properties

Name Description
uid
string

A unique ID for this return line-item entry.

Max Length 60
source_line_item_uid
string

The uid of the line item in the original sale order.

Max Length 60
name
string

The name of the line item.

Max Length 512
quantity
string

Required

The quantity returned, formatted as a decimal number. For example, "3".

Line items with a quantity_unit can have non-integer quantities. For example, "1.70000".

Min Length 1 Max Length 12
quantity_unit
OrderQuantityUnit

The unit and precision that this return line item's quantity is measured in.

note
string

The note of the return line item.

Max Length 2000
catalog_object_id
string

The CatalogItemVariation ID applied to this return line item.

Max Length 192
catalog_version
integer (64-bit)

The version of the catalog object that this line item references.

variation_name
string

The name of the variation applied to this return line item.

Max Length 400
item_type
string

The type of line item: an itemized return, a non-itemized return (custom amount), or the return of an unactivated gift card sale.

return_modifiers
OrderReturnLineItemModifier [ ]

The CatalogModifiers applied to this line item.

applied_taxes
OrderLineItemAppliedTax [ ]

The list of references to OrderReturnTax entities applied to the return line item. Each OrderLineItemAppliedTax has a tax_uid that references the uid of a top-level OrderReturnTax applied to the return line item. On reads, the applied amount is populated.

applied_discounts
OrderLineItemAppliedDiscount [ ]

The list of references to OrderReturnDiscount entities applied to the return line item. Each OrderLineItemAppliedDiscount has a discount_uid that references the uid of a top-level OrderReturnDiscount applied to the return line item. On reads, the applied amount is populated.

base_price_money
Money

The base price for a single unit of the line item.

variation_total_price_money
Money

Read only The total price of all item variations returned in this line item. The price is calculated as base_price_money multiplied by quantity and does not include modifiers.

gross_return_money
Money

Read only The gross return amount of money calculated as (item base price + modifiers price) * quantity.

total_tax_money
Money

Read only The total amount of tax money to return for the line item.

total_discount_money
Money

Read only The total amount of discount money to return for the line item.

total_money
Money

Read only The total amount of money to return for this line item.