Parameters
JSON body
Request body
application/jsoncodestringRequiredProduct code (as returned by /bff/product/list id) to move to the last position.
my-productShifts every product with a higher position down by one (single UPDATE) and then bumps the target product to the current max position. Preserves 1..N density by construction; a global repack pass is kept as a safety net for organisations whose positions were non-dense on entry.
JSON body
codestringRequiredProduct code (as returned by /bff/product/list id) to move to the last position.
my-product1 status code documented
successbooleanRequiredWhether the operation completed.
previousPositionnumberRequiredPosition the product held before the move.
newPositionnumberRequiredPosition the product holds after the move.
totalProductsnumberRequiredTotal non-deleted products in the organisation.
shiftedCountnumberRequiredHow many other products were shifted down by one.
repackedbooleanRequiredWhether a global 1..N repack pass was applied.
{
"success": false,
"previousPosition": 0,
"newPosition": 0,
"totalProducts": 0,
"shiftedCount": 0,
"repacked": false
}POST /bff/product/product-move-to-end
curl -X POST "https://api.bizkithub.com/bff/product/product-move-to-end" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"code": "my-product"
}'All BizKitHub public API endpoints require authentication via API key.