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/delivery_addresses
POST
  • 400
    => Invalid User
  • 400
    => Invalid input
  • 400
    => Maximum delivery address have been exceeded : 5
  • 400
    => Postal code is missing
  • 400
    => Invalid Building type
  • 400
    => Delivery address's label already exist
/api/v2/delivery_addresses/{id}
PUT
  • 400
    => Invalid User
  • 400
    => Invalid input
  • 400
    => Maximum delivery address have been exceeded : 5
  • 400
    => Postal code is missing
  • 400
    => Invalid Building type
  • 400
    => Delivery address's label already exist
/api/v2/delivery_addresses/{id}
DELETE
  • 404
    => Resource not found
/api/v2/delivery_addresses/{id}/set-default
PATCH
  • 400
    => Invalid input
  • 400
    => Delivery address is missing
  • 404
    => Resource not found
Loading…
Loading the web debug toolbar…
Attempt #