Get a purchase price from a supplier
Returns the purchase price agreed with `supplierId` that is valid on `priceDate`. Requires `Permissions.Product.View`.
BearerAuthorizationBearer <token>OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.
productId*integerint32supplierId?integerint32priceDate?stringdate-timeapplication/json- response
countryOfDispatchId?integerint32exchangeRate?numberdecimalforeignCurrencyId?integerint32foreignPurchasePrice?numberdecimalisPromoPrice?booleanpurchasePrice?numberdecimalreceivedPurchasePrice?numberdecimalsupplierProductCode?stringcurl -X GET 'https://<your-instance>/api/products/0/purchase-price' \ -H 'Authorization: Bearer <access-token>'{ "countryOfDispatchId": 0, "exchangeRate": 0, "foreignCurrencyId": 0, "foreignPurchasePrice": 0, "isPromoPrice": true, "purchasePrice": 0, "receivedPurchasePrice": 0, "supplierProductCode": "string"}Get the selling price of one product GET
Resolves the selling price of one product variant for a given warehouse, and optionally a customer, applying the price lists, discounts and promotions that the instance has configured. The `is*` flags say which kind of document the price is being quoted for, because a price can differ between a sale, an order and an e-shop basket. Requires `Permissions.Product.View`.
List a product's repricings GET
Returns the repricing rows recorded for this product, optionally narrowed to those effective between `validFromStart` and `validFromEnd`. See the *ProductRepricing* endpoints to create one. Requires `Permissions.Product.View`.