Update a gift card

Updates an existing gift card by ID.

put/gift-vouchers/{id}

Request

  • Base URL
    https://api.ecommerceapi.uk/v1
  • URL
    https://api.ecommerceapi.uk/v1/gift-vouchers/{id}
  • Auth
    HTTP basic

Path parameters

idinteger required

The unique identifier of the gift card.

Request body

codestring

The unique code of the gift card.

amountnumber float

The value of the gift card.

amountUsednumber float

The amount of the gift card that has been used.

Response

Gift card updated successfully.

Changes

No recorded changes to this operation across all 1 revision of this API.