Bundle multiple requests to Connect V1 API endpoints as a single request.
POST
/v1/batch
Bundle multiple requests to Connect V1 API endpoints as a single request.
The V1SubmitBatch endpoint does not require an access token in the request header. Instead, provide an access_token
parameter for each request included in the batch.
V1SubmitBatch responds with an array that contains response objects for each of the batched requests. There is no guarantee of the order in which batched requests are performed.
IMPORTANT
You cannot include more than 30 requests in a single batch and recursive requests to V1SubmitBatch are not allowed. In other words, none of the requests included in a batch can itself be a request to the V1SubmitBatch endpoint.
Square access token for the API call.
Request body for the API call. Only used for API calls using POST.