in lieu of demonstrating a check out straight, You can even move the request off into a controller, which could handle additional advanced logic right before ultimately returning some source (typically a check out). https://leammir860282.blogofchange.com/29880207/facts-about-laravel-api-revealed