Delete Setting

DELETE https://api.sfox.com/v1/enterprise/monetization/settings/:id

This endpoint allows Partners to delete and deactivate a monetization setting. Once deleted, this monetization setting will no longer apply to future orders or transactions.

Path Parameters

Name
Type
Description

id required

number

The monetization ID of the setting to be deleted

Responses

200 OK
{
    "data": {
        "success": true
    }
}
422 Unprocessable Content
Invalid ID
{
    "error": "Invalid monetization ID."
}
403 Forbidden
No permission
{
    "error": "Partner does not have permission to delete Feature Monetization."
}

Example Requests

curl -X DELETE \
    -H "Authorization: Bearer ${ENTERPRISE_API_KEY}" \
    'https://api.sfox.com/v1/enterprise/monetization/settings/1310717'

Last updated