Skip to main content
POST
/
admin
/
products
/
{id}
/
reject
curl -X POST 'http://localhost:9000/admin/products/prod_01HXYZABCDEF/reject' \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json' \
  -d '{"message": "Images are too low resolution"}'
{
  "product": {
    "id": "prod_01HXYZABCDEF",
    "title": "Linen Shirt",
    "status": "rejected",
    "updated_at": "2026-06-02T09:00:00.000Z"
  }
}
Rejects 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

message
string
Rejection reason shared with the vendor.

Response

product
object
curl -X POST 'http://localhost:9000/admin/products/prod_01HXYZABCDEF/reject' \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json' \
  -d '{"message": "Images are too low resolution"}'
{
  "product": {
    "id": "prod_01HXYZABCDEF",
    "title": "Linen Shirt",
    "status": "rejected",
    "updated_at": "2026-06-02T09:00:00.000Z"
  }
}