Add new gift card movement

Return the giftcard updated

Amount must be always positive. Type can be unload or restore

  • if type is unload => giftcard must be active, and giftcard.last_value - amount > 0;
  • if type is restore => giftcard must not be deleted and not expired, amount + last_value <= init_value;
Language
Authorization
Bearer
JWT
Click Try It! to start a request and see the response here!