curl --request POST \
--url https://api.quivo.co/contacts/{sellerId} \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"notificationSubscriptions": [
{
"type": "<string>",
"category": "<string>"
}
],
"notificationCategories": []
}
'import requests
url = "https://api.quivo.co/contacts/{sellerId}"
payload = {
"email": "<string>",
"notificationSubscriptions": [
{
"type": "<string>",
"category": "<string>"
}
],
"notificationCategories": []
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
email: '<string>',
notificationSubscriptions: [{type: '<string>', category: '<string>'}],
notificationCategories: []
})
};
fetch('https://api.quivo.co/contacts/{sellerId}', 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}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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}"
payload := strings.NewReader("{\n \"email\": \"<string>\",\n \"notificationSubscriptions\": [\n {\n \"type\": \"<string>\",\n \"category\": \"<string>\"\n }\n ],\n \"notificationCategories\": []\n}")
req, _ := http.NewRequest("POST", 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.post("https://api.quivo.co/contacts/{sellerId}")
.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}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.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
}Create contact
Create a new contact for the specified seller. Non-admin users can only create a contact for their own email address (case-insensitive); any other email is rejected with 403.
curl --request POST \
--url https://api.quivo.co/contacts/{sellerId} \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"notificationSubscriptions": [
{
"type": "<string>",
"category": "<string>"
}
],
"notificationCategories": []
}
'import requests
url = "https://api.quivo.co/contacts/{sellerId}"
payload = {
"email": "<string>",
"notificationSubscriptions": [
{
"type": "<string>",
"category": "<string>"
}
],
"notificationCategories": []
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
email: '<string>',
notificationSubscriptions: [{type: '<string>', category: '<string>'}],
notificationCategories: []
})
};
fetch('https://api.quivo.co/contacts/{sellerId}', 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}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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}"
payload := strings.NewReader("{\n \"email\": \"<string>\",\n \"notificationSubscriptions\": [\n {\n \"type\": \"<string>\",\n \"category\": \"<string>\"\n }\n ],\n \"notificationCategories\": []\n}")
req, _ := http.NewRequest("POST", 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.post("https://api.quivo.co/contacts/{sellerId}")
.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}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.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.
Body
Data to create a new resource at /contacts/{sellerId}
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 newly created contact with assigned identifier and contact details.
Contact information associated with a seller. Contains name, email, phone, address, and relationship details.