Skip to main content
When creating sessions with discounted items, you should write the price after discounts, as this is what the customer is paying. If you want to add metadata to the sessions to signal that a discount has been given, you can use order.items[*].discount_lines if the discount is connected to a particular item or order.discount_lines if the discount is on the full order. See the api spec for more details.

Example 1: Discount added per item

Example 2: Discount added on the order

Last modified on May 13, 2026