P5-4450 save Pwinty order data

This commit is contained in:
Martin
2019-12-16 14:52:21 +01:00
parent 9efb59fb9f
commit 0579d80003
7 changed files with 176 additions and 2 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ Welcome to the documentation for Photowall API 2.
* [Categories](categories.md)
* [Designers](designers.md)
* [Prices](prices.md)
* [Orders](orders.md)
## Authentication
@@ -37,4 +38,4 @@ The response will contain a pagination object with the following attributes:
* `per_page` The number of items to be displayed on a page
* `has_next` True if a next page exists
* `has_prev` True if a previous page exists
* `total` The total number of items
* `total` The total number of items
+13
View File
@@ -0,0 +1,13 @@
# Orders
## Update pwinty_id
```
curl -X POST https://api2.photowall.com/orders/1/pwinty_id -H "Content-Type: application/json" -d '{"value": 123}'
```
## Update pwinty_image_id
```
curl -X POST https://api2.photowall.com/order-rows/1/pwinty_image_id -H "Content-Type: application/json" -d '{"value": 123}'
```