appRevenueAttributionRecordCreate mutation
Version unstable
Creates a record of the attributed revenue for the app.
Required access
User must have applications permission.
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!
) RequiredThe financial amount captured in this attribution.
-
capturedOn (
Date!
) RequiredThe date the financial amount was captured.
-
idempotencyKey (
String!
) RequiredThe unique value submitted during creation.
-
test (
Boolean!
) RequiredIndicates whether this is a test submission.
-
type (
AppRevenueAttributionType!
) RequiredThe type of revenue attribution.
Return fields
-
appRevenueAttributionRecord (
AppRevenueAttributionRecord
)The created app revenue attribution record.
-
userErrors (
[AppRevenueAttributionRecordCreateUserError!]!
)List of errors that occurred executing the mutation.