BCL icon

BCL

Consume BCL Payment API

Form → Update Affiliate Settings

AI-generated

Overview

This node operation updates the affiliate settings of a specified form in the BCL Payment API. It allows users to enable or disable the affiliate program, control the visibility of affiliate information on the form, and override global commission settings. This is useful for managing affiliate marketing features directly through the form's configuration, enabling tailored affiliate program management for different forms.

Use Case Examples

  1. Enable the affiliate program for a specific form to allow users to participate in affiliate marketing.
  2. Show or hide affiliate information on the form to control what end-users see.
  3. Override global commission settings for a particular form to customize affiliate commissions.

Properties

Name Meaning
Form ID The unique identifier of the form whose affiliate settings are to be updated.
Affiliate Settings Collection of affiliate-related settings including enabling the affiliate program, showing affiliate info, and overriding commission settings.

Output

JSON

  • enable_affiliate - Indicates if the affiliate program is enabled (1 for true, 0 for false).
  • show_affiliate_info - Indicates if affiliate information is shown on the form (1 for true, 0 for false).
  • override_commission_settings - Indicates if the global commission settings are overridden (1 for true, 0 for false).

Dependencies

  • BCL Payment API with an API token credential

Troubleshooting

  • Authentication errors due to invalid or expired API token. Ensure the API token is valid and correctly configured.
  • Validation errors if required fields are missing or incorrectly formatted. Verify that the Form ID and affiliate settings are correctly provided.
  • API errors such as 400 Bad Request, 403 Forbidden, or 404 Not Found may indicate permission issues or non-existent form IDs. Check permissions and form existence.
  • Server errors (500+) indicate issues on the BCL server side; retry later or contact support.

Links

Discussion