v1

latestOpenAPI 3.0.02026-07-26868170.3 KB
Members

Update a member

Update a membership.

patch/loyalty/members/{id}

Path parameters

idstring required

Individual fidelity card code.

Request body

card_expire_atstring

The expiration date of subscription.

birthdaystring date

the birthday date for card code.

contact_idstring

The unique_key of your universe: email, cellphone or custom. You can update the membership's contact id only if the membership has no contact assigned yet.

program_joined_atstring

By filling out this parameter, you will change the subscription date of the loyalty card. This could process new events. You might change balance of points and rewards of the loyalty card.

Example request

{
  "card_expire_at": "2018-01-12 15:00:00",
  "birthday": "2018-01-12",
  "contact_id": "jdoe@yopmail.com",
  "program_joined_at": "2018-01-12 15:00:00"
}

Response

Membership update is successful.