ProductVariantTarget object

A discount Target that can apply to any cart lines for a specific product variant, up to an optional quantity limit.

Fields

  • id ( ID!) Required

    The ID of the targeted product variant.

  • quantity ( Int)

    The maximum number of line item units to be discounted. The default value is null, which represents the total quantity of the matching line items.

    The value is validated against: > 0.

A discount Target that can apply to any cart lines for a specific product variant, up to an optional quantity limit.

Fields

  • id ( ID!) Required

    The ID of the targeted product variant.

  • quantity ( Int)

    The maximum number of line item units to be discounted. The default value is null, which represents the total quantity of the matching line items.

    The value is validated against: > 0.

A discount Target that can apply to any cart lines for a specific product variant, up to an optional quantity limit.

Fields

  • id ( ID!) Required

    The ID of the targeted product variant.

  • quantity ( Int)

    The maximum number of line item units to be discounted. The default value is null, which represents the total quantity of the matching line items.

    The value is validated against: > 0.

A discount Target that can apply to any cart lines for a specific product variant, up to an optional quantity limit.

Fields

  • id ( ID!) Required

    The ID of the targeted product variant.

  • quantity ( Int)

    The maximum number of line item units to be discounted. The default value is null, which represents the total quantity of the matching line items.

    The value is validated against: > 0.

A discount Target that can apply to any cart lines for a specific product variant, up to an optional quantity limit.

Fields

  • id ( ID!) Required

    The ID of the targeted product variant.

  • quantity ( Int)

    The maximum number of line item units to be discounted. The default value is null, which represents the total quantity of the matching line items.

    The value is validated against: > 0.

A discount Target that can apply to any cart lines for a specific product variant, up to an optional quantity limit.

Fields

  • id ( ID!) Required

    The ID of the targeted product variant.

  • quantity ( Int)

    The maximum number of line item units to be discounted. The default value is null, which represents the total quantity of the matching line items.

    The value is validated against: > 0.