#prerak-theCirqle

1 messages ยท Page 1 of 1 (latest)

balmy jewelBOT
midnight kiln
#

Hi! Let me help you with this.

#

You can still use an existing product for price_data

near raven
#

Okay, inline price does make sense. But it is still tied to one product. So, if I create 3 invoice items with different amounts, in the invoice I will see

  • ProductName amount1
  • ProductName amount2
  • ProductName amount3

But what I want is something like:

ProductName:

  • PriceItem1 amount1
  • PriceItem2 amount2
  • PriceItem3 amount3
midnight kiln
#

I am not sure I'm following.

#

If you give Product a generic name, you can put all the useful info in the price_data

#

Or do you want different sections for different products?

balmy jewelBOT
near raven
#

As the name property only exists on a product, I want to add different sections for different products.
Can this be inline/one time item though? Similar to this option in the dashboard.

#

So the actual product does not get created in the dashboard.

midnight kiln
near raven
#

Got it, so creating an invoice item with customerId, amount and description should do the trick.

#

I will try to implement it and see how it goes.

#

One more question, do you guys have a public Postman collection to test the API endpoints?

hard sluice
#

๐Ÿ‘‹ taking over for my colleague. Let me catch up.

near raven
#

Awesome, thanks for this and all the other help ๐Ÿ™Œ