# 切换促销活动 将促销的状态从enabled切换到disabled,反之亦然。 注意此API调用不包含project_id路径参数,因此您需要使用在您公司的所有项目中都有效的API密钥来设置授权。 Endpoint: PUT /merchants/{merchant_id}/promotions/{promotion_id}/toggle Version: 2.0 Security: basicAuth ## Path parameters: - `merchant_id` (integer, required) 商户ID。 - `promotion_id` (integer, required) 促销活动 ID。 ## Response 204 fields