Core GraphQL APIReferenceMutations
Identity__customer Otp Login
Public: no sign-in needed.
MUTATION
identity__customerOtpLogin(input: CustomerOtpLoginInput!): LoginResponseDto!Public: no sign-in needed.
Arguments
input*Returns
- identity__customerOtpLogin
accessToken*String!memberships?mustChangePassword?BooleansystemRoles?[String!]Example Request
mutation Identity__customerOtpLogin($input: CustomerOtpLoginInput!) { identity__customerOtpLogin(input: $input) { accessToken memberships { roles tenant userDomain } mustChangePassword systemRoles }}{ "input": { "otpCode": "string", "phoneNumber": "string" }}{ "data": { "identity__customerOtpLogin": { "accessToken": "string", "memberships": [ { "roles": [ "string" ], "tenant": "string", "userDomain": "CUSTOMER" } ], "mustChangePassword": true, "systemRoles": [ "string" ] } }}Identity__create Vendor MUTATION
Creates a new vendor/supplier for the tenant. Optionally set a password for vendor portal access. Requires a signed-in staff user. Needs the `identity__Vendor` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
Identity__customer Send Otp MUTATION
Public: no sign-in needed.