Arguments

input
ProposeShopifyMerchantCommissionInput!
required

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

Returns

ShopifyMerchantCommission.*
ShopifyMerchantCommission!
required

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


Example - request

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

Example - response

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