leadSourceCreate
Create a lead source. The leadSourceCreate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: admin:write
For a complete list of input attributes see the LeadSourceAttributes type
mutation leadSourceCreate ($attributes: LeadSourceAttributes!) {
leadSourceCreate (attributes: $attributes) {
errors
leadSource {
createdAt
id
name
updatedAt
}
}
}
Arguments
{
"attributes": {
"name": ""
}
}
| Name | Type | Description |
|---|---|---|
| attributes | LeadSourceAttributes |
Response
| Name | Type | Description |
|---|---|---|
| errors | List (String) | |
| leadSource | LeadSource |