Assign Carrier

POST /orders/{order_uuid}/assign

Assign an order to one of your connected carriers

application/json

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.

Responses

  • 200
    Hide response attribute Show response attribute object
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"
}