The sales order row object

Attribute

Description

id

Unique identifier for the object.

quantity

The quantity of items for the order line.

variant_id

ID of product variant added to the order line.

tax_rate_id

ID of tax added to price per unit.

price_per_unit

Sales price of one unit (excluding taxes).

price_per_unit_in_base_currency

The sales price of one unit (excluding taxes) in base currency.

total

The total value of the sales order row (excluding taxes) in sales order currency.

total_in_base_currency

The total value of the order (excluding taxes) in base currency.

attributes

An array of sales order row attributes. Each attribute is a key-value pair. Used to add extra details to the sales order row.

attributes.key

Custom key for the sales order row attribute.

attributes.value

Custom value for the key in sales order row attribute.

batch_transactions

An array of batch transactions and their quantities. You can fulfill the item on the order from multiple batches.

batch_transaction.batch_id

ID of the batch for the fulfilled item.

batch_transactions.quantity

The quantity fulfilled from a particular batch.

linked_manufacturing_order_id

The ID of the manufacturing order if there is a make-to-order (MTO) manufacturing order related to the sales order row.

created_at

The timestamp when the sales order row was created.

updated_at

The timestamp when the sales order row was last updated.