Objects

post
Update Object

https://api.zaius.com/v3/objects/{object_name}
Update an object (e.g. Concert Tickets or Reviews)
Request
Response
Body Parameters
{object_field}
optional
string
any other field within the object that you wish to update associated with the primary key
{primary_key}
required
string
the primary key of the object
202: Accepted
{
"title": "Accepted",
"status": 202,
"timestamp": "2018-09-10T21:07:10-05:00"
}
400: Bad Request
{
"title": "Bad Request",
"status": 400,
"timestamp": "2018-09-10T21:07:10-05:00",
"detail": {
"invalids": [
{
"event": 0,
"message": "Missing required field `product_id`"
}
]
}
}
403: Forbidden
{
"message": "Forbidden"
}
Example Payload
[{
"primary_key": "123",
"field_example": true
},{
"primary_key": "456",
"field_example": false
}]