Field

Type

Description

yotpo_product_id

long

Yotpo's unique ID for the product. This value is read-only.

external_product_id
(required)

string

The merchant's unique ID for the product.

quantity
(required)

integer

The quantity of the line item.

total_price

double

The total price of the line item.

subtotal_price

double

The price of the products after discounts but before shipping, taxes, and tips.

coupon_code

string

The coupon code that was used in the purchase.

  • Max length: 255 characters
  • Case sensitive

custom_properties

object

An array of custom property objects.