WinShopAPI docs
ReferenceProduct

Get the selling price of several products

Same resolution as `GET {productId}/price`, for up to 50 products in one call. Takes no variant parameters, so it prices each product at its base variant. Requires `Permissions.Product.View`.

GET
/api/products/price

Authorization

Bearer
headerAuthorizationBearer <token>

OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.

Query Parameters

productId?array<>

ProductId

warehouseId?integer
Formatint32
companyId?|
Formatint32
Default0
destinationWarehouseId?|
Formatint32
Default0
discountWithEnquiry?|
Defaultfalse
isIntake?|
Defaultfalse
isDeliveryNote?|
Defaultfalse
isSale?|
Defaultfalse
isOrder?|
Defaultfalse
isEshop?|
Defaultfalse
userId?|
Formatint32
Default0

Response Body

application/json
  1. response
[index: integer]?
curl -X GET 'https://<your-instance>/api/products/price' \  -H 'Authorization: Bearer <access-token>'
[  {    "currencyId": 0,    "discount": 0,    "discountGroupId": 0,    "exchangeRate": 0,    "maxStockQuantity": 0,    "minStockQuantity": 0,    "optimalStockQuantity": 0,    "price": 0,    "priceId": 0,    "priceWithoutVAT": 0,    "promotionId": 0,    "quantityBlocked": 0,    "quantityInStock": 0,    "quantityInStockAllWarehouses": 0,    "quantityOrdered": 0,    "retailPrice": 0,    "stockPrice": 0,    "vatRate": 0,    "warehouseSellingPrice": 0,    "productId": 0  }]