Skip to main content
POST
/
admin
/
products
/
{id}
/
confirm
curl -X POST 'http://localhost:9000/admin/products/prod_01HXYZABCDEF/confirm' \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json' \
  -d '{"internal_note": "Looks good"}'
{
  "product": {
    "id": "prod_01HXYZABCDEF",
    "title": "Linen Shirt",
    "status": "published",
    "updated_at": "2026-06-02T09:00:00.000Z"
  }
}
Approves the product’s publish request and returns the updated product.

Path parameters

id
string
required
The product’s ID.

Query parameters

fields
string
Comma-separated list of fields to include, prefix with +/- to add or remove from defaults.

Body parameters

internal_note
string
Note recorded on the approval, visible to operators only.

Response

product
object
curl -X POST 'http://localhost:9000/admin/products/prod_01HXYZABCDEF/confirm' \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json' \
  -d '{"internal_note": "Looks good"}'
{
  "product": {
    "id": "prod_01HXYZABCDEF",
    "title": "Linen Shirt",
    "status": "published",
    "updated_at": "2026-06-02T09:00:00.000Z"
  }
}