cURL
curl --request PUT \ --url https://staging-api.puppetvendors.com/v1/vendors/{vendorId} \ --header 'Content-Type: application/json' \ --header 'x-access-token: <api-key>' \ --data ' { "vendorName": "<string>", "commissionType": "<string>", "commissionAmount": 123 } '
Modify a vendor’s name or commission settings
Documentation IndexFetch the complete documentation index at: https://dev.puppetvendors.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://dev.puppetvendors.com/llms.txt
Use this file to discover all available pages before exploring further.
"percentage"
"flat"
{ "message": "Vendor updated successfully.", "vendor": { ... } }
curl -X PUT "https://api.puppetvendors.com/v1/vendors/6157faecbebcf01bf49097d9" \ -H "Content-Type: application/json" \ -H "x-access-token: YOUR_JWT_TOKEN" \ -d '{ "commissionAmount": 12 }'
Was this page helpful?