Introducing the Better Auth Chargebee plugin: Use it to handle subscriptions, billing, and auth seamlessly.
Chargebeechargebee API

Update a gift

Idempotency Supported

Updates the attributes of a gift.

Prerequisites & Constraints

  • The gift must be in the scheduled status.

Sample Request

Sample Result[JSON]

URL Format

POST https://[site].chargebee.com/api/v2/gifts/{gift-id}/update_gift

Input Parameters

scheduled_at
optional, timestamp(UTC) in seconds

The new date/time at which the gift notification email is to be sent. The value must be greater than the current time. If no_expiry is false, the value must also be less than claim_expiry_date.

comment
optional, string, max chars=250

An internal comment. The comments are not retrievable via API and are only available on request via Chargebee Support.

gift_receiver
Parameters for gift_receiver
pass parameters as gift_receiver[<param name>]

Returns

Gift object
Resource object representing gift
Subscription object
Resource object representing subscription