Skip to content

ClearPricing#


Description#

This function is part of the Customer Specific Sale Price Module. It allows you to clear a specific price for a specific customer and specific product.

Request Body Parameters#

Parameter
Type Description
Function String Always a value of “Module”
Module_Code String Always a value of “discount_customerspecific”
Module_Function String Always a value of “ClearPricing”
customer_id
edit_customer
customer_login
Number
String
String
The customer id
The customer login
The customer login
product_id
Edit_Product
Product_Code
Product_SKU
Number
String
String
String
ID Number of product
Product code string
Product code string
Product SKU string
PriceGroup_Name String Name of Customer Specific Price Group

Response Parameters#

Parameter
Type Description
success Boolean Boolean value if request was successful

Example Request#

{
    "Store_Code": "{{Store_Code}}",
    "Miva_Request_Timestamp": "{{$timestamp}}",
    "Function": "Module",
    "Module_Code": "discount_customerspecific",
    "Module_Function": "ClearPricing",
    "PriceGroup_Name": "Customer Specific Pricing",
    "Customer_Login": "parovarium",
    "Product_Code": "armor-leather"
}

Example Response#

{
    "success": 1
}