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/contacts
POST
  • 401
    => Invalid User
  • 422
    => Please enter a first name
  • 422
    => Please enter a last name
  • 422
    => Please enter an email
  • 422
    => email: invalid
  • 422
    => Please enter a phone
  • 422
    => phone: format is invalid
  • 422
    => Please enter a message
  • 400
    => Shop's email is missing
  • 400
    => Email send failed
  • 404
    => Invalid input
  • 422
    => Unprocessable entity
Loading…
Loading the web debug toolbar…
Attempt #