Fulfillment Manager API · rates
Live rates from every carrier account with a quoteUrl, each coded <car_>:<service>
POST /rates
For a parcel (orderId + shipmentId, or locationId, to, cartons, currency) or a sale's lines (currency, to or shippingAddressId); 400 QuoteInputInvalid, 409 NoShipFrom. sealed goes back with a booking or shippingRate. Appends nothing: a quote is kept nowhere. No idempotency key: each call asks the carriers again and changes nothing.
Access
Requires shipping:read.
How scopes come from roles: Scopes and roles. Getting a token: Authentication and app tokens.
Retries
No idempotency key: each call asks the carriers again and changes nothing.
Why every write carries a key: Idempotency and retries.
Facts appended
None. This call records nothing in a journal.
What a fact is: Facts and the journal.
AI agent tool
Agents call this as fulfillment_quote_rates (Fulfillment: Quote rates), in the parcels toolset.
Connecting an agent: AI agents.
Example
curl -X POST 'https://fulfillment.getmanifold.io/rates' \
-H "Authorization: Bearer $MANIFOLD_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"orderId": "ord_01a159a0-cfd0-70e1-9bf2-a4b5c6d7e8f9",
"shipmentId": "shp_01a159a0-cfd0-70e1-9bf2-c6d7e8f90a1b"
}'const response = await fetch("https://fulfillment.getmanifold.io/rates", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.MANIFOLD_TOKEN}`, "Content-Type": "application/json" },
body: JSON.stringify({
"orderId": "ord_01a159a0-cfd0-70e1-9bf2-a4b5c6d7e8f9",
"shipmentId": "shp_01a159a0-cfd0-70e1-9bf2-c6d7e8f90a1b"
}),
});
if (!response.ok) throw new Error(`${response.status}: ${await response.text()}`);
const answer = await response.json();{
"orderId": "ord_01a159a0-cfd0-70e1-9bf2-a4b5c6d7e8f9",
"shipmentId": "shp_01a159a0-cfd0-70e1-9bf2-c6d7e8f90a1b"
}{
"rates": [
{
"code": "car_01a0f6b3-2d00-7a91-9b13-e8f90a1b2c3d:7E55",
"carrierAccountId": "car_01a0f6b3-2d00-7a91-9b13-e8f90a1b2c3d",
"title": "Australia Post · Parcel Post",
"service": {
"code": "7E55",
"name": "Parcel Post",
"carrier": "Australia Post"
},
"priceCents": 1395,
"currency": "AUD",
"etaDays": {
"min": 2,
"max": 5
}
},
{
"code": "car_01a0f6b3-2d00-7a91-9b13-e8f90a1b2c3d:7J55",
"carrierAccountId": "car_01a0f6b3-2d00-7a91-9b13-e8f90a1b2c3d",
"title": "Australia Post · Express Post",
"service": {
"code": "7J55",
"name": "Express Post",
"carrier": "Australia Post"
},
"priceCents": 1980,
"currency": "AUD",
"etaDays": {
"min": 1,
"max": 2
}
}
],
"unanswered": [],
"estimated": false,
"unweighed": [],
"sealed": "v2.bb69318e.leF4NuWnwS59NbfvosrUhoeY5ck0miHaIN1GJ+dqLGL1+RREhp04qMH3HEJkVBbmzMc664oOnBUXAN/12kZWRgy0HcGyZSdRo9Acz1ZCIbQIz3oj2XwLagX"
}The panel writes this call in other languages. It does not send it: Manifold's APIs do not take calls from a web
page on another site, so run the call from your own code or terminal. The whole API as OpenAPI: fulfillment-manager.openapi.json. Base URL https://fulfillment.getmanifold.io.
Errors
Every refusal is a status and a JSON body whose _tag names it. A refused call changes nothing.
400
| Refusal | What it means | What to do |
|---|---|---|
QuoteInputInvalid reason | The quote request is missing what a carrier needs. reason says what. | Add it and ask again. |
401
| Refusal | What it means | What to do |
|---|---|---|
Unauthorized reason | The token is missing, expired or not one Manifold issued. | Get a fresh token and send the call again. |
TokenAlreadyUsed tokenId | A single-use app token was already spent. | Mint a new token for this call. |
402
| Refusal | What it means | What to do |
|---|---|---|
SubscriptionRequired status | The organization's subscription has lapsed, so writes are refused. | An owner settles billing. Reads still work meanwhile. |
403
| Refusal | What it means | What to do |
|---|---|---|
TenantRequired userId | The token names no organization. | Choose the organization, then get a new token. |
ScopeRequired required | The token's roles do not grant the scope this call needs. | Ask an owner or admin for a role that grants it. |
404
| Refusal | What it means | What to do |
|---|---|---|
FulfillmentOrderNotFound orderId | No such record in this organization. | Check the id in the path or the body. |
ShipmentNotFound orderId, shipmentId | No such record in this organization. | Check the id in the path or the body. |
LocationNotFound locationId | No such record in this organization. | Check the id in the path or the body. |
409
| Refusal | What it means | What to do |
|---|---|---|
NoShipFrom locationId | The location has no address to ship from. | Give the location an address first. |
MirroredFromSource source | This area is fed by your source system until the organization goes live. | Make the change in the source system, or go live first. |
502
| Refusal | What it means | What to do |
|---|---|---|
InventoryUnavailable reason | The inventory service did not answer, so nothing changed. | Send the same request again shortly. |
CrmUnavailable reason | Customer records could not be read, so nothing changed. | Send the same request again shortly. |
503
| Refusal | What it means | What to do |
|---|---|---|
RequestLogUnavailable tokenId, reason | The service could not record the request, so it did nothing. | Send the same request again shortly. |
How refusals work everywhere: Errors.