Create a gift card product

post/api/v1/gift-card-products

Request

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

Request body

namestring required
descriptionstring
amount_type'fixed' | 'custom' required
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.