The Patron API - Holds

The Patron API contains methods for creating, retrieving, updating, and deleting holds for a patron. Using these endpoints, you can:

The Try it out! links below take you to the corresponding section in the interactive documentation, where you can view the model, model schema, and parameters for each available operation.

Get a Hold Record by Hold ID

To use this endpoint, your key must be assigned the Patrons Read or Patrons Holds CRUD role. See Administering Sierra API Client Keys in the Sierra WebHelp for more information.

GET /v6/patrons/holds/{holdId}

Returns a single Hold object.

Try it out!

Modify a Hold

To use this endpoint, your key must be assigned the Patrons Write or Patrons Holds CRUD role. See Administering Sierra API Client Keys in the Sierra WebHelp for more information.

PUT /v6/patrons/holds/{holdId}

Modifies a specified hold. Requires a PatronHoldPut request object.

Try it out!

Delete a Hold by Hold ID

To use this endpoint, your key must be assigned the Patrons Write or Patrons Holds CRUD role. See Administering Sierra API Client Keys in the Sierra WebHelp for more information.

DELETE /v6/patrons/holds/{holdId}

Deletes a specified hold.

Try it out!

Get the Holds Data for a Single Patron Record

To use this endpoint, your key must be assigned the Patrons Read or Patrons Holds CRUD role. See Administering Sierra API Client Keys in the Sierra WebHelp for more information.

GET /v6/patrons/{id}/holds

Returns all holds data for a specified patron record.

Try it out!

Get All Patrons Holds Data

This endpoint is available in Sierra 5.2 and later. To use this endpoint, your key must be assigned the Holds Read role. See Administering Sierra API Client Keys in the Sierra WebHelp for more information.

GET /v6/patrons/holds

Returns the combined total number of bibliographic-, item-, and volume-level holds in the system and a Hold object for each hold.

By default, this endpoint returns the first 50 results. You can limit the number of results to a value from 1 to 2000 and specify the beginning record to return. See Pagination Parameters for more information on using these limiters.

Try it out!

Cancel All Holds for the Specified Patron

To use this endpoint, your key must be assigned the Patrons Write or Patrons Holds CRUD role. See Administering Sierra API Client Keys in the Sierra WebHelp for more information.

DELETE /v6/patrons/{id}/holds

Cancels all holds for the specified patron record.

Try it out!

Place a New Hold Request

To use this endpoint, your key must be assigned the Patrons Write or Patrons Holds CRUD role. See Administering Sierra API Client Keys in the Sierra WebHelp for more information.

POST /v6/patrons/{id}/holds/requests

Places a new hold request for the specified patron record. Requires a PatronHoldPost request object.

If successful, HTTP 204 is returned. Otherwise, an error code is returned.

Under certain circumstances, Sierra API returns error code 156 and prompts you to choose a specific volume. Click on "Placing a Hold for a Volume" below for more information.

Try it out!