Vai al contenuto principale
POST
Create Affiliate

Autorizzazioni

Authorization
string
header
obbligatorio

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corpo

application/json
customer_id
string<uuid>
obbligatorio
tracking_code
string
obbligatorio
Required string length: 1 - 64
company
string | null
Maximum string length: 64
website
string | null
Maximum string length: 255
commission
number
predefinito:0
Intervallo richiesto: 0 <= x <= 99.99
payment_method
enum<string>
predefinito:bank_transfer
Opzioni disponibili:
cheque,
paypal,
bank_transfer
paypal_email
string | null
Maximum string length: 255
bank_name
string | null
Maximum string length: 128
bank_account
string | null
Maximum string length: 128
is_active
boolean
predefinito:true

Risposta

Successful Response

data
AffiliateRead · object | null
meta
PaginationMeta · object | null
error
string | null
error_code
string | null