Skip to main content
POST
/
v1
/
products
/
updateOne
cURL
curl --request POST \
  --url https://dev.entropi.app/v1/products/updateOne \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "productID": "<string>",
  "name": "<string>",
  "desc": "<string>",
  "orgID": "<string>",
  "userID": "<string>",
  "url": "<string>",
  "imageLink": "<string>"
}
'
{
  "result": {
    "productID": "<string>",
    "status": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

JSON representation of your product with updated fields

productID
string
required

Product ID

name
string
required

Name of the product

desc
string
required

A detailed description of the product

orgID
string
required

Organization ID. See Organizations endpoint for details

userID
string
required

User ID. See Users endpoint for details

url
string

URL to product page, if applicable

URL to an image of the product

Response

API Response

result
object