HomeGuidesAPI ReferenceChangelogDiscussions
HomeLog In
Guides

Delete Promotion

Function

To delete a specific promotion with its ID
透過 Open API 刪除優惠活動

URL

DELETE <<api_domain>>/v1/promotions/:id

Request parameters

ParameterTypeDescriptionExample
:id
*Required
StringPromotion ID
優惠活動ID
ruby 5e8445bcca53240021eab706

Response Codes

200
OK

404
Promotion not found

422
Unprocessable Entity