Skip to main content

Update rebate group

PATCH 

/v1/partnership/autorebates/groups/:group_id

Update a group's name, rebate percentage, rebate period, default status, or partner link. Always include the intended rebate_percent, even when changing another setting. For WEEKLY or MONTHLY, send rebate_period_value with rebate_period: 1–7 for a weekday or 1–31 for a day of the month. A partner link code must belong to you and cannot be used by another group. Setting a positive percentage, making the group default, or changing its period switches it to MANUAL. Some changes need separate approval; check need_approve in the response. You cannot switch a group to AUTO or change an archived group with this operation.

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​

Updated group and approval requirement.