---
title: "stateChange events"
method: POST
path: "/sample/v1/events/lineItems/stateChange"
tags: ["events"]
---

# stateChange events

`POST /sample/v1/events/lineItems/stateChange`

Line item state change event.

## Request body

- StateChangePayload
  - `action` string, required — LineItem Action
  - `extLineItemId` string, required — Ext LineItem ID
  - `extProjectId` string, required — Ext Project ID

## Response `200`

OK

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

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