Client Memberships

Cancel a client membership

Changed on

Cancel a client membership

post/client_memberships/{mytime_id}/cancel

Request

  • Base URL
    https://partners-api.mytime.com/api
  • Auth
    API 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