Closed rrabinovitch closed 3 years ago
Adds and tests endpoints that show related records, including: • GET /api/v1/merchants/:id/items => returns all items associated with a merchant • GET /api/v1/items/:id/merchant => returns the merchant associated with an item
GET
/api/v1/merchants/:id/items
/api/v1/items/:id/merchant
Adds and tests endpoints that show related records, including: •
GET
/api/v1/merchants/:id/items
=> returns all items associated with a merchant •GET
/api/v1/items/:id/merchant
=> returns the merchant associated with an item