curl --request PATCH \
--url https://api.quivo.co/orders/{orderId} \
--header 'Content-Type: application/json' \
--data '
{
"address": {
"name": "<string>",
"company": "<string>",
"phone": "<string>",
"email": "<string>",
"street": "<string>",
"street2": "<string>",
"zip": "<string>",
"city": "<string>",
"state": "<string>",
"countryIso2": "<string>",
"latitude": 123,
"longitude": 123
},
"comment": "<string>",
"trackingEnabled": true,
"customAttributes": "{\"attr1\":\"val1\"}"
}
'import requests
url = "https://api.quivo.co/orders/{orderId}"
payload = {
"address": {
"name": "<string>",
"company": "<string>",
"phone": "<string>",
"email": "<string>",
"street": "<string>",
"street2": "<string>",
"zip": "<string>",
"city": "<string>",
"state": "<string>",
"countryIso2": "<string>",
"latitude": 123,
"longitude": 123
},
"comment": "<string>",
"trackingEnabled": True,
"customAttributes": "{\"attr1\":\"val1\"}"
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
address: {
name: '<string>',
company: '<string>',
phone: '<string>',
email: '<string>',
street: '<string>',
street2: '<string>',
zip: '<string>',
city: '<string>',
state: '<string>',
countryIso2: '<string>',
latitude: 123,
longitude: 123
},
comment: '<string>',
trackingEnabled: true,
customAttributes: '{"attr1":"val1"}'
})
};
fetch('https://api.quivo.co/orders/{orderId}', 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/orders/{orderId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'address' => [
'name' => '<string>',
'company' => '<string>',
'phone' => '<string>',
'email' => '<string>',
'street' => '<string>',
'street2' => '<string>',
'zip' => '<string>',
'city' => '<string>',
'state' => '<string>',
'countryIso2' => '<string>',
'latitude' => 123,
'longitude' => 123
],
'comment' => '<string>',
'trackingEnabled' => true,
'customAttributes' => '{"attr1":"val1"}'
]),
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/orders/{orderId}"
payload := strings.NewReader("{\n \"address\": {\n \"name\": \"<string>\",\n \"company\": \"<string>\",\n \"phone\": \"<string>\",\n \"email\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"zip\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"countryIso2\": \"<string>\",\n \"latitude\": 123,\n \"longitude\": 123\n },\n \"comment\": \"<string>\",\n \"trackingEnabled\": true,\n \"customAttributes\": \"{\\\"attr1\\\":\\\"val1\\\"}\"\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.quivo.co/orders/{orderId}")
.header("Content-Type", "application/json")
.body("{\n \"address\": {\n \"name\": \"<string>\",\n \"company\": \"<string>\",\n \"phone\": \"<string>\",\n \"email\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"zip\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"countryIso2\": \"<string>\",\n \"latitude\": 123,\n \"longitude\": 123\n },\n \"comment\": \"<string>\",\n \"trackingEnabled\": true,\n \"customAttributes\": \"{\\\"attr1\\\":\\\"val1\\\"}\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quivo.co/orders/{orderId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"address\": {\n \"name\": \"<string>\",\n \"company\": \"<string>\",\n \"phone\": \"<string>\",\n \"email\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"zip\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"countryIso2\": \"<string>\",\n \"latitude\": 123,\n \"longitude\": 123\n },\n \"comment\": \"<string>\",\n \"trackingEnabled\": true,\n \"customAttributes\": \"{\\\"attr1\\\":\\\"val1\\\"}\"\n}"
response = http.request(request)
puts response.read_bodyThis response has no body data.Update resource
Update an existing order by its ID.
curl --request PATCH \
--url https://api.quivo.co/orders/{orderId} \
--header 'Content-Type: application/json' \
--data '
{
"address": {
"name": "<string>",
"company": "<string>",
"phone": "<string>",
"email": "<string>",
"street": "<string>",
"street2": "<string>",
"zip": "<string>",
"city": "<string>",
"state": "<string>",
"countryIso2": "<string>",
"latitude": 123,
"longitude": 123
},
"comment": "<string>",
"trackingEnabled": true,
"customAttributes": "{\"attr1\":\"val1\"}"
}
'import requests
url = "https://api.quivo.co/orders/{orderId}"
payload = {
"address": {
"name": "<string>",
"company": "<string>",
"phone": "<string>",
"email": "<string>",
"street": "<string>",
"street2": "<string>",
"zip": "<string>",
"city": "<string>",
"state": "<string>",
"countryIso2": "<string>",
"latitude": 123,
"longitude": 123
},
"comment": "<string>",
"trackingEnabled": True,
"customAttributes": "{\"attr1\":\"val1\"}"
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
address: {
name: '<string>',
company: '<string>',
phone: '<string>',
email: '<string>',
street: '<string>',
street2: '<string>',
zip: '<string>',
city: '<string>',
state: '<string>',
countryIso2: '<string>',
latitude: 123,
longitude: 123
},
comment: '<string>',
trackingEnabled: true,
customAttributes: '{"attr1":"val1"}'
})
};
fetch('https://api.quivo.co/orders/{orderId}', 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/orders/{orderId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'address' => [
'name' => '<string>',
'company' => '<string>',
'phone' => '<string>',
'email' => '<string>',
'street' => '<string>',
'street2' => '<string>',
'zip' => '<string>',
'city' => '<string>',
'state' => '<string>',
'countryIso2' => '<string>',
'latitude' => 123,
'longitude' => 123
],
'comment' => '<string>',
'trackingEnabled' => true,
'customAttributes' => '{"attr1":"val1"}'
]),
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/orders/{orderId}"
payload := strings.NewReader("{\n \"address\": {\n \"name\": \"<string>\",\n \"company\": \"<string>\",\n \"phone\": \"<string>\",\n \"email\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"zip\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"countryIso2\": \"<string>\",\n \"latitude\": 123,\n \"longitude\": 123\n },\n \"comment\": \"<string>\",\n \"trackingEnabled\": true,\n \"customAttributes\": \"{\\\"attr1\\\":\\\"val1\\\"}\"\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.quivo.co/orders/{orderId}")
.header("Content-Type", "application/json")
.body("{\n \"address\": {\n \"name\": \"<string>\",\n \"company\": \"<string>\",\n \"phone\": \"<string>\",\n \"email\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"zip\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"countryIso2\": \"<string>\",\n \"latitude\": 123,\n \"longitude\": 123\n },\n \"comment\": \"<string>\",\n \"trackingEnabled\": true,\n \"customAttributes\": \"{\\\"attr1\\\":\\\"val1\\\"}\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quivo.co/orders/{orderId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"address\": {\n \"name\": \"<string>\",\n \"company\": \"<string>\",\n \"phone\": \"<string>\",\n \"email\": \"<string>\",\n \"street\": \"<string>\",\n \"street2\": \"<string>\",\n \"zip\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"countryIso2\": \"<string>\",\n \"latitude\": 123,\n \"longitude\": 123\n },\n \"comment\": \"<string>\",\n \"trackingEnabled\": true,\n \"customAttributes\": \"{\\\"attr1\\\":\\\"val1\\\"}\"\n}"
response = http.request(request)
puts response.read_bodyThis response has no body data.Path Parameters
The unique identifier for an order.
Body
Partial resource data to update at /orders/{orderId}
Request payload for partially updating an existing order. Contains only the fields to be modified, such as delivery dates, shipping preferences, or order metadata.
Request payload for updating the delivery address of an existing order. Contains the new address information and optional address type specification.
Show child attributes
Show child attributes
Optional text which contains instructions for the fulfillment and is sent to the warehouse.
250Optional value setting whether to turn on/off tracking functionality for an order. Additional charges will apply when set to true.
Optional value for custom attributes of order.
Show child attributes
Show child attributes
"{\"attr1\":\"val1\"}"
Response
Bad request - the request payload is invalid, missing required fields, or contains invalid data.