Delete custom field image
Remove a custom field option image from R2 storage. Validates that the image key belongs to the authenticated organization.
Remove a custom field option image from R2 storage. Validates that the image key belongs to the authenticated organization.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
Product ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X DELETE "https://example.com/products/550e8400-e29b-41d4-a716-446655440000/custom-field-image" \ -H "Content-Type: application/json" \ -d '{ "imageKey": "string" }'{ "message": "string"}Create a product POST
Create a new product in the lab's catalog. Supports setting category, quality standard, treatment phase, pricing, materials, file requirements, inventory requirements, and custom fields in a single request.
Delete a product DELETE
Soft-delete a product by setting it to inactive. The product record is preserved for historical reference in existing orders.