Create Membership

POST /customers/:customerId/memberships

You can post a new membership by providing the following fields:

PropertyTypeDescription
membershipTypeId*string (UUIDv4)ID of membership type
validFromstring (YYYY-MM-DD)Date for when the membership should be valid from. If not provided, it will be set to the current date.
validTostring (YYYY-MM-DD)Date for when the membership should be valid to. If not provided, it will be set to the current date + the cycle of the membership type.
previousMembershipIdstring (UUIDv4)If the membership is a renewal, then this field should be set to the id of the previous membership.
payerIdstring (UUIDv4)If the membership is paid by another customer, then this field should be set to the id of the payer.
Previous
Get Membership
Next
Update Membership