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

Body

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

Response

200

OK