> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# mapAppStoreSubscriptionsToPlans

> Map App Store subscriptions to Stigg plans



**mutation** `mapAppStoreSubscriptionsToPlans(input: AppStoreSubscriptionsToPlansMappingInput!): MapAppStoreSubscriptionsToPlansResult!`

## Arguments

**`input`**: `AppStoreSubscriptionsToPlansMappingInput!` (required)

## Returns

`MapAppStoreSubscriptionsToPlansResult!`

**`success`**: `Boolean!`

Whether the mapping was successful

## Examples

```graphql Mutation
mutation MapAppStoreSubscriptionsToPlans($input: AppStoreSubscriptionsToPlansMappingInput!) {
  mapAppStoreSubscriptionsToPlans(input: $input) {
    success
  }
}
```

```json Variables
{
  "input": {
    "appStoreSubscriptionMapping": [
      {
        "appStoreSubscriptionId": "string",
        "planRefId": "string"
      }
    ],
    "applicationId": "string",
    "bundleId": "string"
  }
}
```

```json Response
{
  "data": {
    "mapAppStoreSubscriptionsToPlans": {
      "success": true
    }
  }
}
```


## Related topics

- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)
- [MapAppStoreSubscriptionsToPlansResult](https://docs.stigg.io/graphql-reference/types/MapAppStoreSubscriptionsToPlansResult.md)
- [AppStoreSubscriptionsToPlansMappingInput](https://docs.stigg.io/graphql-reference/types/AppStoreSubscriptionsToPlansMappingInput.md)
- [Apple App Store](https://docs.stigg.io/documentation/native-integrations/marketplaces/apple-app-store.md)
- [AppStoreSubscriptionMappingInput](https://docs.stigg.io/graphql-reference/types/AppStoreSubscriptionMappingInput.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.