---
title: "Update the status of refrigerant use on a work order"
method: PUT
path: "/workorders/{workorderId}/markRefrigerantUse"
tags: ["WorkOrders"]
---

# Update the status of refrigerant use on a work order

`PUT /workorders/{workorderId}/markRefrigerantUse`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/workorders/{workorderId}/markRefrigerantUse`
- Auth: OAuth 2
  - Authorization code: `https://sb2login.servicechannel.com/oauth/authorize`
  - Token URL: `https://sb2login.servicechannel.com/oauth/token`
- TypeScript: <https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/docs/workorders/:workorderId/markRefrigerantUse/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates the status of refrigerant use on the specified work order.
            <br />Set the `refrigerantWasUsed` parameter to either `true` or `false` to mark whether refrigerant was used on the service request or not.

## Path parameters

- `workorderId` integer, required

## Query parameters

- `refrigerantWasUsed` boolean
- `actor` string

## Response `204`

The status of refrigerant use on the specified work order is updated.

## Other responses

- `400`: The request is not accepted due to bad syntax, missing parameters, insufficient data, etc.
- `401`: The requested resource requires authentication.<br/><br/>Error codes:<br/>504 — API call rejected by security permissions
- `404`: The requested resource does not exist on the server.

---

[API](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3.md) - [All operations](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/llms.txt) - [OpenAPI document](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/revisions/d490d6596809?raw)
