Update a gift card product (send expected_version to avoid overwriting a change)

patch/api/v1/gift-card-products/{id}

Request

  • Base URL: http://127.0.0.1:4310
  • URL: http://127.0.0.1:4310/api/v1/gift-card-products/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sfb_session

Path parameters

idstring required

Request body

namestring
descriptionstring
amount_type'fixed' | 'custom'
fixed_amountsinteger[]
min_minorinteger
max_minorinteger
design'aubergine' | 'lacquer' | 'sage' | 'clay' | 'festive'
expiry_monthsinteger

0 means no expiry. Default 24.

onlineboolean
activeboolean
sortinteger
expected_versioninteger

Response

OK

object required

Changes

No recorded changes to this operation across all 4 revisions of this API.