API Reference
Log In
API Reference

Create a location group and replace its Company Attributes with the payload

Creates a Location Group and upserts its Company Attributes in one request. The provided customAttributesPayload replaces the entire set of attributes attached to the location group: omit the field to create the location group without company attributes; provide an empty array ([]) to create the location group with no attributes. Values must match the attribute data type configured for the company attribute.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
locationGroupPayload
object
required

Fields to create the location group. Uses the locationGroup schema; at minimum name is required.

customAttributesPayload
array of objects
required

List of Company Attributes to attach to the location group. If the field is omitted, the location group will be created without company attributes. If you provide an empty array ([]) the location group will be created with no attributes.

customAttributesPayload*
Responses
201

Created Successfully

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json