🚀 New: Edit Shoppex themes from the dashboard, the CLI, or an AI agent — one unified workflow. Learn more →
curl --request PATCH \
--url https://api.shoppex.io/dev/v1/reseller-program \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"is_enabled": true,
"default_mode": "AFFILIATE",
"default_commission_percent": 123,
"default_wholesale_discount_percent": 123,
"min_payout_threshold": 123,
"require_verification": true,
"terms_url": "<string>"
}
'{
"data": {}
}Developer API operation for PATCH /dev/v1/reseller-program.
curl --request PATCH \
--url https://api.shoppex.io/dev/v1/reseller-program \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"is_enabled": true,
"default_mode": "AFFILIATE",
"default_commission_percent": 123,
"default_wholesale_discount_percent": 123,
"min_payout_threshold": 123,
"require_verification": true,
"terms_url": "<string>"
}
'{
"data": {}
}Use your Shoppex API key in the Authorization header.
AFFILIATE Successful response