---
title: "Accept/Decline a service order"
method: POST
path: "/service-orders/{serviceOrderId}/accept-repair"
tags: ["service-orders"]
---

# Accept/Decline a service order

`POST /service-orders/{serviceOrderId}/accept-repair`

## Path parameters

- `serviceOrderId` string, uuid, required

## Headers

- `Content-Type` string, required
- `X-Extend-Access-Token` string, required
- `Accept` string, required

## Request body

- object
  - `decline` boolean
  - `rmaNumber` string
  - `instructions` string

## Response `200`

Accepts or rejects a service order

- object
  - `id` string, required

## Other responses

- `400` — The request to the endpoint was invalid
- `403` — Forbidden
- `404` — The specified resource was not found
- `409` — Conflict
- `500` — Internal server error
- `503` — Service unavailable

---

[API](https://skmtc.dev/extend/apis/leads-api.md) · [All operations](https://skmtc.dev/extend/apis/leads-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/extend/leads-api/revisions/76403e33d7d6/schema)
