EasyBill icon

EasyBill

Kommuniziert mit der EasyBill API für Kunden

Discount → Create Position Group Discount

AI-generated

Overview

This node operation creates a position group discount in the EasyBill system. It allows users to specify a discount for a particular position and customer, defining the discount value and type. This is useful for automating discount management in billing workflows, such as applying percentage or fixed discounts to grouped items for specific customers.

Use Case Examples

  1. Create a 10% discount for a specific product position for a VIP customer.
  2. Apply a fixed amount discount to a group of positions for a customer during a promotional campaign.

Properties

Name Meaning
Customer ID The identifier of the customer for whom the discount is applied.
Discount Value The discount value to apply to the position group.
Discount Type The type of discount to apply, such as amount, quantity-based, percentage, or fixed price.
Position ID The identifier for the position to which the discount applies.

Output

JSON

  • position_id - The identifier of the position for which the discount was created.
  • customer_id - The identifier of the customer associated with the discount.
  • discount - The discount value applied.
  • discount_type - The type of discount applied (e.g., AMOUNT, QUANTITY, PERCENT, FIX).

Dependencies

  • EasyBill API with an API key credential

Troubleshooting

  • Ensure that the Customer ID and Position ID are valid and exist in the EasyBill system to avoid errors.
  • Verify that the discount type is one of the supported options (AMOUNT, QUANTITY, PERCENT, FIX).
  • Check API credentials and network connectivity if requests fail.
  • Common error messages may include invalid identifiers or missing required fields; ensure all required parameters are provided.

Links

  • EasyBill API Documentation - Official API documentation for EasyBill, useful for understanding endpoints and parameters related to discounts.

Discussion