P5-6517 add market resource (#32)
This commit is contained in:
@@ -8,6 +8,7 @@ Welcome to the documentation for Photowall API 2.
|
||||
* [Designers](designers.md)
|
||||
* [Prices](prices.md)
|
||||
* [Orders](orders.md)
|
||||
* [Markets](markets.md)
|
||||
|
||||
## Authentication
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
# Markets
|
||||
|
||||
## List markets
|
||||
|
||||
```
|
||||
curl -X GET https://api.photowall.com/markets/
|
||||
```
|
||||
|
||||
## Show market
|
||||
|
||||
```
|
||||
curl -X GET https://api.photowall.com/markets/1
|
||||
```
|
||||
|
||||
## Update market
|
||||
|
||||
```
|
||||
curl -X PUT https://api:5000/markets/1 -H "Content-Type: application/json" -d '{"price_adjustment": "1.25"}
|
||||
```
|
||||
Reference in New Issue
Block a user