🚀 New: Theme Control Plane API — build, customize, and deploy themes programmatically. Learn more →
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": {}
}Developer API operation for POST /dev/v1/customers//affiliate/convert-to-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": {}
}