Skip to main content
PUT
/
api
/
products
/
{id}
Update a product
curl --request PUT \
  --url https://app.dacard.ai/api/products/{id} \
  --header 'Content-Type: application/json' \
  --cookie __session= \
  --data '
{
  "name": "<string>",
  "url": "<string>"
}
'
{
  "success": true
}

Authorizations

__session
string
cookie
required

Clerk session cookie. Authentication is handled by Clerk. Sign in at https://app.dacard.ai/sign-in to obtain a session.

Path Parameters

id
string<uuid>
required

Product UUID

Body

application/json
name
string
url
string<uri>

Response

Product updated

success
boolean
Example:

true