pixiEmillControlCustomers
Deprecated
Email Control Customers
Since pixi version: LOU Official (6.3.0.4452) Additional notes:
Request
POST
https://apigateway.descartes.com/tms/pixi/pixiEmillControlCustomers
Request body
Name | Type | Required | Description |
---|---|---|---|
ShopID | string | false | Shop ID Type: varchar(3) Default value: NULL Example: abc Available from: LOU Official (6.3.0.4452) |
DayRange | integer | false | Day Range Type: int Default value: 10 Example: 123 Available from: LOU Official (6.3.0.4452) |
MinOrderCount | integer | false | Min Order Count Type: int Default value: 2 Example: 123 Available from: LOU Official (6.3.0.4452) |
Request Example
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Body xmlns="">
<pixiEmillControlCustomers>
<DayRange>0</DayRange>
<MinOrderCount>0</MinOrderCount>
<ShopID>string</ShopID>
</pixiEmillControlCustomers>
</Body>
</Envelope>
Response
1. Result set
Name | Type | Description |
---|---|---|
Name | string | Name Type: varchar Available from: 25.06 (25.6.0.58802) |
string | Type: varchar Available from: 25.06 (25.6.0.58802) |
|
ShopID | string | Shop ID Type: Varchar Available from: 25.06 (25.6.0.58802) |
AnzahlBestellungen | integer | Anzahl Bestellungen Type: int Available from: 25.06 (25.6.0.58802) |
Response Example
<PixiEmillControlCustomersPost200TextXmlResponse>
<Name>string</Name>
<eMail>string</eMail>
<AnzahlBestellungen>0</AnzahlBestellungen>
<ShopID>string</ShopID>
</PixiEmillControlCustomersPost200TextXmlResponse>
HTTP Example
POST https://apigateway.descartes.com/tms/pixi/
Content-Type: text/xml; charset=utf-8
# echo -n '{{username}}:{{password}}' | base64 | pbcopy
Authorization: Basic {{token}}
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="https://apigateway.descartes.com/tms/pixi/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:pixiEmillControlCustomers>
<ShopID xsi:type="xsd:string">abc</ShopID>
<DayRange xsi:type="xsd:integer">123</DayRange>
<MinOrderCount xsi:type="xsd:integer">123</MinOrderCount>
</ns1:pixiEmillControlCustomers>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
PHP Example
<?php
getPixiSoapClientResponse('pixiEmillControlCustomers', [
'ShopID' => 'abc', // string
'DayRange' => '123', // integer
'MinOrderCount' => '123', // integer
]);
function getPixiSoapClientResponse(string $method, array $arguments = [])
{
$soapArguments = [];
foreach ($arguments as $key => $value) {
$soapArguments[] = new SoapVar($value, null, '', '', $key);
}
$soapClient = new SoapClient(null, [
'login' => '...',
'password' => '...',
'uri' => 'https://apigateway.descartes.com/tms/pixi/',
'location' => 'https://apigateway.descartes.com/tms/pixi/',
]);
return $soapClient->__call($method, $soapArguments);
}