Idempotency Supported
Create a gift subscription with items like plans, addons, or charges and gift it to an existing customer.
Sample Request
Sample Result[JSON]
URL Format
POST https://[site].chargebee.com/api/v2/gifts/create_for_items
Input Parameters
The date until which the gift can be claimed. Must be set to a value after scheduled_at.
If the gift is not claimed within claim_expiry_date
, it will expire and the subscription will move to cancelled
state. When not passed, the value specified in the site settings will be used.
Pass as NULL
or do not pass when auto_claim
or no_expiry
are set.
A collection of key-value pairs that provides extra information about the subscription.
Constraints
- Character limit: 65,535.
Returns
Gift object
Resource object representing gift
Subscription object
Resource object representing subscription
Invoice object
Resource object representing invoice