Skip to main content
PUT
Apply discount to subscriber

Authorizations

apiKey
string
header
required

Your OFAuth API key for authenticating requests.

x-connection-id
string
header
required

Requires a connection via the x-connection-id header.

Path Parameters

userId
string | null

User ID (numeric or username)

Minimum string length: 1

Body

application/json
discount
integer
required

Discount percentage (1-100)

Required range: 5 <= x <= 60
period
integer
required

Number of months to apply discount

Required range: 1 <= x <= 12

Response

Successful response

The response is of type object.