# retryWeeklyRefundReport

> Required permission: OrganizationWrite

Source: https://docs.gastrogate.io/docs/api/mutations/retryWeeklyRefundReport

```graphql
retryWeeklyRefundReport(
  organizationId: ID!
  runId: ID!
): WeeklyRefundReportRun
```

## Arguments

| Name | Type | Description |
| --- | --- | --- |
| `organizationId` | [`ID`](https://docs.gastrogate.io/docs/api/types/ID.md)! |  |
| `runId` | [`ID`](https://docs.gastrogate.io/docs/api/types/ID.md)! |  |

## Returns

[`WeeklyRefundReportRun`](https://docs.gastrogate.io/docs/api/types/WeeklyRefundReportRun.md)

## Example

```graphql
mutation RetryWeeklyRefundReport($organizationId: ID!, $runId: ID!) {
  retryWeeklyRefundReport(organizationId: $organizationId, runId: $runId) {
    id
    attemptCount
    attemptedAt
    error
    periodEnd
    periodStart
  }
}
```

```bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "mutation { retryWeeklyRefundReport(...) { __typename } }"}'
```
