Skip to main content
POST
/
v1
/
affiliates
cURL
curl --request POST \
  --url https://api.afficone.com/v1/affiliates \
  --header 'Content-Type: application/json-patch+json' \
  --header 'X-Affi-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "email": "<string>",
  "password": "<string>",
  "coupon": "<string>",
  "approved": true,
  "ignoreProducts": true
}
'

Authorizations

X-Affi-Key
string
header
required

Body

name
string
required
Required string length: 1 - 100
email
string
required
Required string length: 1 - 100
password
string
required
Minimum string length: 8
coupon
string | null
Maximum string length: 16
approved
boolean | null
ignoreProducts
boolean | null

Response

200

OK