Storefront GraphQL APIReferenceMutations
Send Otp
MUTATION
sendOtp(input: SendOtpInput!): SendOtpResponse!Arguments
input*Returns
- sendOtp
success*Boolean!message?StringisNewCustomer?BooleanExample Request
mutation SendOtp($input: SendOtpInput!) { sendOtp(input: $input) { success message isNewCustomer }}{ "input": { "phoneNumber": "string" }}{ "data": { "sendOtp": { "success": true, "message": "string", "isNewCustomer": true } }}