Anchor to Earning
objectEarning
An earning event representing when a partner receives payment.
Anchor to FieldsFields
- chargeId (ID)
- description (String)
- earningType (EarningType!)
- eventType (EventType!)
- grossAmount (Money!)
- id (ID!)
- metadata (EventMetadata)
- netAmount (Money!)
- occurredAt (DateTime!)
- settlementDate (Date)
- shop (ShopReference)
- shopifyFee (Money!)
- subject (Subject)
- Anchor to chargeIdcharge•ID
Id References the charge ID from the related charge event.
- Anchor to descriptiondescription•String
Description of the earning.
- Anchor to earningTypeearning•Earning
Type Type! non-null The type of earning.
- Anchor to eventTypeevent•Event
Type Type! non-null The type of event.
- Anchor to grossAmountgross•Money!
Amount non-null The amount the merchant was charged.
- •ID!non-null
Unique identifier for the event.
- Anchor to metadatametadata•Event
Metadata Additional metadata for backfilled earnings.
- Anchor to netAmountnet•Money!
Amount non-null The amount the partner receives after commission.
- Anchor to occurredAtoccurred•Date
At Time! non-null The date and time when the event occurred.
- Anchor to settlementDatesettlement•Date
Date The date when the earning was settled.
- Anchor to shopshop•Shop
Reference The shop associated with the event.
- Anchor to shopifyFeeshopify•Money!
Fee non-null Shopify's commission.
- Anchor to subjectsubject•Subject
The subject of the event (App or Theme).
Was this section helpful?