collections
Collections
Upload Product Images
Upload product images to create a new collection.
This endpoint allows users to upload up to 10 product images, which will:
- Upload each image to S3
- Create a new collection in Saphire with the "Uploaded Products" group
- Return the collection details
Request Body:
- collection_name: Name for the new collection (required)
- images: List of base64-encoded images (1-10 images, required)
- formats: Optional list of image formats (png, jpg, etc.)
- description: Optional description for the collection
Returns:
- Collection details including collection_id, group_id, and uploaded image URLs
post/api/v1/collections/upload-product-images
Request
- Base URL: https://api.trylapis.com (the document declares no server; this is the origin it was published from)
- URL: https://api.trylapis.com/api/v1/collections/upload-product-images
- Auth: HTTP bearer
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.