BizKitHub
DocsAPI ReferenceProduct/bff/product/product-restore
postProductAdmin BFF

/bff/product/product-restore

Clears deleted_date and the legacy deleted boolean. active is intentionally NOT flipped back to true — the operator should re-publish explicitly so a stale catalogue does not silently come back online.

ProductpostBffProductProduct-restore

Parameters

JSON body

Request body

application/json
productCodestringRequired

Product code to restore.

Length: 1
Examplemy-product

Response schema

1 status code documented

200Success
successbooleanRequired
codestringRequired

Product code (echoed back for client refetch).

alreadyLivebooleanRequired

true if the product was not soft-deleted (no-op restore).

Response example

application/json
{
  "success": false,
  "code": "example_code",
  "alreadyLive": false
}

Request example

POST /bff/product/product-restore

post
curl -X POST "https://api.bizkithub.com/bff/product/product-restore" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "productCode": "my-product"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key