Add or remove value with a reason (cannot go below zero)

post/api/v1/gift-cards/{id}/adjust

Request

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

Path parameters

idstring required

Request body

amount_minorinteger required

Positive adds value, negative removes it

reasonstring required
idempotency_keystring required

Stable retry key. A replay returns the original result.

Response

OK

object required

Changes

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