Line item

yotpo_product_idlongYotpo's unique ID for the product. This value is read-only.
stringThe merchant's unique ID for the product.
integerThe quantity of the line item.
total_pricedoubleThe total price of the line item.
subtotal_pricedoubleThe price of the products after discounts but before shipping, taxes, and tips.
coupon_codestringThe coupon code that was used in the purchase.
- Max length: 255 characters
- Case sensitive
custom_propertiesobjectAn array of custom property objects.