Update My Vendor Profile
curl --request PUT \
--url https://staging-api.puppetvendors.com/vendors/me/profile \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"information": {},
"socialMedia": {},
"contactInfo": {},
"policies": {}
}
'import requests
url = "https://staging-api.puppetvendors.com/vendors/me/profile"
payload = {
"information": {},
"socialMedia": {},
"contactInfo": {},
"policies": {}
}
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({information: {}, socialMedia: {}, contactInfo: {}, policies: {}})
};
fetch('https://staging-api.puppetvendors.com/vendors/me/profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://staging-api.puppetvendors.com/vendors/me/profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'information' => [
],
'socialMedia' => [
],
'contactInfo' => [
],
'policies' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://staging-api.puppetvendors.com/vendors/me/profile"
payload := strings.NewReader("{\n \"information\": {},\n \"socialMedia\": {},\n \"contactInfo\": {},\n \"policies\": {}\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("x-access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://staging-api.puppetvendors.com/vendors/me/profile")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"information\": {},\n \"socialMedia\": {},\n \"contactInfo\": {},\n \"policies\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://staging-api.puppetvendors.com/vendors/me/profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"information\": {},\n \"socialMedia\": {},\n \"contactInfo\": {},\n \"policies\": {}\n}"
response = http.request(request)
puts response.read_bodyVendor Profile
Update My Vendor Profile
Update the authenticated vendor’s own profile
PUT
/
vendors
/
me
/
profile
Update My Vendor Profile
curl --request PUT \
--url https://staging-api.puppetvendors.com/vendors/me/profile \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"information": {},
"socialMedia": {},
"contactInfo": {},
"policies": {}
}
'import requests
url = "https://staging-api.puppetvendors.com/vendors/me/profile"
payload = {
"information": {},
"socialMedia": {},
"contactInfo": {},
"policies": {}
}
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({information: {}, socialMedia: {}, contactInfo: {}, policies: {}})
};
fetch('https://staging-api.puppetvendors.com/vendors/me/profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://staging-api.puppetvendors.com/vendors/me/profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'information' => [
],
'socialMedia' => [
],
'contactInfo' => [
],
'policies' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://staging-api.puppetvendors.com/vendors/me/profile"
payload := strings.NewReader("{\n \"information\": {},\n \"socialMedia\": {},\n \"contactInfo\": {},\n \"policies\": {}\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("x-access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://staging-api.puppetvendors.com/vendors/me/profile")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"information\": {},\n \"socialMedia\": {},\n \"contactInfo\": {},\n \"policies\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://staging-api.puppetvendors.com/vendors/me/profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"information\": {},\n \"socialMedia\": {},\n \"contactInfo\": {},\n \"policies\": {}\n}"
response = http.request(request)
puts response.read_bodyV2 Preview — This endpoint is part of the V2 API preview. Breaking changes may occur.
Overview
Update the authenticated vendor’s own profile. Requires a vendor-scoped token. Vendors use this endpoint to maintain their storefront profile (description, social media, contact info, policies) without needing to know their own vendorId.Request Body
The request body mirrors the profile object returned byGET /v2/vendors/me/profile. Only provided fields are updated.
Business description, logos, banner, and business address.
Social handles:
facebook, instagram, twitter, pinterest, youtube, linkedin, tiktok, website.email, phone, location.shippingPolicy, returnsPolicy.Response
200
{ "success": true, "data": { /* updated profile */ } }
Example
curl -X PUT "https://staging-api.puppetvendors.com/vendors/me/profile" \
-H "x-access-token: YOUR_VENDOR_JWT" \
-H "Content-Type: application/json" \
-d '{
"information": { "description": "Handmade artisan products" },
"socialMedia": { "instagram": "myshop" }
}'
More Examples
Update multiple profile fieldscurl -X PUT "https://staging-api.puppetvendors.com/vendors/me/profile" \
-H "Content-Type: application/json" \
-H "x-access-token: YOUR_VENDOR_JWT" \
-d '{
"fields": [
{"field": "description", "value": "Premium organic produce, farm to table"},
{"field": "website", "value": "https://freshproduce.co"},
{"field": "shippingPolicy", "value": "Free shipping on orders over $50"}
]
}'
Was this page helpful?
⌘I