POST api/ecommerce/update
Request Information
URI Parameters
None.
Body Parameters
EcommerceData| Name | Description | Type | Additional information |
|---|---|---|---|
| Type | EcommerceTypeEnum |
None. |
|
| Name | string |
None. |
|
| DomainName | string |
None. |
|
| IsPublic | boolean |
None. |
|
| Enabled | boolean |
None. |
|
| PriceListID | integer |
None. |
|
| ShowPrices | boolean |
None. |
|
| ShowStockQuantity | boolean |
None. |
|
| ShowOnlyWithStock | boolean |
None. |
|
| ImageLogoUrl | string |
None. |
|
| ImageUrl | string |
None. |
|
| Color1 | string |
None. |
|
| Color2 | string |
None. |
|
| Color3 | string |
None. |
|
| ExtraData | Dictionary of string [key] and PropertyData [value] |
None. |
|
| Phone | string |
None. |
|
| string |
None. |
||
| Horary | string |
None. |
|
| PurchaseDescription | string |
None. |
|
| PaymentDescription | string |
None. |
|
| DeliveryDescription | string |
None. |
|
| DataFiscalUrl | string |
None. |
|
| ID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Type": 1,
"Name": "sample string 1",
"DomainName": "sample string 2",
"IsPublic": true,
"Enabled": true,
"PriceListID": 1,
"ShowPrices": true,
"ShowStockQuantity": true,
"ShowOnlyWithStock": true,
"ImageLogoUrl": "sample string 3",
"ImageUrl": "sample string 4",
"Color1": "sample string 5",
"Color2": "sample string 6",
"Color3": "sample string 7",
"ExtraData": {
"sample string 1": {
"Type": 0,
"Name": "sample string 1",
"Value": "sample string 2",
"Required": true
},
"sample string 2": {
"Type": 0,
"Name": "sample string 1",
"Value": "sample string 2",
"Required": true
},
"phone": {
"Type": 2,
"Name": "phone",
"Value": "sample string 8",
"Required": false
},
"whatsapp": {
"Type": 2,
"Name": "whatsapp",
"Value": "sample string 9",
"Required": false
},
"horary": {
"Type": 2,
"Name": "horary",
"Value": "sample string 10",
"Required": false
},
"purchaseDescription": {
"Type": 2,
"Name": "purchaseDescription",
"Value": "sample string 11",
"Required": false
},
"paymentDescription": {
"Type": 2,
"Name": "paymentDescription",
"Value": "sample string 12",
"Required": false
},
"deliveryDescription": {
"Type": 2,
"Name": "deliveryDescription",
"Value": "sample string 13",
"Required": false
},
"dataFiscalUrl": {
"Type": 2,
"Name": "dataFiscalUrl",
"Value": "sample string 14",
"Required": false
}
},
"Phone": "sample string 8",
"Whatsapp": "sample string 9",
"Horary": "sample string 10",
"PurchaseDescription": "sample string 11",
"PaymentDescription": "sample string 12",
"DeliveryDescription": "sample string 13",
"DataFiscalUrl": "sample string 14",
"ID": 1
}
text/xml
Sample:
<EcommerceData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data.Ecommerce">
<ID xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">1</ID>
<Color1>sample string 5</Color1>
<Color2>sample string 6</Color2>
<Color3>sample string 7</Color3>
<DataFiscalUrl>sample string 14</DataFiscalUrl>
<DeliveryDescription>sample string 13</DeliveryDescription>
<DomainName>sample string 2</DomainName>
<Enabled>true</Enabled>
<ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<d4p1:Name>sample string 1</d4p1:Name>
<d4p1:Required>true</d4p1:Required>
<d4p1:Type>INT</d4p1:Type>
<d4p1:Value>sample string 2</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>sample string 2</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<d4p1:Name>sample string 1</d4p1:Name>
<d4p1:Required>true</d4p1:Required>
<d4p1:Type>INT</d4p1:Type>
<d4p1:Value>sample string 2</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>phone</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<d4p1:Name>phone</d4p1:Name>
<d4p1:Required>false</d4p1:Required>
<d4p1:Type>STRING</d4p1:Type>
<d4p1:Value>sample string 8</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>whatsapp</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<d4p1:Name>whatsapp</d4p1:Name>
<d4p1:Required>false</d4p1:Required>
<d4p1:Type>STRING</d4p1:Type>
<d4p1:Value>sample string 9</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>horary</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<d4p1:Name>horary</d4p1:Name>
<d4p1:Required>false</d4p1:Required>
<d4p1:Type>STRING</d4p1:Type>
<d4p1:Value>sample string 10</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>purchaseDescription</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<d4p1:Name>purchaseDescription</d4p1:Name>
<d4p1:Required>false</d4p1:Required>
<d4p1:Type>STRING</d4p1:Type>
<d4p1:Value>sample string 11</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>paymentDescription</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<d4p1:Name>paymentDescription</d4p1:Name>
<d4p1:Required>false</d4p1:Required>
<d4p1:Type>STRING</d4p1:Type>
<d4p1:Value>sample string 12</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>deliveryDescription</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<d4p1:Name>deliveryDescription</d4p1:Name>
<d4p1:Required>false</d4p1:Required>
<d4p1:Type>STRING</d4p1:Type>
<d4p1:Value>sample string 13</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>dataFiscalUrl</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<d4p1:Name>dataFiscalUrl</d4p1:Name>
<d4p1:Required>false</d4p1:Required>
<d4p1:Type>STRING</d4p1:Type>
<d4p1:Value>sample string 14</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
</ExtraData>
<Horary>sample string 10</Horary>
<ImageLogoUrl>sample string 3</ImageLogoUrl>
<ImageUrl>sample string 4</ImageUrl>
<IsPublic>true</IsPublic>
<Name>sample string 1</Name>
<PaymentDescription>sample string 12</PaymentDescription>
<Phone>sample string 8</Phone>
<PriceListID>1</PriceListID>
<PurchaseDescription>sample string 11</PurchaseDescription>
<ShowOnlyWithStock>true</ShowOnlyWithStock>
<ShowPrices>true</ShowPrices>
<ShowStockQuantity>true</ShowStockQuantity>
<Type>STACKTRADE</Type>
<Whatsapp>sample string 9</Whatsapp>
</EcommerceData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EcommerceData| Name | Description | Type | Additional information |
|---|---|---|---|
| Type | EcommerceTypeEnum |
None. |
|
| Name | string |
None. |
|
| DomainName | string |
None. |
|
| IsPublic | boolean |
None. |
|
| Enabled | boolean |
None. |
|
| PriceListID | integer |
None. |
|
| ShowPrices | boolean |
None. |
|
| ShowStockQuantity | boolean |
None. |
|
| ShowOnlyWithStock | boolean |
None. |
|
| ImageLogoUrl | string |
None. |
|
| ImageUrl | string |
None. |
|
| Color1 | string |
None. |
|
| Color2 | string |
None. |
|
| Color3 | string |
None. |
|
| ExtraData | Dictionary of string [key] and PropertyData [value] |
None. |
|
| Phone | string |
None. |
|
| string |
None. |
||
| Horary | string |
None. |
|
| PurchaseDescription | string |
None. |
|
| PaymentDescription | string |
None. |
|
| DeliveryDescription | string |
None. |
|
| DataFiscalUrl | string |
None. |
|
| ID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Type": 1,
"Name": "sample string 1",
"DomainName": "sample string 2",
"IsPublic": true,
"Enabled": true,
"PriceListID": 1,
"ShowPrices": true,
"ShowStockQuantity": true,
"ShowOnlyWithStock": true,
"ImageLogoUrl": "sample string 3",
"ImageUrl": "sample string 4",
"Color1": "sample string 5",
"Color2": "sample string 6",
"Color3": "sample string 7",
"ExtraData": {
"sample string 1": {
"Type": 0,
"Name": "sample string 1",
"Value": "sample string 2",
"Required": true
},
"sample string 2": {
"Type": 0,
"Name": "sample string 1",
"Value": "sample string 2",
"Required": true
},
"phone": {
"Type": 2,
"Name": "phone",
"Value": "sample string 8",
"Required": false
},
"whatsapp": {
"Type": 2,
"Name": "whatsapp",
"Value": "sample string 9",
"Required": false
},
"horary": {
"Type": 2,
"Name": "horary",
"Value": "sample string 10",
"Required": false
},
"purchaseDescription": {
"Type": 2,
"Name": "purchaseDescription",
"Value": "sample string 11",
"Required": false
},
"paymentDescription": {
"Type": 2,
"Name": "paymentDescription",
"Value": "sample string 12",
"Required": false
},
"deliveryDescription": {
"Type": 2,
"Name": "deliveryDescription",
"Value": "sample string 13",
"Required": false
},
"dataFiscalUrl": {
"Type": 2,
"Name": "dataFiscalUrl",
"Value": "sample string 14",
"Required": false
}
},
"Phone": "sample string 8",
"Whatsapp": "sample string 9",
"Horary": "sample string 10",
"PurchaseDescription": "sample string 11",
"PaymentDescription": "sample string 12",
"DeliveryDescription": "sample string 13",
"DataFiscalUrl": "sample string 14",
"ID": 1
}
text/xml
Sample:
<EcommerceData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data.Ecommerce">
<ID xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">1</ID>
<Color1>sample string 5</Color1>
<Color2>sample string 6</Color2>
<Color3>sample string 7</Color3>
<DataFiscalUrl>sample string 14</DataFiscalUrl>
<DeliveryDescription>sample string 13</DeliveryDescription>
<DomainName>sample string 2</DomainName>
<Enabled>true</Enabled>
<ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<d4p1:Name>sample string 1</d4p1:Name>
<d4p1:Required>true</d4p1:Required>
<d4p1:Type>INT</d4p1:Type>
<d4p1:Value>sample string 2</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>sample string 2</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<d4p1:Name>sample string 1</d4p1:Name>
<d4p1:Required>true</d4p1:Required>
<d4p1:Type>INT</d4p1:Type>
<d4p1:Value>sample string 2</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>phone</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<d4p1:Name>phone</d4p1:Name>
<d4p1:Required>false</d4p1:Required>
<d4p1:Type>STRING</d4p1:Type>
<d4p1:Value>sample string 8</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>whatsapp</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<d4p1:Name>whatsapp</d4p1:Name>
<d4p1:Required>false</d4p1:Required>
<d4p1:Type>STRING</d4p1:Type>
<d4p1:Value>sample string 9</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>horary</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<d4p1:Name>horary</d4p1:Name>
<d4p1:Required>false</d4p1:Required>
<d4p1:Type>STRING</d4p1:Type>
<d4p1:Value>sample string 10</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>purchaseDescription</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<d4p1:Name>purchaseDescription</d4p1:Name>
<d4p1:Required>false</d4p1:Required>
<d4p1:Type>STRING</d4p1:Type>
<d4p1:Value>sample string 11</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>paymentDescription</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<d4p1:Name>paymentDescription</d4p1:Name>
<d4p1:Required>false</d4p1:Required>
<d4p1:Type>STRING</d4p1:Type>
<d4p1:Value>sample string 12</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>deliveryDescription</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<d4p1:Name>deliveryDescription</d4p1:Name>
<d4p1:Required>false</d4p1:Required>
<d4p1:Type>STRING</d4p1:Type>
<d4p1:Value>sample string 13</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:KeyValueOfstringPropertyDatal3xPxu36>
<d2p1:Key>dataFiscalUrl</d2p1:Key>
<d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
<d4p1:Name>dataFiscalUrl</d4p1:Name>
<d4p1:Required>false</d4p1:Required>
<d4p1:Type>STRING</d4p1:Type>
<d4p1:Value>sample string 14</d4p1:Value>
</d2p1:Value>
</d2p1:KeyValueOfstringPropertyDatal3xPxu36>
</ExtraData>
<Horary>sample string 10</Horary>
<ImageLogoUrl>sample string 3</ImageLogoUrl>
<ImageUrl>sample string 4</ImageUrl>
<IsPublic>true</IsPublic>
<Name>sample string 1</Name>
<PaymentDescription>sample string 12</PaymentDescription>
<Phone>sample string 8</Phone>
<PriceListID>1</PriceListID>
<PurchaseDescription>sample string 11</PurchaseDescription>
<ShowOnlyWithStock>true</ShowOnlyWithStock>
<ShowPrices>true</ShowPrices>
<ShowStockQuantity>true</ShowStockQuantity>
<Type>STACKTRADE</Type>
<Whatsapp>sample string 9</Whatsapp>
</EcommerceData>