🐛 Describe the Bug
The products API is missing endpoints for taxes. There is currently no way to get the currently configured Taxes via API. You can pull a product and get the list of taxes attached to it, but they are only IDs. You can't get the name or the value of the Taxes.
This makes adding and managing products via API extremely convoluted as you have to manually figure out how each Taxes ID maps to the Name and % in GHL.
📍 API Endpoint
/products/taxes
✅ Expected Behavior
The API should return a list of configured Taxes with:
- ID
- Name
- % of tax
- Any other values necessary for Taxes
Apps can then use this to create/update products' Taxes field, sending the ID via API but using the user readable Name and % Value on the apps' user side.
The API should also allow for creating new Taxes, modifying existing Taxes, and deleting existing Taxes.
💻 Screenshots or Code Samples
No response
Product Area
payment-products
📋 Use Case
We need this field to:
- Add and manage products via API
- See what Taxes are currently set on a product via API
- Add/remove Taxes on products via API
- Add/manage Taxes via API
🚨 Why Should This Be Prioritized?
This should be prioritized because:
- Without it, the products API is significantly less useful for apps
- There is currently no way for an app to view what taxes are on a product, making apps that work with GHL products impossible without manually figuring out the ID mapping for configured product Taxes.
- Apps cannot create products via API, a user must log in to GHL and go through each product to add the Tax unless they manually figure out the Tax ID mappings.
🧠 Additional Context
No response
🐛 Describe the Bug
The products API is missing endpoints for taxes. There is currently no way to get the currently configured Taxes via API. You can pull a product and get the list of taxes attached to it, but they are only IDs. You can't get the name or the value of the Taxes.
This makes adding and managing products via API extremely convoluted as you have to manually figure out how each Taxes ID maps to the Name and % in GHL.
📍 API Endpoint
/products/taxes
✅ Expected Behavior
The API should return a list of configured Taxes with:
Apps can then use this to create/update products' Taxes field, sending the ID via API but using the user readable Name and % Value on the apps' user side.
The API should also allow for creating new Taxes, modifying existing Taxes, and deleting existing Taxes.
💻 Screenshots or Code Samples
No response
Product Area
payment-products
📋 Use Case
We need this field to:
🚨 Why Should This Be Prioritized?
This should be prioritized because:
🧠 Additional Context
No response