---
title: "Changes job status if possible (400 Bad Request is returned otherwise)."
method: PUT
path: "/v2/jobs/{jobId}/status"
tags: ["Jobs (Smart)(v2)"]
---

# Changes job status if possible (400 Bad Request is returned otherwise).

`PUT /v2/jobs/{jobId}/status`

Changes job status if possible (400 Bad Request is returned otherwise). The status has to be specified using one of the following keys:<ul><li>OPEN – available when the job has one of the following statuses: ACCEPTED, CANCELED</li><li>ACCEPTED – available when the job has one of the following statuses: OPEN (Vendor and dates have to be set before calling the operation), STARTED</li><li>STARTED – available when the job has one of the following statuses: ACCEPTED, READY</li><li>READY – available when the job has one of the following statuses: STARTED</li><li>CANCELLED – available when the job has one of the following statuses: OPEN, ACCEPTED, STARTED, OFFERS_SENT</li><li>OFFERS_SENT – not available as a target status for this operation</li></ul>

## Path parameters

- `jobId` string, required

## Request body

- JobStatusDTO
  - `externalId` string
  - `bundleFrom` integer
  - `status` string

## Response `204`

Success

---

[API](https://skmtc.dev/xtrf/apis/xtrf-home-portal-api.md) · [All operations](https://skmtc.dev/xtrf/apis/xtrf-home-portal-api/llms.txt) · [OpenAPI document](https://skmtc.dev/xtrf/apis/xtrf-home-portal-api/revisions/cdbc3f939a37?raw)
