DocsAPI ReferenceWarehouse/bff/warehouse/policy/upsert
postWarehouseAdmin BFF

/bff/warehouse/policy/upsert

Create or update a stock policy (Tier 1 #4)

WarehousepostBffWarehousePolicyUpsert

Parameters

11 body

11 total
Body · 11
warehouseIdnumberRequired
productCodestring | null

Human-readable product code (mutually exclusive with virtualItemSku).

productVariantCodestring | null

Variant code, requires productCode.

virtualItemSkustring | null

Free-form virtual SKU for non-catalogue items.

minThresholdnumber | null
reorderPointnumber | null
maxCapacitynumber | null
allowBackorderboolean
notifyChannelsstring | null
isActiveboolean
notestring | null

Request

POST /bff/warehouse/policy/upsert

post
curl -X POST "https://api.bizkithub.com/bff/warehouse/policy/upsert" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "warehouseId": 0,
  "allowBackorder": false,
  "isActive": false
}'

Response

JSON payload

{
  "success": false,
  "id": 0,
  "created": false
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key