Update User

GraphQL endpoint to add a update an existing user in the CRM

  • GraphQL Mutation:

    mutation UpdateCustomUser($primaryWalletAddress:String, $properties: [PropertyInput]!) {
      updateCustomUser(primaryWalletAddress: $primaryWalletAddress, properties: $properties) {
        status
        primaryWalletAddress
      }
    }
  • Variables:

    • **primaryWalletAddress**: Primary wallet address

    • **properties**: list of custom properties

      • ex. imported wallets (refer example below)

  • Example json payload:

{
    "primaryWalletAddress":"35463643", 
    "properties": [
            {
                "key": "importedWallets",
                "value": ["wa1", "wa2"]
            }
    ]
}

Last updated