P5-7013 Move wallpaperkit price to api (#38)
This commit is contained in:
@@ -291,3 +291,31 @@ Sample response
|
||||
"retouch_price": 0
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
||||
## Calculate wallpaper kit price
|
||||
|
||||
Calculate the price for a wallpaper kit
|
||||
|
||||
| Parameter | Description |
|
||||
| --------- | ------------|
|
||||
| `market` | Market id e.g `1` for sweden. Markets affect the price in different ways like VAT, currency exchanges etc. |
|
||||
| `dealerurl` | Optional parameter e.g `ackes`. Should always be used when calling the api from a dealerstore. If a dealerstore exists with this url additional fees will be applied to the price. |
|
||||
|
||||
|
||||
Sample request
|
||||
|
||||
`curl -X GET 'https://api.photowall.com/prices/wallpaper-kit?market=4`
|
||||
|
||||
Sample response
|
||||
```
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"price": 166.46999999999997,
|
||||
"price_excl_vat": 133.176
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user