Get custom field image
Retrieve a custom field option image from R2 storage by its key. Validates that the image key belongs to the authenticated organization.
Retrieve a custom field option image from R2 storage by its key. Validates that the image key belongs to the authenticated organization.
__Secure-guidelab-prod.session_token<token>
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
id*string
Product ID
Query Parameters
key?string
Response Body
curl -X GET "https://example.com/products/550e8400-e29b-41d4-a716-446655440000/custom-field-image"Empty
Delete product image DELETE
Remove the image associated with a product from R2 storage and clear the imageKey reference.
Get a product GET
Retrieve a single product by its ID, including its category, quality standard, materials, file requirements, inventory requirements, and custom fields. Clinic users must have an active partnership with the owning lab.