Skip to main content
GET
/
admin
/
products
/
{id}
/
preview
curl 'http://localhost:9000/admin/products/prod_01HXYZABCDEF/preview' \
  -H 'Authorization: Bearer <token>'
{
  "product_change": {
    "id": "prodch_01HXYZABCDEF",
    "product_id": "prod_01HXYZABCDEF",
    "status": "pending",
    "internal_note": null,
    "external_note": null,
    "actions": [
      {
        "id": "prodchact_01HXYZABCDEF",
        "action": "update_product",
        "ordering": 0,
        "details": { "title": "Linen Shirt v2" },
        "applied": false
      }
    ],
    "created_at": "2026-06-01T10:00:00.000Z",
    "updated_at": "2026-06-01T10:00:00.000Z"
  }
}
Returns the product’s pending change request with its individual change actions, or null if no change is pending.
The response contains the pending product_change record and its actions — the raw edits awaiting review — not a merged product payload.

Path parameters

id
string
required
The product’s ID.

Response

product_change
object | null
curl 'http://localhost:9000/admin/products/prod_01HXYZABCDEF/preview' \
  -H 'Authorization: Bearer <token>'
{
  "product_change": {
    "id": "prodch_01HXYZABCDEF",
    "product_id": "prod_01HXYZABCDEF",
    "status": "pending",
    "internal_note": null,
    "external_note": null,
    "actions": [
      {
        "id": "prodchact_01HXYZABCDEF",
        "action": "update_product",
        "ordering": 0,
        "details": { "title": "Linen Shirt v2" },
        "applied": false
      }
    ],
    "created_at": "2026-06-01T10:00:00.000Z",
    "updated_at": "2026-06-01T10:00:00.000Z"
  }
}