# Used to update multiple loyalty member profiles This endpoint enables updating member information efficiently in bulk. NOTE - We recommend limiting requests to around 100 records. Endpoint: POST /bulkpatchusers Version: 3.0.0 Security: ## Request fields (application/json): - `id` (string) Enter the unique ID of the loyalty member. Example: "advinsap24" - `email` (string) Enter the email address of the loyalty member. Example: "advinsap24@gmail.com" - `firstName` (string) Enter the first name of the loyalty member. Example: "Advin" - `lastName` (string) Enter the last name of the loyalty member. Example: "Roy" - `optInStatus` (string) Enter the opt-in status as YES for opt-in or NO for opt-out. The default opt-in status is YES. Example: "YES" - `status` (string) If the activity-based membership status flag is OFF- Enter the loyalty member’s status as active or inactive. By default, the status is active and can be changed to inactive as per the client’s request. If the activity-based membership status flag is ON- Any values submitted in the status parameter will be ignored. The system automatically manages member status based on the defined activity-based criteria. Example: "ACTIVE" - `extendedAttribute` (object) Enter the member attributes defined in your program configuration. This can be customized according to requirements. It accepts multiple parameters; however, these parameters must be defined under Products > Additional Loyalty Settings > Extended Attributes. Note - The extended attributes listed below are examples only. All extended attributes must be configured for the program as stated above. - `extendedAttribute.userType` (string) Enter the employment status of the member as employed, unemployed, or student. Example: "Employed" - `extendedAttribute.userStatus` (string) Enter the unique referrer code provided by the Refer-a-Friend program (if applicable), when creating a loyalty member profile. Example: "Enabled" ## Response 200 fields (application/json): - `siteId` (string) Displays Annex Cloud site ID for the loyalty program. Example: 146032020 - `id` (string) Displays the unique ID of the loyalty member. Example: "advinsap24" - `email` (string) Displays the email address of the loyalty member. Example: "advinsap24@gmail.com" - `firstName` (string) Displays the first name of the loyalty member. Example: "Advin" - `lastName` (string) Displays the last name of the loyalty member. Example: "Roy" - `optInStatus` (string) Displays the opt-in status as YES for opt-in or NO for opt-out. The default opt-in status is YES. Example: "YES" - `status` (string) If the activity-based membership status flag is OFF- Displays the loyalty member’s status as active or inactive. By default, the status is active and can be changed to inactive as per the client’s request. If the activity-based membership status flag is ON- Displays the member status based on the defined activity-based criteria. Example: "ACTIVE" - `phone` (integer) Displays the phone number of the loyalty member. Example: 4532678800 - `birthDate` (string) Displays the date of birth of the loyalty member in yyyy-MM-dd’T’HH:mm:ssZ format. Example: "2001-11-04T00:00:00-07:00" - `anniversaryDate` (string) Displays the loyalty member's anniversary date, which can be their birthdate, the date they joined the loyalty program or marriage date, in yyyy-MM-dd’T’HH:mm:ssZ format. Example: "2021-11-04T00:00:00-07:00" - `createDate` (string) Displays the date and time in yyyy-MM-dd’T’HH:mm:ssZ format on which the loyalty member profile was created. Example: "2024-04-25T04:17:39+0000" - `updateDate` (string) Displays the date and time in yyyy-MM-dd’T’HH:mm:ssZ format on which the loyalty member was updated. Example: "2024-04-25T04:17:39+0000" - `extendedAttribute` (object) Displays the member attributes defined in your program configuration. This can be customized according to requirements. It accepts multiple parameters; however, these parameters must be defined under Products > Additional Loyalty Settings > Extended Attributes. Note - The extended attributes listed below are examples only. All extended attributes must be configured for the program as stated above. - `extendedAttribute.userType` (string) Displays the employment status of the member as employed, unemployed, or student. Example: "Employed" - `extendedAttribute.userStatus` (string) Displays the unique referrer code provided by the Refer-a-Friend program (if applicable), when creating a loyalty member profile. Example: "Enabled" ## Response 400 fields ## Response 403 fields ## Response 404 fields ## Response 500 fields