APIs for products ordered

Allowing sellers to update the status of a product will require the setup of four different APIs, including an API to retrieve possible status values. Then actual status updates will need APIs to handle updates to the order itself as the status is changed, to initiate related actions such as increasing stock quantity of a cancelled product, and to create a charge on the customer's credit card when a product is being processed.

Get Full-Stack React Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.