Mutation

LOGIN_MUTATION

  • Description: Used to login admin inside web dashboard.
  • Parameter:

    • Name : EmailId

      Type: String!

      Description : unique EmailId, can't be null.

    • Name : Password

      Type: String!

      Description: Can't be null.

  • Response:

    • Type : Object

      Description: Returns a data object with a token used to further verify the admin.

ACTIVATE_MUTATION

  • Description: Used to activate and deactivate user by updating active field property of user.
  • Parameter:

    • Name : userId

      Type: ID!

      Description : unique userId, can't be null.

    • Name : activationStatus

      Type: Boolean!

      Description : A boolean which states the activation status of user. Cannot be null.

  • Response:

    • Type : Object

      Description: Returns data object with the updated active field of user.

UPDATE_SETTING

  • Description: Used to update settings such as Google Play Store link, iOS App Store link, timezone etc.
  • Parameter:

    • Name : userId

      Type: ID!

      Description : unique userId, can't be null.

    • Name : googleLink

      Type: String

      Description: Google play store link.

    • Name : appleLink

      Type: String

      Description: Ios app store link.

    • Response:

    • Type : Object

      Description: Returns data object with updated Google play store link, Ios app store link and timezone.

results matching ""

    No results matching ""