cURL
curl --request PUT \ --url https://rest.staging.nickel.com/vendor/{vendorId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "emails": [ "<string>" ], "address": { "street1": "<string>", "street2": "<string>", "city": "<string>", "state": "<string>", "zip": "<string>", "country": "<string>" }, "type": "BUSINESS", "taxId": "<string>" } '
{ "id": "<string>", "name": "<string>", "emails": [ "<string>" ], "address": "<string>", "city": "<string>", "state": "<string>", "zip": "<string>", "type": "<string>", "vendorPayoutMethods": [ { "id": "<string>", "type": "<string>", "routingNumber": "<string>", "accountType": "<string>", "bankName": "<string>", "street": "<string>", "city": "<string>", "state": "<string>", "zip": "<string>", "country": "<string>", "swiftCode": "<string>", "iban": "<string>", "countryCode": "<string>" } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the vendor to update
Update an existing vendor
Show child attributes
BUSINESS
INDIVIDUAL
Successful operation