industryCreate
Create an industry. The industryCreate 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 IndustryAttributes type
mutation industryCreate ($attributes: IndustryAttributes!) {
industryCreate (attributes: $attributes) {
errors
industry {
createdAt
globalId
id
name
updatedAt
}
}
}
ArgumentsLink to Arguments section
{
"attributes": {
"name": "",
"globalId": "456123"
}
}
| Name | Type | Description |
|---|---|---|
| attributes | IndustryAttributes |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| errors | List (String) | |
| industry | Industry |