The sales order row object

AttributeDescription
idUnique identifier for the object.
sales_order_idThe ID of the sales order the row belongs to.
quantityThe quantity of items for the order line.
variant_idID of product variant added to the order line.
tax_rate_idID of tax added to price per unit.
price_per_unitSales price of one unit (excluding taxes).
price_per_unit_in_base_currencyThe sales price of one unit (excluding taxes) in base currency.
total_discountThe total discount amount applied to the entire sales order row (excluding taxes)
totalThe total value of the sales order row (excluding taxes) in sales order currency.
total_in_base_currencyThe total value of the order row (excluding taxes) in base currency.
attributesAn array of sales order row attributes. Each attribute is a key-value pair. Used to add extra details to the sales order row.
attributes.keyCustom key for the sales order row attribute.
attributes.valueCustom value for the key in sales order row attribute.
batch_transactionsAn array of batch transactions and their quantities. You can fulfill the item on the order from multiple batches.
batch_transaction.batch_idID of the batch for the fulfilled item.
batch_transactions.quantityThe quantity fulfilled from a particular batch.
serial_numbersAn array of serial number IDs
serial_number_transactionsAn array of serial number transactions and their quantities. You can add multiple serial numbers to an item.
serial_number_transactions.serial_number_idID of the serial number for the fulfilled item.
serial_number_transactions.quantityThe quantity of given serial number, can either be added (1) or removed (0)
linked_manufacturing_order_idThe ID of the manufacturing order if there is a make-to-order (MTO) manufacturing order related to the sales order row.
conversion_rateCurrency rate used to convert from sales order currency into factory base currency. If multiple fulfillments exist for a sales order row, the latest date and corresponding rate are used.
conversion_dateThe date of the conversion rate used. If multiple fulfillments exist for a sales order row, the latest date is used.
created_atThe timestamp when the sales order row was created.
updated_atThe timestamp when the sales order row was last updated.