DocsAPI ReferenceProduct/bff/product/pricelist-update
postProductAdmin BFF

/bff/product/pricelist-update

Replaces the full array of dynamic pricing rules on a product. Empty array clears all rules (column reset to NULL so most products bypass the resolver cheaply). Validation is server-side; the resolver itself never lets margin go negative, but admin should also warn before save.

ProductpostBffProductPricelist-update

Parameters

2 body

2 total
Body · 2
productCodestringRequired

Product code whose pricelist is being replaced.

rulesobject[]Required11 fields

Full replacement of the rule list. Pass an empty array to clear all rules.

Request

POST /bff/product/pricelist-update

post
curl -X POST "https://api.bizkithub.com/bff/product/pricelist-update" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "productCode": "my-product",
  "rules": [
    {
      "id": "example_id",
      "name": "example_name",
      "enabled": false,
      "priority": 0,
      "price": 0
    }
  ]
}'

Response

JSON payload

{
  "success": false,
  "ruleCount": 0
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key