cURL
curl --request GET \ --url https://api.puppetvendors.com/v2/vendors/{vendorId}/profile \ --header 'x-access-token: <api-key>'
Retrieve a vendor’s custom profile fields
{ "success": true, "data": { "profile": { "fields": [ { "field": "Company Registration", "value": "12345678" }, { "field": "Website", "value": "https://acmesupplies.com" }, { "field": "Tax ID", "value": "GB123456789" } ] } } }
{ "success": false, "error": { "message": "Vendor not found", "code": "NOT_FOUND" } }
curl -X GET https://api.puppetvendors.com/v2/vendors/507f1f77bcf86cd799439011/profile \ -H "x-access-token: YOUR_JWT_TOKEN"