Batch Customer API Tutorial
Overview
The Batch Customer API enables bulk creation or updates of customer profiles in a single request, optimizing performance and reducing API calls. This is useful for mass data synchronization, bulk user imports, and automated customer profile management.1. Create a Job request
Endpoint URL
POST https://api.gameball.co/api/v4/integrations/batch/customers
This endpoint processes multiple customer records in one request.
Authentication
Include your API key in the request headers:Request Structure
The request body must contain an array of customer objects, each with relevant attributes.Example Request
Response Structure
The response contains the JobId of the created job to check the status for, get the response, or terminate the job.Example Response
2. Get the Job status
Endpoint URL
GET https://api.gameball.co/api/v4/integrations/batch/{jobId}
Authentication
Include your API key in the request headers:Response Structure
Queued
Queued
Running
Running
Completed
Completed
Failed
Failed
Stopped
Stopped
3. Stop the running Job
Endpoint URL
DELETE https://api.gameball.co/api/v4/integrations/batch/{jobId}