Skip to main content
PUT
/
settings
/
profiles
Update Profile Settings
curl --request PUT \
  --url https://staging-api.puppetvendors.com/settings/profiles \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "information": {},
  "socialMedia": {},
  "contactInfo": {},
  "policies": {},
  "vacation": {},
  "others": {}
}
'
import requests

url = "https://staging-api.puppetvendors.com/settings/profiles"

payload = {
"information": {},
"socialMedia": {},
"contactInfo": {},
"policies": {},
"vacation": {},
"others": {}
}
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: {},
vacation: {},
others: {}
})
};

fetch('https://staging-api.puppetvendors.com/settings/profiles', 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/settings/profiles",
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' => [

],
'vacation' => [

],
'others' => [

]
]),
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/settings/profiles"

payload := strings.NewReader("{\n \"information\": {},\n \"socialMedia\": {},\n \"contactInfo\": {},\n \"policies\": {},\n \"vacation\": {},\n \"others\": {}\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/settings/profiles")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"information\": {},\n \"socialMedia\": {},\n \"contactInfo\": {},\n \"policies\": {},\n \"vacation\": {},\n \"others\": {}\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://staging-api.puppetvendors.com/settings/profiles")

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 \"vacation\": {},\n \"others\": {}\n}"

response = http.request(request)
puts response.read_body
V2 Preview — This endpoint is part of the V2 API preview. Breaking changes may occur.

Overview

Update the authenticated vendor’s profile settings using strict tab-based payload sections. Unknown fields are rejected. Social-media values are normalized to https URLs where applicable. Vendor scope required.

Request Body

information
object
businessLogo, businessLogoId, profileBanner, profileBannerId, description, profileDescription, businessAddress { address1, address2, city, state, postalCode, country }.
socialMedia
object
facebook, instagram, twitter, pinterest, snapchat, youtube, linkedin, whatsapp, tiktok, website.
contactInfo
object
email, phone, location.
policies
object
shippingPolicy, returnsPolicy.
vacation
object
enabled (boolean), timeRange (2-element array of date strings), message.
others
object
hasTax (boolean), vendorTaxRate (number 0–100).

Response

200
{ "success": true, "data": { /* updated profile sections */ } }

Example

curl -X PUT "https://staging-api.puppetvendors.com/settings/profiles" \
  -H "x-access-token: YOUR_VENDOR_JWT" \
  -H "Content-Type: application/json" \
  -d '{
    "information": {
      "description": "Handmade artisan products"
    },
    "socialMedia": {
      "instagram": "myshop",
      "website": "example.com"
    },
    "vacation": {
      "enabled": true,
      "timeRange": ["04/01/2026", "04/10/2026"],
      "message": "Back soon"
    },
    "others": {
      "hasTax": true,
      "vendorTaxRate": 8.25
    }
  }'

More Examples

Update business info and social media
curl -X PUT "https://staging-api.puppetvendors.com/settings/profiles" \
  -H "Content-Type: application/json" \
  -H "x-access-token: YOUR_VENDOR_JWT" \
  -d '{
    "information": {
      "description": "Premium handcrafted goods since 2020",
      "businessAddress": "123 Artisan Way, Portland, OR"
    },
    "socialMedia": {
      "instagram": "https://instagram.com/acmeco",
      "website": "https://acmeco.com"
    }
  }'
Set vacation mode
curl -X PUT "https://staging-api.puppetvendors.com/settings/profiles" \
  -H "Content-Type: application/json" \
  -H "x-access-token: YOUR_VENDOR_JWT" \
  -d '{
    "vacation": {
      "enabled": true,
      "timeRange": ["2026-06-15T00:00:00Z", "2026-07-01T00:00:00Z"],
      "message": "We'\''re on vacation! Orders placed now will ship after July 1st."
    }
  }'