#Cinji18

1 messages · Page 1 of 1 (latest)

noble wrenBOT
chrome parrot
#

Hi there, can you tell me more about your use case?

versed cedar
#

Each of my products have up to 6 different prices depending on the customer's membership type. It doesn't seem possible for "Create a Price" API to create 6 different prices at once...

chrome parrot
#

No, there's not batch API that allows you to create multiple resources at once.

versed cedar
#

So I do have to call "Create a Price" 6 times for each product.

chrome parrot
#

Yes you are right

versed cedar
#

ok, got it. Thanks.

versed cedar
#

Thanks, Jack.

#

Ok, so I'm using the "Create a Price" API and I know the Product parameter requires a Product ID. But the Product ID comes from the results of the previous call ("Create a Product"), so the ID is dynamic. The call won't work without an ID, but I need it to be dynamic. How do I do that?

chrome parrot
#

Can you share with me your code?

versed cedar
#

I'm actually using Bubble, the low-code app builder