Get the variant matrix for expedition
Returns the variant grid a warehouse can actually despatch: the catalogue's variants joined with what is on stock, so cells that exist in the catalogue but hold nothing are still reported. `warehouseId` is required. 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.
warehouseId?integerint32productIds?array<>application/json- response
[index: integer]?curl -X GET 'https://<your-instance>/api/products/expedition-availability-matrix' \ -H 'Authorization: Bearer <access-token>'[ { "colorId": 0, "dimensionId": 0, "lengthId": 0, "productId": 0, "quantityBlocked": 0, "quantityInStock": 0, "sizeId": 0, "stockItemId": 0, "warehouseId": 0 }]Create a product POST
Creates a product together with the child collections present in the body (barcodes, units, suppliers, variants, …) and returns the stored product with everything loaded (201, `Location` header set). Read-only fields in the body are ignored rather than rejected. Requires `Permissions.Product.Create`.
Get the selling price of several products GET
Same resolution as `GET {productId}/price`, for up to 50 products in one call. Takes no variant parameters, so it prices each product at its base variant. Requires `Permissions.Product.View`.