Returns the commission status of a specific order by its ID.
ExperimentalAffiliateCommission
{ "orderId": "{{order-id}}" }
query ($orderId: ID!) { experimentalAffiliateCommission(orderId: $orderId) { ... on ExperimentalAffiliateCommissionPending { __typename updatedAt } ... on ExperimentalAffiliateCommissionUnconfirmed { __typename updatedAt } ... on ExperimentalAffiliateCommissionConfirmed { __typename updatedAt orderAmount { value displayValue currency } commissionAmount { value displayValue currency } } ... on ExperimentalAffiliateCommissionUpdated { __typename updatedAt orderAmount { value displayValue currency } commissionAmount { value displayValue currency } } ... on ExperimentalAffiliateCommissionFinalized { __typename updatedAt orderAmount { value displayValue currency } commissionAmount { value displayValue currency } } } }
{ "data": { "experimentalAffiliateCommission": { "__typename": "ExperimentalAffiliateCommissionConfirmed", "updatedAt": "2024-04-18T15:48:47.472Z", "orderAmount": { "value": 200, "displayValue": "$2.00", "currency": "USD" }, "commissionAmount": { "value": 75, "displayValue": "$0.75", "currency": "USD" } } } }
Was this page helpful?