Thanks @npub1qm72...74md. What’s the best way to get/set the quantity for products? Unless I missed it, I don’t see a way in the API docs.
Login to reply
Replies (2)
Right now there's no separate endpoint for that. You'd need to fetch the current POS settings, find the product, adjust its quantity and repost the complete settings to the update POS endpoint.
BTCPay Greenfield API (v1)
There is no products api at all. A typical integration would create an invoice on BTCPay with thetotal order amount, similar as you do with traditional payment providers.