Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/keller-mark/pennapps-inventory-api
- Owner: keller-mark
- Created: 2017-01-21T03:16:18.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-22T13:10:04.000Z (almost 8 years ago)
- Last Synced: 2024-10-12T15:17:39.467Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 106 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/
```