Update
Mutation API
Update
POST
Update
Update mutation
For update mutations, the request body is anUpdateMutationRequest object with the following shape:
UpdateMutationRequest
We use
PATCH in all update mutations.Parameters
string
required
The ID of the sync that the mutations should apply to.
string
required
The ID of the collection that the mutations should apply to.
array
required
A list of one or more
PartialRecord objects.array
A list of one or more consumer IDs. See await consumers below.
integer
The number of milliseconds to wait for consumers to finish processing a mutation. Defaults to
30000 (30 seconds). See await consumers below.Response
If the mutation succeeds, Sequin will return a JSON object with arecords property containing each record:
200 OK
400 Bad Request response with an error message:
400 Bad Request
504 Gateway Timeout response with an error message:
504 Gateway Timeout

