Purchases
POST /api/public/purchases/{purchaseId}/credits
Changed onAdd credits to a punch card purchase. An EXPIRED punch card that ran out of credits becomes ACTIVE again. Punch cards only.
Request
- Base URLhttps://api.coach-platform.com
- AuthHTTP bearer
Path parameters
purchaseIdstring required
Headers
Idempotency-Keystring
Optional. Send a unique key (e.g. a UUID) to make this POST safe to retry. The same key within 24h returns the original result instead of creating a duplicate.
Request body
Response
Successful response
Changes
- info
endpoint added
- info