ReferenceProduct
Delete a product photo
Empties the photo slot given by `photoNumber` and returns 204. Requires `Permissions.Product.Update`.
DELETE
Bearerheader
AuthorizationBearer <token>OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.
productId*integerFormat
int32photoNumber?integerFormat
int32response?unknownapplication/octet-streamcurl -X DELETE 'https://<your-instance>/api/products/0/photo' \ -H 'Authorization: Bearer <access-token>'nullUpload a product photo POST
Stores the image in the requested photo slot, replacing whatever that slot held. Requires `Permissions.Product.Update`.
List a product's photos GET
Returns the photo slots of the product with their metadata. Fetch the image bytes themselves from `GET {productId}/photo`. Requires `Permissions.Product.View`.