Update fulfillment plan
curl --request PUT \
--url https://api.quivo.co/v2/fulfillmentPlans/{sellerId}/{planWhenId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"order": 123,
"sku": "<string>",
"deliveryCountry": "<string>",
"scriptedCondition": "<string>",
"thens": [
{
"order": 123,
"sku": "<string>",
"quantity": "<string>",
"warehouse": "<string>",
"customsValue": "<string>",
"splitId": "<string>",
"lot": "<string>",
"expirationDate": "<string>"
}
]
}
'import requests
url = "https://api.quivo.co/v2/fulfillmentPlans/{sellerId}/{planWhenId}"
payload = {
"order": 123,
"sku": "<string>",
"deliveryCountry": "<string>",
"scriptedCondition": "<string>",
"thens": [
{
"order": 123,
"sku": "<string>",
"quantity": "<string>",
"warehouse": "<string>",
"customsValue": "<string>",
"splitId": "<string>",
"lot": "<string>",
"expirationDate": "<string>"
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
order: 123,
sku: '<string>',
deliveryCountry: '<string>',
scriptedCondition: '<string>',
thens: [
{
order: 123,
sku: '<string>',
quantity: '<string>',
warehouse: '<string>',
customsValue: '<string>',
splitId: '<string>',
lot: '<string>',
expirationDate: '<string>'
}
]
})
};
fetch('https://api.quivo.co/v2/fulfillmentPlans/{sellerId}/{planWhenId}', 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/fulfillmentPlans/{sellerId}/{planWhenId}",
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([
'order' => 123,
'sku' => '<string>',
'deliveryCountry' => '<string>',
'scriptedCondition' => '<string>',
'thens' => [
[
'order' => 123,
'sku' => '<string>',
'quantity' => '<string>',
'warehouse' => '<string>',
'customsValue' => '<string>',
'splitId' => '<string>',
'lot' => '<string>',
'expirationDate' => '<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/fulfillmentPlans/{sellerId}/{planWhenId}"
payload := strings.NewReader("{\n \"order\": 123,\n \"sku\": \"<string>\",\n \"deliveryCountry\": \"<string>\",\n \"scriptedCondition\": \"<string>\",\n \"thens\": [\n {\n \"order\": 123,\n \"sku\": \"<string>\",\n \"quantity\": \"<string>\",\n \"warehouse\": \"<string>\",\n \"customsValue\": \"<string>\",\n \"splitId\": \"<string>\",\n \"lot\": \"<string>\",\n \"expirationDate\": \"<string>\"\n }\n ]\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.quivo.co/v2/fulfillmentPlans/{sellerId}/{planWhenId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"order\": 123,\n \"sku\": \"<string>\",\n \"deliveryCountry\": \"<string>\",\n \"scriptedCondition\": \"<string>\",\n \"thens\": [\n {\n \"order\": 123,\n \"sku\": \"<string>\",\n \"quantity\": \"<string>\",\n \"warehouse\": \"<string>\",\n \"customsValue\": \"<string>\",\n \"splitId\": \"<string>\",\n \"lot\": \"<string>\",\n \"expirationDate\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quivo.co/v2/fulfillmentPlans/{sellerId}/{planWhenId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"order\": 123,\n \"sku\": \"<string>\",\n \"deliveryCountry\": \"<string>\",\n \"scriptedCondition\": \"<string>\",\n \"thens\": [\n {\n \"order\": 123,\n \"sku\": \"<string>\",\n \"quantity\": \"<string>\",\n \"warehouse\": \"<string>\",\n \"customsValue\": \"<string>\",\n \"splitId\": \"<string>\",\n \"lot\": \"<string>\",\n \"expirationDate\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"type": "RULE",
"order": 123,
"sku": "<string>",
"deliveryCountry": "<string>",
"scriptedCondition": "<string>",
"id": 123,
"thens": [
{
"order": 123,
"sku": "<string>",
"quantity": "<string>",
"warehouse": "<string>",
"customsValue": "<string>",
"splitId": "<string>",
"lot": "<string>",
"expirationDate": "<string>",
"id": 123
}
]
}fulfillmentPlans
Update fulfillment plan
Update an existing fulfillment plan for the specified seller.
PUT
/
fulfillmentPlans
/
{sellerId}
/
{planWhenId}
Update fulfillment plan
curl --request PUT \
--url https://api.quivo.co/v2/fulfillmentPlans/{sellerId}/{planWhenId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"order": 123,
"sku": "<string>",
"deliveryCountry": "<string>",
"scriptedCondition": "<string>",
"thens": [
{
"order": 123,
"sku": "<string>",
"quantity": "<string>",
"warehouse": "<string>",
"customsValue": "<string>",
"splitId": "<string>",
"lot": "<string>",
"expirationDate": "<string>"
}
]
}
'import requests
url = "https://api.quivo.co/v2/fulfillmentPlans/{sellerId}/{planWhenId}"
payload = {
"order": 123,
"sku": "<string>",
"deliveryCountry": "<string>",
"scriptedCondition": "<string>",
"thens": [
{
"order": 123,
"sku": "<string>",
"quantity": "<string>",
"warehouse": "<string>",
"customsValue": "<string>",
"splitId": "<string>",
"lot": "<string>",
"expirationDate": "<string>"
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
order: 123,
sku: '<string>',
deliveryCountry: '<string>',
scriptedCondition: '<string>',
thens: [
{
order: 123,
sku: '<string>',
quantity: '<string>',
warehouse: '<string>',
customsValue: '<string>',
splitId: '<string>',
lot: '<string>',
expirationDate: '<string>'
}
]
})
};
fetch('https://api.quivo.co/v2/fulfillmentPlans/{sellerId}/{planWhenId}', 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/fulfillmentPlans/{sellerId}/{planWhenId}",
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([
'order' => 123,
'sku' => '<string>',
'deliveryCountry' => '<string>',
'scriptedCondition' => '<string>',
'thens' => [
[
'order' => 123,
'sku' => '<string>',
'quantity' => '<string>',
'warehouse' => '<string>',
'customsValue' => '<string>',
'splitId' => '<string>',
'lot' => '<string>',
'expirationDate' => '<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/fulfillmentPlans/{sellerId}/{planWhenId}"
payload := strings.NewReader("{\n \"order\": 123,\n \"sku\": \"<string>\",\n \"deliveryCountry\": \"<string>\",\n \"scriptedCondition\": \"<string>\",\n \"thens\": [\n {\n \"order\": 123,\n \"sku\": \"<string>\",\n \"quantity\": \"<string>\",\n \"warehouse\": \"<string>\",\n \"customsValue\": \"<string>\",\n \"splitId\": \"<string>\",\n \"lot\": \"<string>\",\n \"expirationDate\": \"<string>\"\n }\n ]\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.quivo.co/v2/fulfillmentPlans/{sellerId}/{planWhenId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"order\": 123,\n \"sku\": \"<string>\",\n \"deliveryCountry\": \"<string>\",\n \"scriptedCondition\": \"<string>\",\n \"thens\": [\n {\n \"order\": 123,\n \"sku\": \"<string>\",\n \"quantity\": \"<string>\",\n \"warehouse\": \"<string>\",\n \"customsValue\": \"<string>\",\n \"splitId\": \"<string>\",\n \"lot\": \"<string>\",\n \"expirationDate\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quivo.co/v2/fulfillmentPlans/{sellerId}/{planWhenId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"order\": 123,\n \"sku\": \"<string>\",\n \"deliveryCountry\": \"<string>\",\n \"scriptedCondition\": \"<string>\",\n \"thens\": [\n {\n \"order\": 123,\n \"sku\": \"<string>\",\n \"quantity\": \"<string>\",\n \"warehouse\": \"<string>\",\n \"customsValue\": \"<string>\",\n \"splitId\": \"<string>\",\n \"lot\": \"<string>\",\n \"expirationDate\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"type": "RULE",
"order": 123,
"sku": "<string>",
"deliveryCountry": "<string>",
"scriptedCondition": "<string>",
"id": 123,
"thens": [
{
"order": 123,
"sku": "<string>",
"quantity": "<string>",
"warehouse": "<string>",
"customsValue": "<string>",
"splitId": "<string>",
"lot": "<string>",
"expirationDate": "<string>",
"id": 123
}
]
}Authorizations
Access token from POST /v2/oauth2/token, requested with an API credential. See https://api-docs.quivo.co/api-reference/authentication.
Path Parameters
Body
application/json
Complete resource data to update at /fulfillmentPlans/{sellerId}/{planWhenId}
Request payload for creating a new fulfillment plan for a seller. Contains plan configuration including SKU mappings, warehouse assignments, and effective dates.
Response
Returns the updated fulfillment plan with current state.
Fulfillment plan configuration details. Contains SKU mappings, warehouse assignments, effective dates, and plan status.