Delete Price Rule

Allows you to remove an existing price rule from the system using its unique ID.

🔒

Requires price_rules access scope. More access scope

The Delete Price Rule API allows you to remove an existing price rule from the system using its unique ID.

This API is especially useful for:

  1. Removing outdated or no longer applicable discount rules.
  2. Cleaning up rules that are incorrectly configured.
  3. Automating the deletion process for expired promotional campaigns.

Request Parameters

Public Request Parameters

📘

Path Parameters

FieldTypeRequiredDescriptionExample
price_rule_idstringYesPrice rule ID.91f9a466-7c8c-46e7-9774-64874a641534

Response Explanation

Public Response Parameters

📘

Successful Response

ParameterTypeExampleDescription
codestring200Error code (200 indicates success)
messagestringSuccessError message
dataobject{...}

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message

API Structure Overview

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!