Skip to main content
PUT
/
vendor
/
{vendorId}
Update a vendor
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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

vendorId
string
required

ID of the vendor to update

Body

application/json

Update an existing vendor

name
string
emails
string[]
address
object
type
enum<string>
Available options:
BUSINESS,
INDIVIDUAL
taxId
string

Response

Successful operation

id
string
name
string | null
emails
string[]
address
string | null
city
string | null
state
string | null
zip
string | null
type
string | null
vendorPayoutMethods
object[]