Arguments

An object containing the Shopify store domain and the proposed commission rate percent.

Returns

ShopifyMerchantCommission.*

Object which contains merchant commission information set between a user and a specified Shopify store.


Example - request

Query arguments
{
  "input": {
    "canonicalDomain": "example.myshopify.com",
    "ratePercent": 15
  }
}
mutation ProposeShopifyMerchantCommission($input: ProposeShopifyMerchantCommissionInput!) {
  proposeShopifyMerchantCommission(input: $input) {
    currentRatePercent
    commissionProposal {
      ratePercent
      createdAt
    }
  }
}

Example - response

{
  "data": {
    "proposeShopifyMerchantCommission": {
      "currentRatePercent": 10,
      "commissionProposal": {
        "ratePercent": 15,
        "createdAt": "2023-11-26T12:00:00Z"
      }
    }
  }
}