Skip to content

Conversation

@simonesquad
Copy link

  • GET /customers/orders - Returns all customers with their orders

  • GET /customers/customer/{id} - Returns the customer and their orders with the given customer id

  • GET /customers/namelike/{likename} - Returns all customers and their orders with a customer name containing the given substring

  • GET /agents/agent/{id} - Returns the agent and their customers with the given agent id

  • GET /orders/order/{id} - Returns the order and its customer with the given order number

  • GET /customers/orders/count - Using a custom query, return a list of all customers with the number of orders they have placed.

  • Stretch Goal
    GET /orders/advanceamount - returns all orders with their customers that have an advanceamount greater than 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant