Upload custom field image
Upload an image for a product custom field option (e.g. image_select or image_multi_select). Accepts JPEG, PNG, WebP, or GIF up to 5MB via multipart form data with a fieldId.
Upload an image for a product custom field option (e.g. image_select or image_multi_select). Accepts JPEG, PNG, WebP, or GIF up to 5MB via multipart form data with a fieldId.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
Product ID
Response Body
application/json
curl -X POST "https://example.com/products/550e8400-e29b-41d4-a716-446655440000/custom-field-image"{ "imageKey": "string"}Update a product PUT
Update an existing product's properties, materials, file requirements, inventory requirements, and custom fields. File requirements referenced by existing files are soft-deleted (archived) rather than permanently removed.
Upload product image POST
Upload or replace the image for a product. Accepts JPEG, PNG, WebP, or GIF up to 5MB via multipart form data.