WinShopAPI docs
ReferenceProduct

Reserve a product id

Reserves the next free product id and returns it, so a caller can build the product's barcodes and references before sending the product itself. Requires `Permissions.Product.Create`.

POST
/api/products/reserve-product-id

Authorization

Bearer
headerAuthorizationBearer <token>

OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.

Response Body

response?integerapplication/json
Formatint32
curl -X POST 'https://<your-instance>/api/products/reserve-product-id' \  -H 'Authorization: Bearer <access-token>'
0