Create an order - Line items

WooCommerce icon

The table below shows additional fields related to the Line items field in the Create an order action

Line items

Field

Subfields

Data type

Required?

Country ISO code - The ISO code of the country associated with the line item

 

String

 

Subtotal - The line subtotal (before discounts)

 

String

 

Total - The line total (after discounts)

 

String

 

Postal code - The postal code associated with the line item

 

String

 

Product ID - The product ID

 

String

 

Name - The product name

 

String

 

Quantity - The quantity ordered

 

String

 

Tax class - The slug of the product's tax class

 

String

 

Variation ID - The variation ID (if applicable)

 

String