Actions40
- Customer Actions
- Customer Group Actions
- Discount Actions
- Document Actions
- Document Payment Actions
- SEPA Payment Actions
Discount → Update Position Group Discount
AI-generatedOverview
This node operation updates an existing position group discount in the EasyBill system. It allows users to modify discount details such as the position ID, customer ID, discount value, and discount type for a specific discount identified by its discount ID. This operation is useful for managing and adjusting group discounts applied to positions in billing or invoicing scenarios.
Use Case Examples
- Updating a group discount to change the discount percentage for a specific customer and position.
- Modifying the discount type from a percentage to a fixed amount for a position group discount.
Properties
| Name | Meaning |
|---|---|
| Discount ID | The unique identifier of the position group discount to update. |
| Customer ID | The identifier of the customer for whom the discount applies. |
| Discount Value | The value of the discount to apply to the position group. |
| Discount Type | The type of discount to apply. Options include Amount (subtracts a fixed amount), Quantity (subtracts value multiplied by quantity), Percent (percentage discount), and Fix (sets a fixed price). |
| Position ID | The identifier for the position to which the discount applies. |
Output
JSON
- `` - The JSON response from the EasyBill API representing the updated position group discount details.
Dependencies
- Requires an API key credential for EasyBill API authentication.
Troubleshooting
- Ensure the Discount ID provided exists and is correct; otherwise, the API will return an error indicating the discount was not found.
- Verify that the discount type and value are valid and conform to the expected formats and ranges.
- Check network connectivity and API endpoint availability if requests fail.
- Handle API rate limits by using the batching options to throttle requests.
