List a product's photos
Returns the photo slots of the product with their metadata. Fetch the image bytes themselves from `GET {productId}/photo`. 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*integerint32application/json- response
Metadata of a product's photo slots; the images themselves are served by the product photo endpoint.
guid?stringguidid?integerint32photoUrl1?|length <= 256photoUrl2?|length <= 256photoUrl3?|length <= 256photoUrl4?|length <= 256photoUrl5?|length <= 256photoUrl6?|length <= 256productId?integerint32curl -X GET 'https://<your-instance>/api/products/0/photos' \ -H 'Authorization: Bearer <access-token>'{ "guid": "string", "id": 0, "photoUrl1": "string", "photoUrl2": "string", "photoUrl3": "string", "photoUrl4": "string", "photoUrl5": "string", "photoUrl6": "string", "productId": 0}Delete a product photo DELETE
Empties the photo slot given by `photoNumber` and returns 204. Requires `Permissions.Product.Update`.
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`.