Documentation

Carte en cours du clonage...

Merci d'attendre la fin du clonage avant de modifier quoi que ce soit.

API ERRORS RESPONSES

API errors responses

Foxorder's API includes an error management system, this system allows users to have assistance in case of error.

Depending on the type of errors, the error message is often explicit (typing, null, format, etc.) otherwise, it indicates the source of the error and possibly the solution.

Logo
Endpoint Method Error code => message
/api/v2/phone/send-verification-code
POST
  • 400
    => Invalid input
    • phone
      • => Invalid format.
      • => The phone number must be a valid mobile number.
      • => This field is required.
  • 400
    => Phone already verified
  • 400
    => Code already sent
  • 400
    => Request failed
  • 429
    => Too Many Requests
  • 422
    => Unprocessable entity
/api/v2/phone/verify
POST
  • 400
    => Invalid input
    • phone
      • => Invalid format.
      • => The phone number must be a valid mobile number.
      • => The code number must contain 6 digits.
  • 400
    => Invalid phone or code
  • 422
    => Unprocessable entity
Loading…
Loading the web debug toolbar…
Attempt #