Client Memberships
Cancel a client membership
Changed onCancel a client membership
post/client_memberships/{mytime_id}/cancel
Request
- Base URLhttps://partners-api.mytime.com/api
- AuthAPI key in header X-Api-Key
Path parameters
mytime_idinteger required
Client membership ID
Query parameters
cancellation_datestring Date
Cancelation date e.g 2024-01-31
cancellation_reasonstring
Free-text reason for the cancellation, visible to the merchant but not returned by this API. Values longer than 255 characters are truncated to the first 255; non-string values are ignored
Headers
X-Subdomainstring
Merchant subdomain - Optional
Response
client memberships response
Example response
{
"client_memberships": [
{
"client_benefits": [
{
"type": "bundle_purchase"
}
]
}
]
}Changes
- info
added the new optional
queryrequest parametercancellation_reason
- info