Tags:
- API
- 2023-04
Idempotent creation of AppUsageRecord
In the Admin GraphQL API version 2023-04, now supports an optional parameter which ensures the merchant will not be charged twice. When is provided, the mutation will return the same response as any previous mutations with identical for the intended shop and requesting app, rather than creating a new record and charging the merchant again.
This means that an could be reused by an app to create s on different shops to charge the merchant. Different apps can also use the same on the same shop and still charge the shop. But we recommend a UUID.
The will behave like past API versions when is not provided and create a new record on every mutation.
Was this section helpful?