Skip to main content
Version: 6.0.0

SysDeletePromotion

Deletes the specified promotion from the server.

ServiceOperation
promotionsSYS_DELETE_PROMOTION
info

Note: SysDeletePromotion will also delete archived promotions, not just active ones. Use this operation carefully if you intend to preserve archived promotion history.

Method Parameters

ParameterDescription
promotionIdID uniquely identifying the promotion to update. Note: If promotionId is included in the promotionJson, it is ignored. The promotionId provided as a direct parameter takes priority.
versionVersion of the promotion to update. Can bypass version check by passing in -1.

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"data": null,
"status": 200
}