Create a location group with company attributes

Create a location group and set its company attributes. The supplied attribute values replace the resource's attribute set rather than merging individual values.

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.

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
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json