コンテンツにスキップ

クーポン削除

DELETE
/coupons/{coupon_id}
curl --request DELETE \
--url https://api.smaregi.dev/TARGET-CONTRACT-ID/pos/coupons/example \
--header 'Authorization: Bearer <token>'

指定されたクーポンを削除します。

対象プラン

  • プレミアム
  • プレミアムプラス
  • フードビジネス
  • リテールビジネス
coupon_id
required
string

クーポンID
※ ユーザーアクセストークンを利用する場合、ユーザーの所属する店舗で販売している商品のみをクーポン商品として持つクーポンのIDを指定してください。

削除成功

  • 指定されたIDが存在しない場合
Media typeapplication/json
object
type
required
string
title
required
string
detail
string
status
integer
Examples
Exampleリソースが存在しない場合
{
"type": "about:blank",
"title": "NotFound",
"detail": "指定されたIDのリソースが見つかりません",
"status": 404
}