curl --request PUT \
--url https://api.quivo.co/contacts/{sellerId}/{contactId} \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"notificationSubscriptions": [
{
"type": "<string>",
"category": "<string>"
}
],
"notificationCategories": []
}
'import requests
url = "https://api.quivo.co/contacts/{sellerId}/{contactId}"
payload = {
"email": "<string>",
"notificationSubscriptions": [
{
"type": "<string>",
"category": "<string>"
}
],
"notificationCategories": []
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
email: '<string>',
notificationSubscriptions: [{type: '<string>', category: '<string>'}],
notificationCategories: []
})
};
fetch('https://api.quivo.co/contacts/{sellerId}/{contactId}', 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://api.quivo.co/contacts/{sellerId}/{contactId}",
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([
'email' => '<string>',
'notificationSubscriptions' => [
[
'type' => '<string>',
'category' => '<string>'
]
],
'notificationCategories' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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://api.quivo.co/contacts/{sellerId}/{contactId}"
payload := strings.NewReader("{\n \"email\": \"<string>\",\n \"notificationSubscriptions\": [\n {\n \"type\": \"<string>\",\n \"category\": \"<string>\"\n }\n ],\n \"notificationCategories\": []\n}")
req, _ := http.NewRequest("PUT", url, payload)
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://api.quivo.co/contacts/{sellerId}/{contactId}")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"<string>\",\n \"notificationSubscriptions\": [\n {\n \"type\": \"<string>\",\n \"category\": \"<string>\"\n }\n ],\n \"notificationCategories\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quivo.co/contacts/{sellerId}/{contactId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"email\": \"<string>\",\n \"notificationSubscriptions\": [\n {\n \"type\": \"<string>\",\n \"category\": \"<string>\"\n }\n ],\n \"notificationCategories\": []\n}"
response = http.request(request)
puts response.read_body{
"email": "<string>",
"subscriptionType": "ALL",
"notificationSubscriptions": [
{
"type": "<string>",
"category": "<string>"
}
],
"id": 123
}Update contact
Update an existing contact for the specified seller. Non-admin users can only update their own contact and can only use their own email address (case-insensitive); otherwise the request is rejected with 403.
curl --request PUT \
--url https://api.quivo.co/contacts/{sellerId}/{contactId} \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"notificationSubscriptions": [
{
"type": "<string>",
"category": "<string>"
}
],
"notificationCategories": []
}
'import requests
url = "https://api.quivo.co/contacts/{sellerId}/{contactId}"
payload = {
"email": "<string>",
"notificationSubscriptions": [
{
"type": "<string>",
"category": "<string>"
}
],
"notificationCategories": []
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
email: '<string>',
notificationSubscriptions: [{type: '<string>', category: '<string>'}],
notificationCategories: []
})
};
fetch('https://api.quivo.co/contacts/{sellerId}/{contactId}', 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://api.quivo.co/contacts/{sellerId}/{contactId}",
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([
'email' => '<string>',
'notificationSubscriptions' => [
[
'type' => '<string>',
'category' => '<string>'
]
],
'notificationCategories' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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://api.quivo.co/contacts/{sellerId}/{contactId}"
payload := strings.NewReader("{\n \"email\": \"<string>\",\n \"notificationSubscriptions\": [\n {\n \"type\": \"<string>\",\n \"category\": \"<string>\"\n }\n ],\n \"notificationCategories\": []\n}")
req, _ := http.NewRequest("PUT", url, payload)
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://api.quivo.co/contacts/{sellerId}/{contactId}")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"<string>\",\n \"notificationSubscriptions\": [\n {\n \"type\": \"<string>\",\n \"category\": \"<string>\"\n }\n ],\n \"notificationCategories\": []\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quivo.co/contacts/{sellerId}/{contactId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"email\": \"<string>\",\n \"notificationSubscriptions\": [\n {\n \"type\": \"<string>\",\n \"category\": \"<string>\"\n }\n ],\n \"notificationCategories\": []\n}"
response = http.request(request)
puts response.read_body{
"email": "<string>",
"subscriptionType": "ALL",
"notificationSubscriptions": [
{
"type": "<string>",
"category": "<string>"
}
],
"id": 123
}Path Parameters
The unique identifier for the seller account. This ID is used to scope operations to a specific seller's data and resources.
The unique identifier for a contact associated with the seller.
Body
Complete resource data to update at /contacts/{sellerId}/{contactId}
Request payload for creating a new contact associated with a seller. Contains contact information including name, email, phone, and address details.
Email address
The type or category of the subscription
ALL, CUSTOM, NOTHING Subscription information
Show child attributes
Show child attributes
Array of notification categorie
ORDERS, RETURN_SHIPMENTS, ITEMS, INBOUNDS, SHOPS, RETURN_LINK_LABEL, SHIPMENT_LABEL, INVENTORY, API_KEY_REQUESTS, IMPORTANT Response
Returns the updated contact with current contact details.
Contact information associated with a seller. Contains name, email, phone, address, and relationship details.