Save seller logo
curl --request POST \
--url https://api.quivo.co/v2/sellers/{id}/logos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fileKey": "<string>",
"mimeType": "<string>"
}
'import requests
url = "https://api.quivo.co/v2/sellers/{id}/logos"
payload = {
"fileKey": "<string>",
"mimeType": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({fileKey: '<string>', mimeType: '<string>'})
};
fetch('https://api.quivo.co/v2/sellers/{id}/logos', 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/v2/sellers/{id}/logos",
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([
'fileKey' => '<string>',
'mimeType' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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/v2/sellers/{id}/logos"
payload := strings.NewReader("{\n \"fileKey\": \"<string>\",\n \"mimeType\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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/v2/sellers/{id}/logos")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"fileKey\": \"<string>\",\n \"mimeType\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quivo.co/v2/sellers/{id}/logos")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"fileKey\": \"<string>\",\n \"mimeType\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"sendToEmail": "<string>",
"sellerAddress": {
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"city": "<string>",
"countryIso2": "<string>",
"zip": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>"
},
"subscriptionPackage": "RISING_STAR",
"name": "<string>",
"usesWarehouseSku": true,
"warehouseId": 123,
"companyName": "<string>",
"sellerServices": [
"<string>"
],
"pixiSellerIdentifier": "<string>",
"pixiArticlePrefix": "<string>",
"pixiManualOrderPrefix": "<string>",
"allowInboundOverReceiving": true,
"allowReturnOverReceiving": true,
"lottableIdRequired": true,
"sendToCcEmail": "<string>",
"voecNumber": "<string>",
"vatNumber": "<string>",
"vatNumberRequired": true,
"homePage": "<string>",
"useArticleBaseData": true,
"eoriNumber": "<string>",
"vatNumberPerCountry": {},
"eoriNumberPerCountry": {},
"sellerLogo": {
"link": "<string>"
},
"exportedAt": "2023-11-07T05:31:56Z",
"managingGroup": "QUIVO",
"customerCareSystem": "SALESFORCE",
"trackingEnabled": true,
"trackingEnabledCarriers": [
"DHL_PARCEL"
],
"dimensionsRequired": true,
"exportTrackingEventToShop": true,
"allowPartialDefault": true,
"customAttributes": "{\"attr1\":\"val1\"}"
}sellers
Save seller logo
Attach an uploaded image as the seller’s logo. First call POST /sellers//logos/upload to get an upload URL and a file key, upload the image to that URL, then call this endpoint with the file key and MIME type.
POST
/
sellers
/
{id}
/
logos
Save seller logo
curl --request POST \
--url https://api.quivo.co/v2/sellers/{id}/logos \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fileKey": "<string>",
"mimeType": "<string>"
}
'import requests
url = "https://api.quivo.co/v2/sellers/{id}/logos"
payload = {
"fileKey": "<string>",
"mimeType": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({fileKey: '<string>', mimeType: '<string>'})
};
fetch('https://api.quivo.co/v2/sellers/{id}/logos', 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/v2/sellers/{id}/logos",
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([
'fileKey' => '<string>',
'mimeType' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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/v2/sellers/{id}/logos"
payload := strings.NewReader("{\n \"fileKey\": \"<string>\",\n \"mimeType\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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/v2/sellers/{id}/logos")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"fileKey\": \"<string>\",\n \"mimeType\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quivo.co/v2/sellers/{id}/logos")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"fileKey\": \"<string>\",\n \"mimeType\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"sendToEmail": "<string>",
"sellerAddress": {
"name": "<string>",
"phone": "<string>",
"email": "<string>",
"city": "<string>",
"countryIso2": "<string>",
"zip": "<string>",
"state": "<string>",
"street": "<string>",
"street2": "<string>"
},
"subscriptionPackage": "RISING_STAR",
"name": "<string>",
"usesWarehouseSku": true,
"warehouseId": 123,
"companyName": "<string>",
"sellerServices": [
"<string>"
],
"pixiSellerIdentifier": "<string>",
"pixiArticlePrefix": "<string>",
"pixiManualOrderPrefix": "<string>",
"allowInboundOverReceiving": true,
"allowReturnOverReceiving": true,
"lottableIdRequired": true,
"sendToCcEmail": "<string>",
"voecNumber": "<string>",
"vatNumber": "<string>",
"vatNumberRequired": true,
"homePage": "<string>",
"useArticleBaseData": true,
"eoriNumber": "<string>",
"vatNumberPerCountry": {},
"eoriNumberPerCountry": {},
"sellerLogo": {
"link": "<string>"
},
"exportedAt": "2023-11-07T05:31:56Z",
"managingGroup": "QUIVO",
"customerCareSystem": "SALESFORCE",
"trackingEnabled": true,
"trackingEnabledCarriers": [
"DHL_PARCEL"
],
"dimensionsRequired": true,
"exportTrackingEventToShop": true,
"allowPartialDefault": true,
"customAttributes": "{\"attr1\":\"val1\"}"
}Authorizations
Access token from POST /v2/oauth2/token, requested with an API credential. See https://api-docs.quivo.co/api-reference/authentication.
Body
application/json
The file key and MIME type of the uploaded logo image
Response
Returns the seller with the new logo.
Complete seller account information. Contains seller details, configuration, subscription information, and account settings.
Carriers for which tracking events are enabled for all shipments of this seller.
Available options:
DHL_PARCEL, DHL_PARCEL_UK, DHL_EXPRESS, DPD, GLS, GO_EXPRESS, POST_AT, POST_AT_LETTER, USPS, ONTRAC, UPS, LASERSHIP, FEDEX, POST_DE, ROYAL_MAIL, SWISS_POST, EVRI, EVRI_DIRECT, CARGO_BOARD, COLISSIMO, DPD_FRANCE, DPD_DE, LETTRE_SUIVIE, TNT_EXPRESS, DELIVENGO, MONDIAL_RELAY, PARCEL_ONE, BARTOLINI, INSTABEE, GEODIS, AMAZON, COLIS_PRIVE, GWC, ARAMEX, OTO, SEVEN_SENDERS, UNTRACKED