Apply a discount code to a cart. Replaces any prior code on the
same cart (one code per cart). Computes pro-rata line
allocations and writes a discount_redemptions row pinned to
the cart_id.
Documentation Index
Fetch the complete documentation index at: https://docs.stella-commerce.com/llms.txt
Use this file to discover all available pages before exploring further.
1 - 64