Skip to content

SetPricing#


Description#

This function is part of the Customer Specific Sale Price Module. It allows you to set a specific price for a specific customer and specific product. Details on how to configure this discount module can be found here.

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 SetPricing
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
Price Number The price for this specific product/customer combination

Response Parameters#

Parameter
Type Description
success Boolean Boolean value if the request was successful

Example Request#

{
    "Store_code": "beta",
    "Function": "Module",
    "Module_Code": "discount_customerspecific",
    "Module_Function": "SetPricing",
    "PriceGroup_Name": "Customer Specific Pricing",
    "Customer_Login": "parovarium",
    "Product_Code": "armor-leather",
    "Price": "17.56"
}

Example Response#

{
    "success": 1
}