ReferenceProduct
Delete a product's building-material data
Removes the building-material attributes from the product 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
int32response?unknownapplication/octet-streamcurl -X DELETE 'https://<your-instance>/api/products/0/building-material' \ -H 'Authorization: Bearer <access-token>'nullGet a product's building-material data GET
Returns the building-material attributes of the product, or nothing when it carries none. Requires `Permissions.Product.View`.
Update a product's building-material data PUT
Creates or replaces the product's building-material attributes and returns the stored row. Requires `Permissions.Product.Update`.