GuideLab API

Delete a draft product rule

DELETE
/price-lists/{priceListId}/versions/{versionId}/products/{productId}

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Path Parameters

priceListId*string
Length1 <= length
versionId*string
Length1 <= length
productId*string
Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X DELETE "https://example.com/price-lists/string/versions/string/products/string" \  -H "Content-Type: application/json" \  -d '{    "expectedRevision": 0  }'
{  "deleted": true,  "revision": 0}
Empty
Empty
Empty
Empty
Empty
Empty