Shipping methods
Update a shipping method rate
Updates one rate of a shipping method. Send only the fields you want to change inside shipping_method_rate; an empty body is a no-op. Requires a company admin Bearer token with orders update permission. Returns the updated rate, 404 when the shipping method or rate does not exist, or 422 when validation fails.
PATCH
/
api
/
v2025-06
/
shipping_methods
/
{shipping_method_id}
/
shipping_method_rates
/
{id}
Update a shipping method rate
curl --request PATCH \
--url https://api.fluid.app/api/v2025-06/shipping_methods/{shipping_method_id}/shipping_method_rates/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"shipping_method_rate": {
"price": 7.99
}
}
'import requests
url = "https://api.fluid.app/api/v2025-06/shipping_methods/{shipping_method_id}/shipping_method_rates/{id}"
payload = { "shipping_method_rate": { "price": 7.99 } }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({shipping_method_rate: {price: 7.99}})
};
fetch('https://api.fluid.app/api/v2025-06/shipping_methods/{shipping_method_id}/shipping_method_rates/{id}', 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.fluid.app/api/v2025-06/shipping_methods/{shipping_method_id}/shipping_method_rates/{id}",
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([
'shipping_method_rate' => [
'price' => 7.99
]
]),
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.fluid.app/api/v2025-06/shipping_methods/{shipping_method_id}/shipping_method_rates/{id}"
payload := strings.NewReader("{\n \"shipping_method_rate\": {\n \"price\": 7.99\n }\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.fluid.app/api/v2025-06/shipping_methods/{shipping_method_id}/shipping_method_rates/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"shipping_method_rate\": {\n \"price\": 7.99\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v2025-06/shipping_methods/{shipping_method_id}/shipping_method_rates/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"shipping_method_rate\": {\n \"price\": 7.99\n }\n}"
response = http.request(request)
puts response.read_body{
"id": 4410,
"rate_type_min": "0.0",
"rate_type_max": "49.99",
"price": "7.99",
"country": "US",
"region": null,
"created_at": "2026-09-02T16:11:40.218Z",
"updated_at": "2026-09-15T14:32:08.302Z",
"meta": {
"request_id": "4f1c2a9e-7b3d-4e8a-9c61-2d5f8a0b3e17",
"timestamp": "2026-09-15T14:32:08Z"
}
}{
"message": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Show child attributes
Show child attributes
⌘I
Update a shipping method rate
curl --request PATCH \
--url https://api.fluid.app/api/v2025-06/shipping_methods/{shipping_method_id}/shipping_method_rates/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"shipping_method_rate": {
"price": 7.99
}
}
'import requests
url = "https://api.fluid.app/api/v2025-06/shipping_methods/{shipping_method_id}/shipping_method_rates/{id}"
payload = { "shipping_method_rate": { "price": 7.99 } }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({shipping_method_rate: {price: 7.99}})
};
fetch('https://api.fluid.app/api/v2025-06/shipping_methods/{shipping_method_id}/shipping_method_rates/{id}', 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.fluid.app/api/v2025-06/shipping_methods/{shipping_method_id}/shipping_method_rates/{id}",
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([
'shipping_method_rate' => [
'price' => 7.99
]
]),
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.fluid.app/api/v2025-06/shipping_methods/{shipping_method_id}/shipping_method_rates/{id}"
payload := strings.NewReader("{\n \"shipping_method_rate\": {\n \"price\": 7.99\n }\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.fluid.app/api/v2025-06/shipping_methods/{shipping_method_id}/shipping_method_rates/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"shipping_method_rate\": {\n \"price\": 7.99\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/v2025-06/shipping_methods/{shipping_method_id}/shipping_method_rates/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"shipping_method_rate\": {\n \"price\": 7.99\n }\n}"
response = http.request(request)
puts response.read_body{
"id": 4410,
"rate_type_min": "0.0",
"rate_type_max": "49.99",
"price": "7.99",
"country": "US",
"region": null,
"created_at": "2026-09-02T16:11:40.218Z",
"updated_at": "2026-09-15T14:32:08.302Z",
"meta": {
"request_id": "4f1c2a9e-7b3d-4e8a-9c61-2d5f8a0b3e17",
"timestamp": "2026-09-15T14:32:08Z"
}
}{
"message": "<string>",
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}{
"error_message": "<string>",
"errors": "<string>",
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"cursor": "<string>",
"limit": 123,
"prev_cursor": "<string>",
"next_cursor": "<string>",
"total_count": 123
}
}
}