Assign shop profile photo
Assign an approved photo as the shop’s profile photo.
Only photos with state ‘approved’ can be assigned. This replaces any existing profile photo assignment.
Path Parameters
The unique, opaque system identifier for a resource. This case-sensitive ID is also used as path parameters in URLs or in other properties or parameters that reference a resource by ID rather than URL.
Body
Request to assign a single photo to a resource (e.g., profile photo).
The ID of the photo to assign. The photo must have state 'approved'.
Response
Created.
A photo assignment to a resource.
The unique identifier for this photo assignment.
The photo that is assigned.
The sort order for this photo. Lower numbers appear first. Omitted for single photo assignments.
x >= 0Metadata for this assignment when the photo is part of a barber's portfolio.