Skip to main content

Create rebate group rule

POST 

/v1/partnership/autorebates/groups/:group_id/rules

Add a rule that determines which rebate percentage applies to eligible client accounts. The new rule is active immediately at 0%, has no matching conditions, and comes after existing active rules. It can apply to accounts not matched by an earlier rule. Use the returned rule ID to set the intended percentage and qualifying account types or reward volumes with the update operation. If the group's active-rule limit has been reached, creation returns HTTP 400. Adding a rule to an AUTO group can switch it to MANUAL.

Required scopes:

  • write: partnership.all.

Rate limits:

  • This operation counts toward the shared limit of 600 requests per 60 seconds per partner, across all of the partner's API keys and all Partnership API operations.

Consistency and recovery notes:

  • This API does not guarantee idempotent writes. If the response is lost, read the affected group, rule, client settings, or rebate rows before deciding whether to send the write again.

Possible errors:

  • Throttled
  • ServiceTransportError
  • Error
  • AuthenticationFailed
  • PermissionDenied
  • ValidationError
  • NotFound

Request​

Responses​

Rule created.