Skip to main content
PUT
/
v1
/
vendors
/
{vendorId}
/
profile
Update Vendor Profile
curl --request PUT \
  --url https://api.puppetvendors.com/v1/vendors/{vendorId}/profile \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "field": "<string>",
  "value": {}
}
'

Overview

Update one or more custom profile fields for a vendor. Only fields defined in the shop’s profile configuration are accepted.

Use Cases

  • Sync vendor profile data from an onboarding form or CRM
  • Bulk-update vendor info (tax IDs, bank details) via script
  • Allow vendors to update profiles through a custom portal

Path Parameters

vendorId
string
required
The vendor’s unique ID.

Request Body

Send an array of field/value pairs. Use Get Shop Profile Fields to see which fields are available.
[
  { "field": "companyName", "value": "Acme Corp" },
  { "field": "taxId", "value": "GB123456789" }
]
field
string
required
The profile field name (must match a shop-defined field).
value
string | number | boolean
required
The value to set. Cannot be an object.

Response

200
{
  "message": "Vendor profile updated successfully.",
  "vendor": { ... }
}

Example

curl -X PUT "https://api.puppetvendors.com/v1/vendors/6157faecbebcf01bf49097d9/profile" \
  -H "Content-Type: application/json" \
  -H "x-access-token: YOUR_JWT_TOKEN" \
  -d '[
    { "field": "companyName", "value": "Acme Corp" },
    { "field": "phone", "value": "+44 20 7946 0958" }
  ]'