API version: unstable
API version: 2021-04 Release candidate
API version: 2021-01 Latest
API version: 2020-10
API version: 2020-07
API version: 2020-04
API version: 2020-01 Unsupported
API version: 2019-10 Unsupported

appRevenueAttributionRecordCreate mutation

Version unstable

Creates a record of the attributed revenue for the app. This mutation should only be used to capture transactions that are not managed by the Billing API.

Required access

Access allowed for apps with app_attributions scope using offline tokens only. This API is under a private program and is not available to all partners.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
appRevenueAttributionRecord ( AppRevenueAttributionRecordInput! ) required

The app revenue attribution record to be created.

AppRevenueAttributionRecordInput fields

  • amount (MoneyInput!) Required

    The financial amount captured in this attribution.

  • capturedOn (Date!) Required

    The date the financial amount was captured.

  • idempotencyKey (String!) Required

    The unique value submitted during creation.

  • test (Boolean!) Required

    Indicates whether this is a test submission.

  • type (AppRevenueAttributionType!) Required

    The type of revenue attribution.

Return fields