---
title: "Edit Takeout Order"
method: PUT
path: "/pickup-orders/{orderId}"
---

# Edit Takeout Order

`PUT /pickup-orders/{orderId}`

## Path parameters

- `orderId` string, required

## Headers

- `Authorization` string
- `Content-Type` string

## Request body

- object
  - `orderNumber` string, required — Alphanumeric identifier for the order object
  - `additionalId` string — Additional ID for the order
  - `restaurant` object, required — Restaurant information including name, address, contact phone number
    - `name` string, required — Name of the restaurant
    - `address` string, required — Address of the restaurant
    - `phone` string — Phone number of the restaurant with country code
    - `latitude` number, double — Restaurant location latitude
    - `longitude` number, double — Restaurant location longitude
  - `customer` object, required — Customer information containing name, contact phone number and email
    - `name` string, required — The name of the customer
    - `phone` string, required — Phone number of the customer with country code
    - `email` string — Email Address of the customer
  - `tips` number, double — Tips amount for the order
  - `tax` number, double — Tax amount for the order
  - `discountAmount` number, double — Discount amount for the order
  - `totalOrderCost` number, double — Total cost for the particular order
  - `orderItem` object[] — Array of Order item objects
    - `name` string — Name of the order item
    - `quantity` integer — Quantity of the order item
    - `unitPrice` number, double — Price of the order item per unit
    - `addOns` string[] — Array of Add-on items
    - `detail` string — Detailed note (if given)
  - `paymentMethod` 'CARD' | 'CASH' | 'ONLINE' — Selected payment method for the order
  - `pickupInstruction` string — Pickup related instructions for the order
  - `expectedPickupDate` string, date — Expected pickup date in UTC for the particular order (yyyy-mm-dd format)
  - `expectedPickupTime` string, time — Expected pickup time in UTC for the particular order (format hh:mm:ss)
  - `orderSource` string — Source of the order
  - `companyId` integer — Company identifier associated with the order
  - `status` 'IN_PROGRESS' | 'READY' | 'DONE' | 'CANCEL' — Current status of the order

## Response `200`

200

- object
  - `success` boolean
  - `orderId` integer
  - `message` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/shipday/apis/orders.md) · [All operations](https://skmtc.net/shipday/apis/orders/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shipday/orders/versions/a1dbdb6c88ba/schema)
