Update fulfillment order (pickability status, shipping service group, terms of trade)
curl --request PATCH \
--url https://api.quivo.co/orders/fulfillmentOrders/{fulfillmentOrderId} \
--header 'Content-Type: application/json' \
--data '
{
"pickabilityStatus": "Pickable",
"shippingServiceGroupId": 42,
"termsOfTrade": "DAP",
"rebalancingClientResponse": "WAIT"
}
'import requests
url = "https://api.quivo.co/orders/fulfillmentOrders/{fulfillmentOrderId}"
payload = {
"pickabilityStatus": "Pickable",
"shippingServiceGroupId": 42,
"termsOfTrade": "DAP",
"rebalancingClientResponse": "WAIT"
}
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({
pickabilityStatus: 'Pickable',
shippingServiceGroupId: 42,
termsOfTrade: 'DAP',
rebalancingClientResponse: 'WAIT'
})
};
fetch('https://api.quivo.co/orders/fulfillmentOrders/{fulfillmentOrderId}', 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/fulfillmentOrders/{fulfillmentOrderId}",
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([
'pickabilityStatus' => 'Pickable',
'shippingServiceGroupId' => 42,
'termsOfTrade' => 'DAP',
'rebalancingClientResponse' => 'WAIT'
]),
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/fulfillmentOrders/{fulfillmentOrderId}"
payload := strings.NewReader("{\n \"pickabilityStatus\": \"Pickable\",\n \"shippingServiceGroupId\": 42,\n \"termsOfTrade\": \"DAP\",\n \"rebalancingClientResponse\": \"WAIT\"\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/fulfillmentOrders/{fulfillmentOrderId}")
.header("Content-Type", "application/json")
.body("{\n \"pickabilityStatus\": \"Pickable\",\n \"shippingServiceGroupId\": 42,\n \"termsOfTrade\": \"DAP\",\n \"rebalancingClientResponse\": \"WAIT\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quivo.co/orders/fulfillmentOrders/{fulfillmentOrderId}")
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 \"pickabilityStatus\": \"Pickable\",\n \"shippingServiceGroupId\": 42,\n \"termsOfTrade\": \"DAP\",\n \"rebalancingClientResponse\": \"WAIT\"\n}"
response = http.request(request)
puts response.read_bodyThis response has no body data.orders
Update fulfillment order (pickability status, shipping service group, terms of trade)
PATCH
/
orders
/
fulfillmentOrders
/
{fulfillmentOrderId}
Update fulfillment order (pickability status, shipping service group, terms of trade)
curl --request PATCH \
--url https://api.quivo.co/orders/fulfillmentOrders/{fulfillmentOrderId} \
--header 'Content-Type: application/json' \
--data '
{
"pickabilityStatus": "Pickable",
"shippingServiceGroupId": 42,
"termsOfTrade": "DAP",
"rebalancingClientResponse": "WAIT"
}
'import requests
url = "https://api.quivo.co/orders/fulfillmentOrders/{fulfillmentOrderId}"
payload = {
"pickabilityStatus": "Pickable",
"shippingServiceGroupId": 42,
"termsOfTrade": "DAP",
"rebalancingClientResponse": "WAIT"
}
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({
pickabilityStatus: 'Pickable',
shippingServiceGroupId: 42,
termsOfTrade: 'DAP',
rebalancingClientResponse: 'WAIT'
})
};
fetch('https://api.quivo.co/orders/fulfillmentOrders/{fulfillmentOrderId}', 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/fulfillmentOrders/{fulfillmentOrderId}",
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([
'pickabilityStatus' => 'Pickable',
'shippingServiceGroupId' => 42,
'termsOfTrade' => 'DAP',
'rebalancingClientResponse' => 'WAIT'
]),
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/fulfillmentOrders/{fulfillmentOrderId}"
payload := strings.NewReader("{\n \"pickabilityStatus\": \"Pickable\",\n \"shippingServiceGroupId\": 42,\n \"termsOfTrade\": \"DAP\",\n \"rebalancingClientResponse\": \"WAIT\"\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/fulfillmentOrders/{fulfillmentOrderId}")
.header("Content-Type", "application/json")
.body("{\n \"pickabilityStatus\": \"Pickable\",\n \"shippingServiceGroupId\": 42,\n \"termsOfTrade\": \"DAP\",\n \"rebalancingClientResponse\": \"WAIT\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quivo.co/orders/fulfillmentOrders/{fulfillmentOrderId}")
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 \"pickabilityStatus\": \"Pickable\",\n \"shippingServiceGroupId\": 42,\n \"termsOfTrade\": \"DAP\",\n \"rebalancingClientResponse\": \"WAIT\"\n}"
response = http.request(request)
puts response.read_bodyThis response has no body data.Path Parameters
Body
application/json
Available options:
Pickable, Replenishable, Out of Stock Maximum string length:
50Example:
"Pickable"
Id of the shipping service group to assign to this fulfillment order
Example:
42
Terms of trade to assign to this fulfillment order
Available options:
DAP, DDP Example:
"DAP"
The client's answer to a needs-input rebalancing state: SHIP_AVAILABLE reduces the fulfillment order to the available quantities, SPLIT additionally carries the missing quantities into a new fulfillment order, WAIT returns the picked items to the shelf and re-creates the fulfillment order whole. Only accepted while the fulfillment order is in CLIENT_INPUT_REQUIRED
Available options:
WAIT, SHIP_AVAILABLE, SPLIT Example:
"WAIT"
Response
default - undefined