POST Logistics/AddShippingCarrier
Adds a child ShippingCarriers to a parent It's up to the front to set the ShippingCarriers sortOrder.
Request Information
URI Parameters
None.
Body Parameters
use null ParentShippingCarriersID, for top parent ShippingCarriers
AddShippingCarrierBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
String length: inclusive between 0 and 50 |
|
| ProcessorTypeID | integer |
None. |
|
| ProcessorEntityID | integer |
None. |
|
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"ProcessorTypeID": 1,
"ProcessorEntityID": 1,
"Lang": "sample string 2",
"StoreID": 3
}
application/xml, text/xml
Sample:
<AddShippingCarrierBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Core.Models.Logistics"> <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 2</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">3</StoreID> <Name>sample string 1</Name> <ProcessorEntityID>1</ProcessorEntityID> <ProcessorTypeID>1</ProcessorTypeID> </AddShippingCarrierBinding>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>