#sticks-prices-inline
1 messages · Page 1 of 1 (latest)
You should be able to set line_items[].price_data during Quote creation to create a one-time price (see https://stripe.com/docs/api/quotes/create#create_quote-line_items-price_data)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
well, do I need to create product for this? Its something that the price would change a lot and a set product won't work here. Or am I reading this incorrectly.
Yes, you'd need to create a Product for this beforehand
If the price changes a lot that's fine - a single Product can hhave multiple prices
so what I'm understanding is:
This price is tempary, but links to a existing proudct? or does the price stick around
The price sticks around, but it won't be active (https://stripe.com/docs/api/prices/object#price_object-active) so it can't be used for new purchases
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.