post
https://www.pelcro.com/api/v1/sdk/subscription/gift/renew
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Overview
Renew a gift the authenticated customer gave, for another term. plan_id, subscription_id, and quantity are required; payment fields and address_id (when the plan ships) are optional. Returns the customer resource with a fresh JWT.
Example:
curl --request POST \
--url 'https://www.pelcro.com/api/v1/sdk/subscription/gift/renew?site_id=1232' \
--header 'Authorization: Bearer <JWT>' \
--header 'Content-Type: application/json' \
--data '{ "subscription_id": 4055, "plan_id": 4051, "quantity": 1 }'Notes
- Protected — requires the customer's JWT.
- Validation failures return
400with a message.
