---
title: "Complete a service on an order item"
method: PATCH
path: "/v1/order-items/{orderItemId}/complete-service"
tags: ["Orders"]
---

# Complete a service on an order item

`PATCH /v1/order-items/{orderItemId}/complete-service`

Update the status of a specific service within an order item. When all services are fulfilled, the parent order is automatically marked as fulfilled. Requires either an orderAccessCode (SPA) or providerId for authorization.

## Path parameters

- `orderItemId` string, required

## Request body

- object
  - `orderAccessCode` string — Order access code for SPA authorization
  - `providerId` string — Provider ID for logged-in provider authorization
  - `serviceId` string, required — The service ID to mark as complete/incomplete
  - `status` 'order_fulfilled' | 'order_accepted', required — The new status for the service

## Response `200`

Default Response

- object
  - `success` boolean, required
  - `message` string, required

## Other responses

- `400` — Default Response
- `401` — Default Response
- `404` — Default Response
- `500` — Default Response

---

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