Project

RESTful API Endpoint for Retrieving Orders by Customer

This API endpoint allows users to retrieve orders by specifying a customer code. The endpoint supports the `GET` method and requires the `customer_code` parameter. The response is an array of objects containing the `ORDER_NUMBER` and `PRODUCT_CODE`

Empty image or helper icon

RESTful API Endpoint for Retrieving Orders by Customer

Description

This API endpoint allows users to retrieve orders by specifying a customer code. The endpoint supports the GET method and requires the customer_code parameter. The response is an array of objects containing the ORDER_NUMBER and PRODUCT_CODE of the order items. The response is ordered by ORDER_NUMBER and PRODUCT_CODE in ascending order. The implementation is provided in Node.js using Express.js, with dummy data for demonstration purposes.

Content