Update order - Grasshopper Labs API
Orders

Update order

Partial update of an existing order. Send only the fields you want to change.

PATCH /api/orders/{order_id}/
Updates are gated by order state

Customer info and notes can be edited until the order is loaded for delivery. Line items can only be modified before the order arrives at the hub. Cancelled and delivered orders are immutable.

Updatable fields

customer
object Optional
Update customer info — typically address, phone, or email corrections.
notes
array Optional
Append notes to the order. Existing notes are preserved.
delivery.scheduled_date
string (ISO 8601) Optional
Request a delivery date change. Subject to availability.

Example

curl -X PATCH https://{licensee-url}/api/orders/22200041771/ \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "customer": {
      "phone1": { "number": "5559876543", "type": 0 }
    }
  }'
{
  "order_id": "22200041771",
  "customer": {
    "phone1": { "number": "5559876543", "type": 0 }
  },
  "updated_at": "2026-05-12T15:22:01.123Z"
  /* ... */
}

Errors

Statuserror.codeCause
404order_not_foundOrder ID does not exist in your scope
409order_immutableOrder is cancelled or delivered and cannot be modified
422date_unavailableRequested delivery date is not available in the route plan