Skip to main content
PUT
Update vendor address

Authorizations

x-access-token
string
header
required

JWT minted from a merchant API key (mk_live_…) by POST /authenticate. Send the token value directly, with no "Bearer" prefix. Tokens last 14 days and can be renewed at POST /refresh-token; revoking the key refuses the next request made with any token minted from it.

Path Parameters

vendorId
string
required

Vendor ObjectId

Body

application/json
address1
string
Example:

"123 Main Street"

address2
string
Example:

"Suite 100"

city
string
Example:

"New York"

state
string
Example:

"NY"

country
string
Example:

"US"

zip
string
Example:

"10001"

phone
string
Example:

"+1-555-123-4567"

Response

Vendor address updated successfully

success
enum<boolean>
Available options:
true
data
object