curl --request POST \
--url http://localhost:3000/v1/partner/products/upload-url \
--header 'Content-Type: application/json' \
--data '
{
"content_type": "image/jpeg",
"filename_prefix": "<string>"
}
'{
"signed_url": "<string>",
"token": "<string>",
"path": "<string>",
"public_url": "<string>",
"expires_in": 123
}Returns a signed URL to upload an image directly to Supabase Storage. The URL is valid for 60 seconds.
curl --request POST \
--url http://localhost:3000/v1/partner/products/upload-url \
--header 'Content-Type: application/json' \
--data '
{
"content_type": "image/jpeg",
"filename_prefix": "<string>"
}
'{
"signed_url": "<string>",
"token": "<string>",
"path": "<string>",
"public_url": "<string>",
"expires_in": 123
}