Skip to main content
POST
/
api
/
dashboard
/
products
/
{product_id}
/
images
/
upload-url
Get Image Upload Url
curl --request POST \
  --url https://api.example.com/api/dashboard/products/{product_id}/images/upload-url \
  --header 'Content-Type: application/json' \
  --data '
{
  "filename": "<string>",
  "content_type": "<string>"
}
'
{
  "path": "<string>",
  "token": "<string>",
  "public_url": "<string>"
}

Headers

authorization
string | null
X-API-Key
string | null
X-Stella-Merchant-Id
string | null

Path Parameters

product_id
string<uuid>
required

Body

application/json
filename
string
required
content_type
string
required

Response

Successful Response

path
string
required
token
string
required
public_url
string
required