---
title: "updateStatus Asset"
method: PATCH
path: "/ops/asset/{id}"
tags: ["ops"]
---

# updateStatus Asset

`PATCH /ops/asset/{id}`

Modify Asset Status

## Path parameters

- `id` string, regexp, required — topi asset ID

## Request body

- UpdateStatusRequestBody
  - `state` 'created' | 'shipped' | 'return_completed' | 'purchased' | 'ops_canceled', required — Product payload

## Response `200`

OK response.

- AssetDetail — An asset detail with info from the txlog and end customer
  - `id` string, regexp, required — asset ID
  - `offer_id` string, regexp — reference to the originating offer
  - `serial_number` string — This is an id that identifies this asset as unique
  - `status` 'created' | 'shipped' | 'return_completed' | 'purchased' | 'return_in_progress' | 'upgrade_in_progress' | 'purchase_in_progress' | 'upgrade_in_progress_in_term' | 'return_in_progress_in_term' | 'ops_canceled' | 'ending_soon' | 'overdue', required
  - `subtitle` string — The asset title from txlog
  - `title` string, required — The pretty name of the asset
  - `txlog_status` string — The status from txlog

## Other responses

- `401` — Unauthorized: Unauthorized response.
- `403` — InvalidScopes: Forbidden response.
- `404` — NotFound: Not Found response.

---

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