Batch Member Actions
Create Batch Job
POST
cURL
Creates a new job, which runs asynchronously and returns a job ID. The job ID can be used to check the status of the job. The job contains an array of operations, of the same format as the single changes APIs:Documentation Index
Fetch the complete documentation index at: https://docs.onsi.com/llms.txt
Use this file to discover all available pages before exploring further.
- Add - Invites a new member to your Onsi programme.
- Replace - Replaces the member’s data with new information. An inactive member will be re-added to Onsi.
- Update - Updates the member’s data with new information. Does not re-add inactive members.
- Remove - Removes the member from your Onsi programme.
Unsetting Bank Details
For Replace and Update operations, you can remove a member’s bank details by settingaccountDetails to null.
Relevant Error Codes
If there are issues with any of the operations, the API will return a400 status code with the following error codes:
Authorizations
Headers
Unique key to ensure idempotency of the request
Body
application/json
Body
Minimum array length:
1Add a new member
- Add
- Replace
- Update
- Offboard
Response
202 - application/json
202
Example:
"maj_cltd2zp7100096tmbamb9c46o"
cURL