Apply a gift card to an account.
- Requires authentication
- HTTP Method: PUT
- URL: https://my.cl.ly/gift_cards/**_gift card code_** (e.g., https://my.cl.ly/gift\_cards/ABC123)
-
Status: 200 OK
-
Body:
{ "id": 1, "code": "ABC123", "plan": "pro", "months": 12, "href": "https://my.cl.ly/gift_cards/ABC123", "created_at": "2011-01-08T20:11:26Z", "updated_at": "2011-01-08T21:26:26Z", "redeemed_at": "2011-01-08T21:26:26Z", "effective_at": "2011-01-10", "expires_at": "2012-01-10" }
curl --digest -u [email protected]:towel \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-X PUT \
"https://my.cl.ly/gift_cards/ABC123"