Logo
Brex Developer API Documentation

Update vendor

PUT {{baseUrl}}/v1/vendors/:id

Updates an existing vendor by ID.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Idempotency-Key
string
Content-Type
string




RESPONSES

status OK

{ "id": "id minim Duis", "company_name": "magna minim", "email": "commodo laborum cillum pariatur", "phone": "sunt Lorem adipisicing occaecat est", "payment_accounts": [ { "details": { "account_number": "Ut lab", "payment_instrument_id": "Excepteur ullamco", "routing_number": "et commodo Duis irure", "type": { "value": "<Error: Too many levels of nesting to fake this schema>" }, "account_type": { "value": "<Error: Too many levels of nesting to fake this schema>" }, "account_class": { "value": "<Error: Too many levels of nesting to fake this schema>" } } }, { "details": { "account_number": "Ut laborum", "payment_instrument_id": "consequat in", "routing_number": "ullamco veniam", "type": { "value": "<Error: Too many levels of nesting to fake this schema>" }, "account_type": { "value": "<Error: Too many levels of nesting to fake this schema>" }, "account_class": { "value": "<Error: Too many levels of nesting to fake this schema>" } } } ] }



Curl
curl -X PUT 'https://platform.brexapis.com/v1/vendors/:id' -H 'Idempotency-Key: $guid' -H 'Content-Type: application/json'

ENDPOINTS