Onfleet · Arazzo Workflow

Onfleet Fulfill Courier Order

Version 1.0.0

Quote a pickup-and-dropoff order, create it, then read back its status.

1 workflow 1 source API 1 provider
View Spec View on GitHub Last Mile DeliveryLogisticsFleet ManagementDispatchRoute OptimizationCouriersDriversTrackingGeocodingWebhookArtificial IntelligenceSoftware-as-a-ServiceArazzoWorkflows

Provider

onfleet

Workflows

fulfill-courier-order
Quote an order, create it, and confirm its status.
Quotes a pickup-and-dropoff order, creates it, and reads it back to confirm price and status.
3 steps inputs: client, completeBefore, deliveryServiceId, dropoffAddress, pickupAddress outputs: orderShortId, quotedPrice, status
1
quoteOrder
Request a price quote for the pickup-and-dropoff order.
2
createOrder
Create the order using the quoted pickup and dropoff details.
3
confirmOrder
Read the order back by its short id to confirm its status.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Onfleet Fulfill Courier Order
  summary: Quote a pickup-and-dropoff order, create it, then read back its status.
  description: >-
    Runs the Onfleet Connect courier order flow that pairs a pickup task with a
    dropoff task. The workflow first requests a price quote for the order, then
    creates the order with the same pickup and dropoff details, and finally reads
    the order back by its short id to capture the final price, currency, and
    status. Every step spells out its request inline so the flow can be read and
    executed without opening the underlying OpenAPI descriptions.
  version: 1.0.0
sourceDescriptions:
- name: ordersApi
  url: ../openapi/onfleet-orders-api-openapi.yml
  type: openapi
workflows:
- workflowId: fulfill-courier-order
  summary: Quote an order, create it, and confirm its status.
  description: >-
    Quotes a pickup-and-dropoff order, creates it, and reads it back to confirm
    price and status.
  inputs:
    type: object
    required:
    - client
    - pickupAddress
    - dropoffAddress
    properties:
      client:
        type: string
        description: The client organization id placing the order.
      deliveryServiceId:
        type: string
        description: Optional delivery service id to route the order to.
      pickupAddress:
        type: string
        description: A single-line pickup street address Onfleet will geocode.
      dropoffAddress:
        type: string
        description: A single-line dropoff street address Onfleet will geocode.
      completeBefore:
        type: integer
        description: Latest dropoff completion time in Unix milliseconds.
  steps:
  - stepId: quoteOrder
    description: Request a price quote for the pickup-and-dropoff order.
    operationId: quoteOrder
    requestBody:
      contentType: application/json
      payload:
        client: $inputs.client
        deliveryServiceId: $inputs.deliveryServiceId
        pickupTask:
          pickupTask: true
          destination:
            address:
              unparsed: $inputs.pickupAddress
        dropoffTask:
          destination:
            address:
              unparsed: $inputs.dropoffAddress
          completeBefore: $inputs.completeBefore
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      price: $response.body#/price
      currency: $response.body#/currency
  - stepId: createOrder
    description: Create the order using the quoted pickup and dropoff details.
    operationId: createOrder
    requestBody:
      contentType: application/json
      payload:
        client: $inputs.client
        deliveryServiceId: $inputs.deliveryServiceId
        price: $steps.quoteOrder.outputs.price
        currency: $steps.quoteOrder.outputs.currency
        pickupTask:
          pickupTask: true
          destination:
            address:
              unparsed: $inputs.pickupAddress
        dropoffTask:
          destination:
            address:
              unparsed: $inputs.dropoffAddress
          completeBefore: $inputs.completeBefore
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      orderShortId: $response.body#/shortId
  - stepId: confirmOrder
    description: Read the order back by its short id to confirm its status.
    operationId: getOrder
    parameters:
    - name: orderShortId
      in: path
      value: $steps.createOrder.outputs.orderShortId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
      pickupTask: $response.body#/pickupTask
      dropoffTask: $response.body#/dropoffTask
  outputs:
    orderShortId: $steps.createOrder.outputs.orderShortId
    quotedPrice: $steps.quoteOrder.outputs.price
    status: $steps.confirmOrder.outputs.status

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/onfleet-fulfill-courier-order-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.