Body
You may retrieve the carrier_uuid
and the shipping_method_uuid
from the Get Carriers endpoint.
-
carrier_uuid string(uuid) Required
The carrier's uuid.
-
shipping_method_uuid string(uuid) Required
The shipping method uuid
This shipping method must be assigned to you by the specified carrier.
POST /orders/{order_uuid}/assign
curl \
-X POST https://{workspace}.fleetrunnr.com/api/v1/orders/{order_uuid}/assign \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"carrier_uuid":"fd5bcc10-1feb-40c1-9ce7-a3001c6dbed3","shipping_method_uuid":"8a316441-72e9-44sa-b31e-60aff566c8a0"}'
Request example
{
"carrier_uuid": "fd5bcc10-1feb-40c1-9ce7-a3001c6dbed3",
"shipping_method_uuid": "8a316441-72e9-44sa-b31e-60aff566c8a0"
}
Response examples (200)
{
"message": "success"
}