POST
api/v1/update-shipping-details?clientId={clientId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientId | integer |
Required |
Body Parameters
ShippinMethodModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SellerId | integer |
None. |
|
| ClientId | integer |
None. |
|
| SellerName | string |
None. |
|
| CompanyName | string |
None. |
|
| SelectedShippingId | integer |
None. |
|
| ShippingMethods | Collection of SelectListItem |
None. |
|
| string |
None. |
||
| Password | string |
None. |
|
| AccountNumber | string |
None. |
|
| MeterNumber | string |
None. |
|
| ShippingMethodFields | Collection of ShippingMethodField |
None. |
Request Formats
application/json, text/json
{
"SellerId": 1,
"ClientId": 2,
"SellerName": "sample string 3",
"CompanyName": "sample string 4",
"SelectedShippingId": 1,
"ShippingMethods": [
{
"Disabled": true,
"Group": {
"Disabled": true,
"Name": "sample string 2"
},
"Selected": true,
"Text": "sample string 3",
"Value": "sample string 4"
},
{
"Disabled": true,
"Group": {
"Disabled": true,
"Name": "sample string 2"
},
"Selected": true,
"Text": "sample string 3",
"Value": "sample string 4"
}
],
"Email": "sample string 5",
"Password": "sample string 6",
"AccountNumber": "sample string 7",
"MeterNumber": "sample string 8",
"ShippingMethodFields": [
{
"Id": 1,
"ShippingMethodId": 2,
"FieldName": "sample string 3",
"Labels": "sample string 4",
"FieldType": "sample string 5",
"MaxLength": 6,
"IsRequired": true,
"ValidationRegex": "sample string 8",
"Value": "sample string 9",
"ValidationMessage": "sample string 10",
"CommonFieldName": "sample string 11"
},
{
"Id": 1,
"ShippingMethodId": 2,
"FieldName": "sample string 3",
"Labels": "sample string 4",
"FieldType": "sample string 5",
"MaxLength": 6,
"IsRequired": true,
"ValidationRegex": "sample string 8",
"Value": "sample string 9",
"ValidationMessage": "sample string 10",
"CommonFieldName": "sample string 11"
}
]
}
text/html
{"SellerId":1,"ClientId":2,"SellerName":"sample string 3","CompanyName":"sample string 4","SelectedShippingId":1,"ShippingMethods":[{"Disabled":true,"Group":{"Disabled":true,"Name":"sample string 2"},"Selected":true,"Text":"sample string 3","Value":"sample string 4"},{"Disabled":true,"Group":{"Disabled":true,"Name":"sample string 2"},"Selected":true,"Text":"sample string 3","Value":"sample string 4"}],"Email":"sample string 5","Password":"sample string 6","AccountNumber":"sample string 7","MeterNumber":"sample string 8","ShippingMethodFields":[{"Id":1,"ShippingMethodId":2,"FieldName":"sample string 3","Labels":"sample string 4","FieldType":"sample string 5","MaxLength":6,"IsRequired":true,"ValidationRegex":"sample string 8","Value":"sample string 9","ValidationMessage":"sample string 10","CommonFieldName":"sample string 11"},{"Id":1,"ShippingMethodId":2,"FieldName":"sample string 3","Labels":"sample string 4","FieldType":"sample string 5","MaxLength":6,"IsRequired":true,"ValidationRegex":"sample string 8","Value":"sample string 9","ValidationMessage":"sample string 10","CommonFieldName":"sample string 11"}]}
application/xml, text/xml
<ShippinMethodModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Logistic">
<AccountNumber>sample string 7</AccountNumber>
<ClientId>2</ClientId>
<CompanyName>sample string 4</CompanyName>
<Email>sample string 5</Email>
<MeterNumber>sample string 8</MeterNumber>
<Password>sample string 6</Password>
<SelectedShippingId>1</SelectedShippingId>
<SellerId>1</SellerId>
<SellerName>sample string 3</SellerName>
<ShippingMethodFields>
<ShippingMethodField>
<CommonFieldName>sample string 11</CommonFieldName>
<FieldName>sample string 3</FieldName>
<FieldType>sample string 5</FieldType>
<Id>1</Id>
<IsRequired>true</IsRequired>
<Labels>sample string 4</Labels>
<MaxLength>6</MaxLength>
<ShippingMethodId>2</ShippingMethodId>
<ValidationMessage>sample string 10</ValidationMessage>
<ValidationRegex>sample string 8</ValidationRegex>
<Value>sample string 9</Value>
</ShippingMethodField>
<ShippingMethodField>
<CommonFieldName>sample string 11</CommonFieldName>
<FieldName>sample string 3</FieldName>
<FieldType>sample string 5</FieldType>
<Id>1</Id>
<IsRequired>true</IsRequired>
<Labels>sample string 4</Labels>
<MaxLength>6</MaxLength>
<ShippingMethodId>2</ShippingMethodId>
<ValidationMessage>sample string 10</ValidationMessage>
<ValidationRegex>sample string 8</ValidationRegex>
<Value>sample string 9</Value>
</ShippingMethodField>
</ShippingMethodFields>
<ShippingMethods xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
<d2p1:SelectListItem>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Group>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:Group>
<d2p1:Selected>true</d2p1:Selected>
<d2p1:Text>sample string 3</d2p1:Text>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:SelectListItem>
<d2p1:SelectListItem>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Group>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:Group>
<d2p1:Selected>true</d2p1:Selected>
<d2p1:Text>sample string 3</d2p1:Text>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:SelectListItem>
</ShippingMethods>
</ShippinMethodModel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Description:
Return type: boolean
Response Formats
application/json, text/json, text/html
true
application/xml, text/xml
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>
