Skip to main content
PATCH
/
vendors
/
{id}
Update vendor
curl --request PATCH \
  --url https://api.allcovered.xyz/v1/vendors/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "email": "[email protected]",
  "payment_method": "ach"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "email": "[email protected]",
    "payment_method": "ach",
    "bank_name": "<string>",
    "account_name": "<string>",
    "account_number_last4": "<string>",
    "routing_number_last4": "<string>",
    "wallet_address": "<string>",
    "wallet_chain": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}
Update an existing vendor.

Authorizations

Authorization
string
header
required

API key from StableBase dashboard

Path Parameters

id
string<uuid>
required

Resource ID

Body

application/json
name
string
email
string<email>
payment_method
enum<string>
Available options:
ach,
wire,
crypto

Response

Vendor updated

data
object
required