Skip to main content
PUT
Update album item

Authorizations

Authorization
string
header
required

Authenticate with an API access token in the Authorization header: Authorization: Bearer <token>. Create a token from the API Access Tokens page in Contractors Cloud, under Integrations.

Path Parameters

projectId
integer
required

The id of the project.

albumId
integer
required

The id of the project album.

itemId
integer
required

The id of the album item.

Body

application/json
position
integer

The item's new 1-based position within the album. Optional; other items shift to make room at the new position. Must be between 1 and the current number of items in the album, plus one. The photo an item displays can't be changed — delete the item and add a new one to attach a different photo.

Required range: x >= 1

Response

The updated album item.

id
integer

The album item's unique identifier.

Example:

90210

tenant_id
integer

The id of your organization's account.

Example:

12

project_id
integer

The id of the project this album item belongs to.

Example:

9103

album_id
integer

The id of the album this item belongs to.

Example:

6601

project_file_id
integer

The id of the project photo this item displays. See Project File.

Example:

52130

position
integer

The item's 1-based position within the album, determining the order photos are laid out when the album is rendered to PDF.

Example:

1