# Used to create multiple loyalty member profiles

This API method is used for managing large-scale member registrations in the loyalty program. It facilitates the quick and efficient onboarding of multiple loyalty members simultaneously, by allowing the creation of several loyalty member profiles in a single request. This method significantly reduces the time and effort required to populate the loyalty program with new members, enhancing operational efficiency. NOTE - Please ensure that members are added in batches of a maximum of 50 at a time to maintain optimized performance.
Note: For all date-time fields in the request and response, if the timestamp contains a timezone offset after the + symbol (for example, 2024-07-21T12:30:45+05:30), the value after + will be ignored during processing. Only the date and time portion before the + sign will be considered.

Endpoint: POST /bulkpostusers
Version: 3.0.0
Security: MuseumPlaceholderAuth

## Security:

  - `MuseumPlaceholderAuth` (unknown)

## Request fields (application/json):

  - `1` (object)

  - `1.id` (string)
    Enter the unique ID of the loyalty member.
    Example: advinsap1

  - `1.email` (string)
    Enter the email address of the loyalty member.
    Example: advinsap1@gmail.com

  - `1.firstName` (string)
    Enter the first name of the loyalty member.
    Example: Advin

  - `1.lastName` (string)
    Enter the last name of the loyalty member.
    Example: Roy1

  - `1.birthDate` (string)
    Enter the loyalty member's date of birth.
    Example: 2001-11-04T00:00:00-07:00

  - `1.anniversaryDate` (string)
    Enter the loyalty member's anniversary date in yyyy-MM-dd format. This can be the date they joined the loyalty program or marriage date.
    Example: 2021-11-04T00:00:00-07:00

  - `1.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

  - `1.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

  - `1.phone` (integer)
    Enter the loyalty member’s phone number.
    Example: 4532678801

  - `1.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.

  - `1.extendedAttribute.userType` (string)
    Enter the employment status of the member as employed, unemployed, or student.
    Example: Employed

  - `1.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

  - `2` (object)

  - `2.id` (string)
    Enter the unique ID of the loyalty member.
    Example: advinsap2

  - `2.email` (string)
    Enter the email address of the loyalty member.
    Example: advinsap2@gmail.com

  - `2.firstName` (string)
    Enter the first name of the loyalty member.
    Example: Advin2

  - `2.lastName` (string)
    Enter the last name of the loyalty member.
    Example: Roy2

  - `2.birthDate` (string)
    Enter the loyalty member's date of birth.
    Example: 2001-11-04T00:00:00-07:00

  - `2.anniversaryDate` (string)
    Enter the loyalty member's anniversary date in yyyy-MM-dd format. This can be the date they joined the loyalty program or marriage date.
    Example: 2021-11-04T00:00:00-07:00

  - `2.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

  - `2.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

  - `2.phone` (integer)
    Enter the loyalty member’s phone number.
    Example: 4532678802

  - `2.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.

  - `2.extendedAttribute.userType` (string)
    Enter the employment status of the member as employed, unemployed, or student.
    Example: Employed

  - `2.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:

  - `200` (unknown)
    successful operation

## Response 200 fields (application/json):

  - `1` (object)

  - `1.siteId` (string)
    Displays Annex Cloud site ID for the loyalty program.
    Example: 146032020

  - `1.id` (string)
    Displays the unique ID of the loyalty member.
    Example: advinsap1

  - `1.email` (string)
    Displays the email address of the loyalty member.
    Example: advinsap1@gmail.com

  - `1.firstName` (string)
    Displays the first name of the loyalty member.
    Example: Advin

  - `1.lastName` (string)
    Displays the last name of the loyalty member.
    Example: Roy

  - `1.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

  - `1.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

  - `1.phone` (integer)
    Displays the phone number of the loyalty member.
    Example: 4532678801

  - `1.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

  - `1.anniversaryDate` (string)
    Displays the loyalty member's anniversary date, which can be 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

  - `1.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

  - `1.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

  - `1.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.

  - `1.extendedAttribute.userType` (string)
    Displays the employment status of the member as employed, unemployed, or student.
    Example: Employed

  - `1.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

  - `2` (object)

  - `2.siteId` (string)
    Displays Annex Cloud site ID for the loyalty program.
    Example: 146032020

  - `2.id` (string)
    Displays the unique ID of the loyalty member.
    Example: advinsap2

  - `2.email` (string)
    Displays the email address of the loyalty member.
    Example: advinsap2@gmail.com

  - `2.firstName` (string)
    Displays the first name of the loyalty member.
    Example: Advin2

  - `2.lastName` (string)
    Displays the last name of the loyalty member.
    Example: Roy2

  - `2.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

  - `2.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

  - `2.phone` (integer)
    Displays the phone number of the loyalty member.
    Example: 4532678802

  - `2.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

  - `2.anniversaryDate` (string)
    Displays the loyalty member's anniversary date, which can be 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

  - `2.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

  - `2.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

  - `2.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.

  - `2.extendedAttribute.userType` (string)
    Displays the employment status of the member as employed, unemployed, or student.
    Example: Employed

  - `2.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:

  - `400` (unknown)
    AC1004 Missing Parameters

## Response 403:

  - `403` (unknown)
    AC1009 Member has opted-out

## Response 404:

  - `404` (unknown)
    AC1005 No data found

## Response 500:

  - `500` (unknown)
    The request couldn't be fulfilled because the server ran into an unforeseen circumstance.

