Set a draft product rule
__Secure-guidelab-prod.session_token<token>
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
priceListId*string
Length
1 <= lengthversionId*string
Length
1 <= lengthproductId*string
Length
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/price-lists/string/versions/string/products/string" \ -H "Content-Type: application/json" \ -d '{ "expectedRevision": 0, "rule": { "type": "fixed", "fixedPrice": "string" } }'{ "rule": { "id": "string", "labId": "string", "priceListVersionId": "string", "targetKind": "product", "productId": "string", "bundleId": "string", "fixedPrice": "string", "discountPercent": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }, "revision": 0}Empty
Empty
Empty
Empty
Empty
Empty