Skip to main content
POST
/
dev
/
v1
/
customers
/
{id}
/
affiliate
/
convert-to-balance
Convert affiliate balance
curl --request POST \
  --url https://api.shoppex.io/dev/v1/customers/{id}/affiliate/convert-to-balance \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 0
}'
{
  "data": {}
}

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Path Parameters

id
string
required

Body

amount
default:0
required

Response

200 - application/json

Successful response

data
object