addBusinessToSegment
Add a business to a segment.
Arguments
Input fields for adding a business to a segment.
Possible Errors
Allowed Viewers
Required Permissions
Can query businesses Can update businessesQuery Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation AddBusinessToSegment($input: AddBusinessToSegmentInput!) {
addBusinessToSegment(input: $input) {
businessSegmentPeriod {
...BusinessSegmentPeriodTypeFragment
}
}
}
Variables
{
"input": AddBusinessToSegmentInput
}
Response
{
"data": {
"addBusinessToSegment": {
"businessSegmentPeriod": BusinessSegmentPeriodType
}
}
}