CartLineTarget object

A discount Target that applies to a specific cart line, up to an optional quantity limit.

Fields

  • id (ID!) Required

    The ID of the targeted cart line.

  • quantity (Int)

    The number of line items that are being discounted. The default value is null, which represents the quantity of the matching line items.

    The value is validated against: > 0.

A discount Target that applies to a specific cart line, up to an optional quantity limit.

Fields

  • id (ID!) Required

    The ID of the targeted cart line.

  • quantity (Int)

    The number of line items that are being discounted. The default value is null, which represents the quantity of the matching line items.

    The value is validated against: > 0.