pixi Developer & Integration Documentation

pixiSetCustomerDiscount

Description

The call sets a discount for the specified customer.


Request Parameters

#

Name

Type

Required

Example

Description

1

CustMail

string

0

abc@def.com

Customer email. Used to identify the customer.

2

CustNr

string

0

abcdef

Customer number. Used to identify the customer.

3

Discount

number

0

12

Discount value for customer in %. (Value is rounded to 2 decimal places)


Request body

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dem="https://api.pixi.eu/soap/demosandbox/">
   <soapenv:Header/>
   <soapenv:Body>
      <dem:pixiSetCustomerDiscount>
         <dem:CustMail>abc@def.com</dem:CustMail>
         <dem:CustNr>abcdef</dem:CustNr>
         <dem:Discount>12</dem:Discount>
      </dem:pixiSetCustomerDiscount>
   </soapenv:Body>
</soapenv:Envelope>


Response


Body 1: Return status

#

Name

Type

Description

1

Status

string

Status

2

Message

string

Message


Additional Notes