refactor material prices
This commit is contained in:
+5
-8
@@ -16,7 +16,7 @@ Calculate price inc VAT of a wallpaper product. The response will contain prices
|
||||
|
||||
Sample request
|
||||
|
||||
`curl -X GET 'https://api2.photowall.com/prices/wallpaper?width=100&height=50&territory=SE&dealerurl=ackes'`
|
||||
`curl -X GET 'https://api2.photowall.com/prices/wallpaper?width=200&height=200&territory=SE&dealerurl=ackes'`
|
||||
|
||||
Sample response
|
||||
```
|
||||
@@ -25,17 +25,14 @@ Sample response
|
||||
{
|
||||
"material": "standard-wallpaper",
|
||||
"material_id": 1,
|
||||
"price": 295
|
||||
},
|
||||
{
|
||||
"material": "self-adhesive-wallpaper",
|
||||
"material_id": 2,
|
||||
"price": 445
|
||||
"material_price": 295,
|
||||
"price": 1180
|
||||
},
|
||||
{
|
||||
"material": "premium-wallpaper",
|
||||
"material_id": 4,
|
||||
"price": 325
|
||||
"material_price": 325,
|
||||
"price": 1300
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user