#nsad__
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Can you elaborate?
Hello, my friend, i am using api to create product, but i have doubt to create features inside product
What's the doubt?
Maybe my ingles its no good, I need help creating festures in the product using API
You'd just pass the features array when creating the product using the API
https://stripe.com/docs/api/products/create#create_product-features
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
produto = stripe.Product.create(
name=name,
description=description,
features=['oi','dois']
)
this way dont work
What error are you getting?
stripe.error.InvalidRequestError: Request req_9oUGqkKya0Gl2l: Invalid object
okay,this worked, when i change price of product or something, send a webhook?
okay, thanks for everything, have a good day!