Content: Contact
Create a batch of contact objects
Allows you to create or create and update up to 100 objects of Contact type. <br />
post/api/v1/content/contact/batch
Request
- Base URL: https://api.flotiq.com
- URL: https://api.flotiq.com/api/v1/content/contact/batch
- Auth: API key in header X-AUTH-TOKEN
Query parameters
updateExistingboolean
Overwrite existing objects
Request body
Example request
[
{
"id": "contact-1",
"email": "email",
"phone": "phone",
"address": "address",
"description": "description",
"contact_title": "contact_title",
"__translations": [
{
"email": "email",
"phone": "phone",
"address": "address",
"__language": "__language",
"description": "description",
"contact_title": "contact_title",
"business_hours": [
{
"day": "day",
"hours": "hours"
}
],
"get_in_touch_title": "get_in_touch_title",
"business_hours_title": "business_hours_title",
"send_a_message_title": "send_a_message_title",
"get_in_touch_description": "get_in_touch_description",
"send_a_message_description": "send_a_message_description"
}
],
"business_hours": [
{
"day": "day",
"hours": "hours"
}
],
"get_in_touch_title": "get_in_touch_title",
"business_hours_title": "business_hours_title",
"send_a_message_title": "send_a_message_title",
"get_in_touch_description": "get_in_touch_description",
"send_a_message_description": "send_a_message_description"
}
]Response
OK
Example response
{
"batch_total_count": 2,
"batch_success_count": 2,
"batch_error_count": 0,
"errors": []
}Changes
No recorded changes to this operation across all 1 revision of this API.