ReferenceProduct
List a product's attachments
Returns the attachments of the product with their metadata, without the file contents. 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
int32Default
0application/json- response
[index: integer]?Metadata of a file attached to a product, without its contents.
curl -X GET 'https://<your-instance>/api/products/0/attachment' \ -H 'Authorization: Bearer <access-token>'[ { "fileName": "string", "id": 0, "level1Id": 0, "level2Id": 0, "level3Id": 0, "pathToFile": "string", "productId": 0 }]Update a product PUT
Updates the product and the child collections present in the body, then returns the stored product with everything loaded. Collections the body leaves out are untouched. Requires `Permissions.Product.Update`.
Upload a product attachment POST
Adds an attachment to the product. Requires `Permissions.Product.Update`.