Authorization
Example:
Authorization | Bearer Paste-Your-API-Key-HerePath Parameters
The public membership code of the member to update.Example:
MBR8X2QKRequest Body
productId is the only required field. The remaining fields are optional — send
only the ones you want to change.
The unique identifier of the product the member belongs to. The product must
belong to the authenticated user.Example:
7c9d2e1f-4a5b-4c6d-8e9f-0a1b2c3d4e5fThe unique identifier of the membership tier to move the member to.
The monthly billing period for the membership.
The new status for the member (for example
active, stopped, inactive,
finished).The member’s next scheduled payment, as a UTC ISO 8601 string (for example
2026-08-20T09:10:57.994Z) — not an epoch-millisecond value.The membership expiry time, as a UTC ISO 8601 string (for example
2026-09-20T09:10:57.994Z).Response
Successful Response — HTTP200
Main Structure (Root Object)
Status code from the API.
200 on success.Status message that describes the status code. Note the singular
message key
(write endpoints use message; read/list endpoints use the plural messages).The update result wrapper.
The updated membership customer record.
Errors
All errors use the envelope{ "statusCode": <code>, "message": "<reason>" } (singular message).
Error Example 400
The HTTP status code of the error.
A human-readable description of the error.
| Status | message | When |
|---|---|---|
400 | Invalid path parameter | memberId is missing or malformed in the path. |
400 | Invalid request body | The request body is missing required fields or fails validation. |
400 | You are not authorized to edit this product! | The productId does not belong to the authenticated user. |
