cURL
curl --request GET \ --url https://api.puppetvendors.com/v2/vendor/address \ --header 'x-access-token: <api-key>'
Retrieve the business address for the authenticated vendor
{ "success": true, "data": { "address1": "123 Business Park", "address2": "Unit 4B", "city": "London", "state": "England", "country": "United Kingdom", "zip": "EC1A 1BB", "phone": "+44-20-7946-0958" } }
{ "success": false, "error": "Vendor not found or no address" }
curl -X GET "https://api.puppetvendors.com/v2/vendor/address" \ -H "x-access-token: YOUR_VENDOR_JWT_TOKEN"