nss-evening-cohort-7 / csharp-bangazonapi-boilerplate

Boilerplate code for the Bangazon Platform API
0 stars 0 forks source link

Order detail JSON should contain product details #11

Open copypastedeveloper opened 6 years ago

copypastedeveloper commented 6 years ago

From @stevebrownlee on July 22, 2017 19:39

Update the Order detail JSON object should contain all nested Product information.

For example:

{
   OrderId: 21,
   CustomerId: 16,
   PaymentTypeId: 83,
   Products: [
      {
         ProductId: 156,
         Name: "Kite",
         Price: 14.25
         Quantity: 1
      },
      {
         ProductId: 212,
         Name: "Roller blades",
         Price: 88.99
         Quantity: 1
      }
   ]
}

Copied from original issue: nashville-software-school/csharp-bangazonapi-boilerplate#10