Skip to main content
PATCH
/
dev
/
v1
/
affiliates
/
customers
/
{customerId}
/
status
Update affiliate customer status
curl --request PATCH \
  --url https://api.shoppex.io/dev/v1/affiliates/customers/{customerId}/status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "action": "disable"
}
'
{
  "data": {}
}

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Path Parameters

customerId
string
required

Body

action
required
Available options:
disable

Response

200 - application/json

Successful response

data
object