List a product's read-only fields
Returns the fields of this product that the instance's configuration will not let you change, so a client can disable them before the user edits anything. Which fields are locked is instance-specific. 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
nonEditableFields*array<string>curl -X GET 'https://<your-instance>/api/products/0/non-editable-fields' \ -H 'Authorization: Bearer <access-token>'{ "nonEditableFields": [ "string" ]}Check whether a product can be deleted GET
Advisory pre-flight for `DELETE {productId}`. `canBeDeleted` is false when `blockingReferences` lists the places that still point at the product (stock rows, documents, …). Requires `Permissions.Product.View`.
Get a product photo GET
Returns the image in slot `photoNumber` as raw bytes with its own content type. `width`, `height`, `quality` and `format` re-encode the stored image on the fly, so a client can request exactly the thumbnail it needs. 404 when the slot is empty. Requires `Permissions.Product.View`.