ReferenceProduct
Get a product's building-material data
Returns the building-material attributes of the product, or nothing when it carries none. Requires `Permissions.Product.View`.
GET
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
int32application/json- response
Building-material attributes of a product, such as its material, finish and thermal properties.
basisWeight?|Format
decimalcolorId?|Format
int32consumption?|Length
length <= 50density?|Format
decimaledge?|Length
length <= 50handle?|Length
length <= 50id?|Format
int32materialId?|Format
int32onlyInStockOrOrder?|Length
length <= 50paletteDimensionsId?|Format
int32paletteTypeId?|Format
int32productId?|Format
int32sizeId?|Format
int32strength?|Format
decimalsumOfThermalConductivity?|Format
decimalsurfaceFinishId?|Format
int32thickness?|Format
decimaltype?|Length
length <= 50typeId?|Format
int32curl -X GET 'https://<your-instance>/api/products/0/building-material' \ -H 'Authorization: Bearer <access-token>'{ "basisWeight": 0, "colorId": 0, "consumption": "string", "density": 0, "edge": "string", "handle": "string", "id": 0, "materialId": 0, "onlyInStockOrOrder": "string", "paletteDimensionsId": 0, "paletteTypeId": 0, "productId": 0, "sizeId": 0, "strength": 0, "sumOfThermalConductivity": 0, "surfaceFinishId": 0, "thickness": 0, "type": "string", "typeId": 0}