#josula_api

1 messages ¡ Page 1 of 1 (latest)

raw mistBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1473325990670368893

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

round bough
#

Hey there can you explain a bit more about what you're trying to achieve or share an example?

#

eg, perhaps example quote IDs with the unexpected/expected result

hard junco
#

So I have created a quote that has two products on it. Let's call them product A and product B. Now we need to change the order of these positions on the quote. I mean, I can of course remove all products from the quote and then re-add them in the correct order, but that seems like a crazy overkill. Is there any way to influence the positions of the quote items after they have been added?

round bough
#

Gotcha, thanks. There is no "rank" or order param, so to re-order the items you would need to update the line_items to the order you want for your customer.

hard junco
#

you mean I could just repost them to stripe by changeing the order of the line_items array?

#

or does stripe order these internally?

round bough
#

Yea, i mean replacing/update the line items array to be in the order you want

hard junco
#

ok let me try that

#

seems obv

#

great that works!

#

thanks