API reference
updateWeeklyRefundReportConfiguration
Required permission: OrganizationWrite
updateWeeklyRefundReportConfiguration(
organizationId: ID!
input: WeeklyRefundReportConfigurationInput!
): OrganizationArguments
| Name | Type | Description |
|---|---|---|
organizationId |
ID! |
|
input |
WeeklyRefundReportConfigurationInput! |
Returns
Example
mutation UpdateWeeklyRefundReportConfiguration($organizationId: ID!, $input: WeeklyRefundReportConfigurationInput!) {
updateWeeklyRefundReportConfiguration(organizationId: $organizationId, input: $input) {
id
fortnoxAccountingImportEnabled
hasFortnoxAccountingImportAccess
hasFortnoxAccountingImportCredentials
accountantEmail
createdAt
}
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { updateWeeklyRefundReportConfiguration(...) { __typename } }"}'