<- Object

Object

OrderLineItemAppliedDiscountBeta

Represents an applied portion of a discount to a line item in an order.

Link to section

Properties

Link to section

uid

string

A unique ID that identifies the applied discount only within this order.

Link to section

discount_uid

string

Required

The uid of the discount that the applied discount represents. It must reference a discount present in the order.discounts field.

This field is immutable. To change which discounts apply to a line item, you must delete the discount and re-add it as a new OrderLineItemAppliedDiscount.

Link to section

applied_money

Read only The amount of money applied by the discount to the line item.

Show attributes