Deletes coupon promotion. The deleted promotion:
After deletion, the promotion can’t be restored. Coupon codes from the deleted promotion can be added to existing promotions.
优惠券促销活动成功删除。
基本认证未通过或错误。确保您使用了基本认证或正确的凭据。
未找到优惠券。请确保external_id
正确无误。
curl -i -X DELETE \ -u <merchant_id_or_project_id>:<api_key> \ 'https://store.xsolla.com/api/v2/project/{project_id}/admin/coupon/{external_id}'
{- "errorCode": 1020,
- "errorMessage": "[0401-1020]: Error in Authentication method occurred",
- "statusCode": 401
}