# Answer a client request, or accept its cancellation

[All field references](/en/developers/field-reference) · [Fulfiller](/en/developers/fields-group-fulfiller)

`POST /v1/fulfillment/orders/{id}/change-requests/{requestId}/answer`

Answers one request from change_requests. decision=reply answers it (for a cancellation request this declines it). decision=accept_cancellation cancels the order here, stops production that may stop, and lets Meykt continue at the client (it removes the items or applies the edit and hands over anew; replacement_follows=true). If services are booked for the order, billing_choice is required ("preserve" keeps them billed, "reverse" credits them), else 409 reason=billing_choice_required (the message names the number of booked positions). Quantity requests (quantity_request=true) are decided by a person in Meykt (409 reason=decide_in_meykt). Repeating the identical answer is safe. Requires a live API key.

Required scopes: `"fulfillment:write"`.

[How to read these tables](/en/developers/field-reference#reading-the-field-tables)

## Parameters

### path: id

Required. Meykt id of an order you received as a fulfiller (from GET /v1/fulfillment/orders).

| Field | Type | Presence | null | Meaning, limits and examples |
| --- | --- | --- | --- | --- |
| $ (whole value) | string | Whole value | Not allowed | format: `"uuid"`. |

### path: requestId

Required. change_requests[].id of this order.

| Field | Type | Presence | null | Meaning, limits and examples |
| --- | --- | --- | --- | --- |
| $ (whole value) | string | Whole value | Not allowed | format: `"uuid"`. |

## Request body

Request body required.

Content type: `application/json`

| Field | Type | Presence | null | Meaning, limits and examples |
| --- | --- | --- | --- | --- |
| $ (whole value) | object | Whole value | Not allowed | Examples: `[{"decision":"reply","reply":"The updated artwork is ready."}]`. Additional properties are not allowed. |
| decision | string | Required when parent is present | Not allowed | reply answers the request without accepting cancellation; accept_cancellation explicitly accepts the requested cancellation. enum: `["reply","accept_cancellation"]`. |
| reply | string | Required when parent is present | Not allowed | Your answer shown to the client. minLength: `1`. maxLength: `2000`. |
| billing_choice | string | Optional | Not allowed | For accepted cancellation with booked services: preserve keeps them billed, reverse credits them. Required when the current order has booked services. enum: `["preserve","reverse"]`. |

## Response 200

200: Success

Content type: `application/json`

| Field | Type | Presence | null | Meaning, limits and examples |
| --- | --- | --- | --- | --- |
| $ (whole value) | object | Whole value | Not allowed | — |
| data | object | Required when parent is present | Not allowed | Authorized response payload or documented event data. |
| data.request_id | string | Required when parent is present | Not allowed | Request ID; retain for retries of the same operation. format: `"uuid"`. |
| data.decision | string | Required when parent is present | Not allowed | Explicit accept or reject decision for the pending request. enum: `["reply","accept_cancellation"]`. |
| data.cancelled_runs | integer | Required when parent is present | Not allowed | Number of production runs cancelled by this accepted cancellation. minimum: `0`. |
| data.replacement_follows | boolean | Required when parent is present | Not allowed | Whether a replacement fulfillment order will follow the accepted client change. |

## Response 400, 401, 403, 404, 409, 422, 429, 500, 503

400: The request is not valid JSON. 401: The key is missing, unknown, revoked or expired. 403: The key lacks a required scope, or the operation requires a live key. 404: Not found. Also applies to IDs that belong to another organization — we deliberately do not distinguish between "does not exist" and "does not belong to you". 409: The same ID already exists with different content. It is never overwritten. 422: Content validation failed. The response lists all affected locations at once. 429: A rate limit was reached and the request did not run. Wait for Retry-After, then repeat it unchanged. X-RateLimit-Scope names the limit: key (120 requests per minute), organization (300 per minute across all keys), write (1,000 at once, refilling at 60 per minute) or list (300 unfiltered list pages at once, refilling at 10 per minute). 500: Unexpected error on our side. 503: Temporarily unavailable. Repeat the same request with the same business identity.

Content type: `application/json`

| Field | Type | Presence | null | Meaning, limits and examples |
| --- | --- | --- | --- | --- |
| $ (whole value) | object | Whole value | Not allowed | — |
| error | object | Required when parent is present | Not allowed | Machine-readable error code; use it to select the documented recovery path. |
| error.code | string | Required when parent is present | Not allowed | Machine-readable, permanently stable error code. Program against it, not against message. |
| error.message | string | Required when parent is present | Not allowed | Explanation for humans. May change at any time. |
| error.field | string | Optional | Not allowed | Affected location in the request, if it can be determined. |
| error.doc_url | string | Required when parent is present | Not allowed | Documentation link explaining this API error. format: `"uri"`. |
