Skip to main content
POST
/
products
/
{product_id}
cURL
curl --request POST \
  --url https://app.fliqr.ai/api/products/{product_id} \
  --header 'Content-Type: application/json' \
  --header 'X-ACCESS-TOKEN: <api-key>' \
  --data '
{
  "active": false,
  "stock": 500,
  "price": 40
}
'
{
  "success": true,
  "updated": true
}

Authorizations

X-ACCESS-TOKEN
string
header
required

Path Parameters

product_id
number
required

Body

application/json
price
number
active
boolean

if users can buy the product.

stock
number

Response

200 - application/json

successful operation

success
boolean
updated
boolean