POST
/
customers
/
{id_or_email}
/
affiliate_balance

Authorizations

Authorization
string
headerrequired

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

Headers

X-Sellix-Merchant
string

The name of the store to perform actions on via the API

Path Parameters

id_or_email
string
required

ID or email associated with the customer

Body

application/json
action
enum<string>

How the amount should be applied to the customer

Available options:
SET,
ADD,
SUBTRACT
amount
number

The amount the action should apply to the customer

Response

200 - application/json
status
integer
data
object
error
string
message
string
env
string