Skip to main content

Sign In Verify

Verifies the OTP code and completes the authentication process for customers.

HTTP Request

POST/api/shop/customers/auth/otp/signin/verify

Authorization

Authorization

  • Required: No
  • Permission: None (public access)
  • Authentication: None

Request Body

FieldTypeRequiredDescription
codeIntegerYesOTP verification code received via SMS

Example Requests

1import requests
2
3# Verify OTP code
4response = requests.post('http://www.example.com/api/shop/customers/auth/otp/signin/verify', 
5  json={
6      'code': 123456
7  }
8)
9print(response.json())

Status Codes

CodeDescription
200OTP verified and authentication successful
400Bad request — invalid or expired OTP code
500Internal server error

Response Fields

FieldTypeDescription
tokenStringAuthentication token for API access

Example Respones

{
"token": "someverylongtokenreturnedhere"
}

Notes

    • Rate Limiting: OTP requests may be rate-limited to prevent abuse