---
title: "PUT /orders/{id}"
method: PUT
path: "/orders/{id}"
tags: ["Orders"]
---

# PUT /orders/{id}

`PUT /orders/{id}`

Update order by ID

## Path parameters

- `id` integer, required

## Request body

- object
  - `custom_field_slug` string — Set this value to the slug of custom field
  - `custom_field_data` string — Set this value to the new data of the custom field

## Response `200`

Successful operation

- object
  - `success` string — True/False value if the request was successful
  - `data` string — The updated data

## Other responses

- `404` — Order could not be found

---

[API](https://skmtc.dev/samcart/apis/samcart-public-api.md) · [All operations](https://skmtc.dev/samcart/apis/samcart-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/samcart/samcart-public-api/revisions/80296f7a00d0/schema)
