Upsert Card Accounts in Bulk (Beta)
PATCH/partner/card-accounts/_bulk
This endpoint provides significant performance advantages, over POSTing and PATCHing single Card Accounts, when creating or updating large numbers of Card Accounts. The behavior of this endpoint is similar to that of those endpoints except for some minor differences in how errors are handled.
Card Accounts that are not found, as resolved by their external_id
and
card_program_external_id
(and publisher_external_id
when applicable),
are created. Existing objects are updated as though they were PATCH
ed.
You should check the result_type
of the response to handle errors for
individual items. If the top-level request returns a Client Error response
(response codes 400-499), no Card Accounts from the batch were created or
updated.
This endpoint is currently rate limited at 50 requests per minute.
Request
Responses
- 200
- 400
- 403
- 409
- 415
- 422
- 429
- 500
- 501
- 503
Card Accounts Bulk Result
TripleBadRequestError
TripleNotAuthenticatedError
TripleIntegrityError
TripleUnsupportedMediaType
TripleUnprocessableEntity
TripleTooManyRequests
Response Headers
The minimum number of seconds to wait before retrying the request.
Request limit per minute.
The number of requests left for the time window.
The time at which the rate limit resets, specified in UTC epoch time (in seconds).
TripleInternalServerError
TripleNotImplementedError
TripleServiceUnavailable