updateBusinessFromInsee
Update a business' details from the details they have exposed on the INSEE Sirene API.
Arguments
Info on the business to be updated.
Returns
UpdateBusinessFromInseeUpdate a business' details from the details they have exposed on the INSEE Sirene API.
Possible Errors
- KT-CT-11101: The viewer is not authorized to execute the query/mutation. Check the ownership/permissions of provided data.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-7899: An internal error occurred.
- KT-FR-11103: The business cannot be looked up on the INSEE API due to missing attributes.
- KT-FR-11104: No business could be found with the provided input.
- KT-FR-11105: The details of the given business cannot be disclosed by INSEE.
- KT-FR-11109: The INSEE API lookup functionality is unavailable.
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 UpdateBusinessFromInsee($input: UpdateBusinessFromInseeInput!) {
updateBusinessFromInsee(input: $input) {
business {
...BusinessTypeFragment
}
}
}
Variables
{
"input": UpdateBusinessFromInseeInput
}
Response
{
"data": {
"updateBusinessFromInsee": {
"business": BusinessType
}
}
}