Skip to main content
POST
/
products
/
{id}
Update product
curl --request POST \
  --url https://api.pocketsflow.com/products/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "price": 123,
  "active": true
}
'

Authorizations

Authorization
string
header
required

Enter your Pocketsflow API key (format: pk_live_... or pk_test_...)

Path Parameters

id
string
required

Product ID

Body

application/json
name
string
description
string
price
number
active
boolean

Response

Product updated successfully