palbaseDocs

Palbase Commerce & Promotions · API

PATCH/commerce/variants/{variant_id}

Update product variant

Update product variant

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

Path

variant_idstring · requiredPath parameter variant_id.
curl
curl -X PATCH "https://<your-ref>.palbase.studio/commerce/variants/<variant_id>" \
  -H "apikey: $PALBASE_SECRET_KEY" \
  -H "content-type: application/json" \
  -d '{}'

Responses

200Update product variant

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

Operation UpdateVariant of commerce's contract.