---
title: "setAppointmentFulfillmentData"
method: PUT
path: "/service/v1/serviceJobs/{serviceJobId}/appointments/{appointmentId}/fulfillment"
tags: ["Services v1"]
---

# setAppointmentFulfillmentData

`PUT /service/v1/serviceJobs/{serviceJobId}/appointments/{appointmentId}/fulfillment`

Updates the appointment fulfillment data related to a given `jobID` and `appointmentID`.

**Usage Plan:**

| Rate (requests per second) | Burst |
| ---- | ---- |
| 5 | 20 |

The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).

## Path parameters

- `serviceJobId` string, required
- `appointmentId` string, required

## Request body

- SetAppointmentFulfillmentDataRequest — Input for set appointment fulfillment data operation.
  - `estimatedArrivalTime` DateTimeRange — A range of time.
    - `startTime` string, date-time, required — The beginning of the time range. Must be in UTC in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
    - `endTime` string, date-time, required — The end of the time range. Must be in UTC in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) format.
  - `fulfillmentTime` FulfillmentTime — Input for fulfillment time details
    - `startTime` string, date-time — The date, time in UTC of the fulfillment start time in ISO 8601 format.
    - `endTime` string, date-time — The date, time in UTC of the fulfillment end time in ISO 8601 format.
  - `appointmentResources` AppointmentResource[] — List of resources that performs or performed job appointment fulfillment.
    - `resourceId` string — The resource identifier.
  - `fulfillmentDocuments` FulfillmentDocument[] — List of documents captured during service appointment fulfillment.
    - `uploadDestinationId` string — The identifier of the upload destination. Get this value by calling the `createServiceDocumentUploadDestination` operation of the Services API.
    - `contentSha256` string — Sha256 hash of the file content. This value is used to determine if the file has been corrupted or tampered with during transit.

## Response `204`

Success response.

- string

## Other responses

- `400` — Request has missing or invalid parameters and cannot be parsed.
- `403` — 403 can be caused for reasons like Access Denied, Unauthorized, Expired Token, Invalid Signature or Resource Not Found.
- `404` — The resource specified does not exist.
- `413` — The request size exceeded the maximum accepted size.
- `415` — The entity of the request is in a format not supported by the requested resource.
- `422` — Unprocessable Entity. Unable to process the contained instructions.
- `429` — The frequency of requests was greater than allowed.
- `500` — Encountered an unexpected condition which prevented the server from fulfilling the request.
- `503` — Temporary overloading or maintenance of the server.

---

[API](https://skmtc.net/aws-samples/apis/a-content-management-v2020-11-01.md) · [All operations](https://skmtc.net/aws-samples/apis/a-content-management-v2020-11-01/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws-samples/a-content-management-v2020-11-01/revisions/815a5b6dbaa6/schema)
