Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/keller-mark/pennapps-inventory-api

PennApps 2017w Inventory API
https://github.com/keller-mark/pennapps-inventory-api

Last synced: about 2 months ago
JSON representation

PennApps 2017w Inventory API

Awesome Lists containing this project

README

        

# PennApps w2017 Inventory API

### Endpoints

##### API Welcome
```
GET /api
```

##### List Inventory
```
GET /api/inventory
```

##### Checkout Items
```
POST /api/checkout/
```
Parameters:

| Key | Value |
| ------------ | ------------- |
| `items` | `[{"id": 4, "quantity": 5},{"id": 2, "quantity": 6}]` |

##### Restock Items
```
POST /api/restock
```
Parameters:

| Key | Value |
| ------------ | ------------- |
| `items` | `[{"id": 4, "quantity": 5},{"id": 2, "quantity": 6}]` |

##### Merchant Info
```
GET /api/merchant_info
```

##### List Customers
```
GET /api/customers
```

##### Find a Customer
```
GET /api/customers/
```