palbaseDocs

Palbase Commerce & Promotions · API

POST/commerce/variants/{variant_id}/buybox/recompute

Recompute winning Buy Box offer for variant

Recompute winning Buy Box offer for variant

Called by your server, with the project's secret key.

Path

variant_idstring · requiredPath parameter variant_id.
curl
curl -X POST "https://<your-ref>.palbase.studio/commerce/variants/<variant_id>/buybox/recompute" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200Recompute winning Buy Box offer for variant

defaultStandard Palbase JSON error envelope (`error` and `error_description`).

Operation RecomputeVariantBuyBox of commerce's contract.