POST v1/shipping/addrange
Adiciona faixas de CEP, serviços de transportes e preços de fretes
Request Information
URI Parameters
None.
Body Parameters
Collection of AddShippingRangeDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| SellerKey | string |
None. |
|
| Description | string |
None. |
|
| StartRangePostalCode | string |
None. |
|
| EndRangePostalCode | string |
None. |
|
| Services | Collection of AddShippingRangeServiceDTO |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"SellerKey": "sample string 1",
"Description": "sample string 2",
"StartRangePostalCode": "sample string 3",
"EndRangePostalCode": "sample string 4",
"Services": [
{
"CourierTaxDocument": "sample string 1",
"CourierServicePriority": 2,
"CourierMaxWeight": 3.1,
"Prices": [
{
"Weight": 1.1,
"CustomerPrice": 2.1,
"CourierPrice": 3.1
},
{
"Weight": 1.1,
"CustomerPrice": 2.1,
"CourierPrice": 3.1
}
]
},
{
"CourierTaxDocument": "sample string 1",
"CourierServicePriority": 2,
"CourierMaxWeight": 3.1,
"Prices": [
{
"Weight": 1.1,
"CustomerPrice": 2.1,
"CourierPrice": 3.1
},
{
"Weight": 1.1,
"CustomerPrice": 2.1,
"CourierPrice": 3.1
}
]
}
]
},
{
"SellerKey": "sample string 1",
"Description": "sample string 2",
"StartRangePostalCode": "sample string 3",
"EndRangePostalCode": "sample string 4",
"Services": [
{
"CourierTaxDocument": "sample string 1",
"CourierServicePriority": 2,
"CourierMaxWeight": 3.1,
"Prices": [
{
"Weight": 1.1,
"CustomerPrice": 2.1,
"CourierPrice": 3.1
},
{
"Weight": 1.1,
"CustomerPrice": 2.1,
"CourierPrice": 3.1
}
]
},
{
"CourierTaxDocument": "sample string 1",
"CourierServicePriority": 2,
"CourierMaxWeight": 3.1,
"Prices": [
{
"Weight": 1.1,
"CustomerPrice": 2.1,
"CourierPrice": 3.1
},
{
"Weight": 1.1,
"CustomerPrice": 2.1,
"CourierPrice": 3.1
}
]
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfAddShippingRangeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eXpert.Domain.DTO">
<AddShippingRangeDTO>
<Description>sample string 2</Description>
<EndRangePostalCode>sample string 4</EndRangePostalCode>
<SellerKey>sample string 1</SellerKey>
<Services>
<AddShippingRangeServiceDTO>
<CourierMaxWeight>3.1</CourierMaxWeight>
<CourierServicePriority>2</CourierServicePriority>
<CourierTaxDocument>sample string 1</CourierTaxDocument>
<Prices>
<AddShippingRangePriceDTO>
<CourierPrice>3.1</CourierPrice>
<CustomerPrice>2.1</CustomerPrice>
<Weight>1.1</Weight>
</AddShippingRangePriceDTO>
<AddShippingRangePriceDTO>
<CourierPrice>3.1</CourierPrice>
<CustomerPrice>2.1</CustomerPrice>
<Weight>1.1</Weight>
</AddShippingRangePriceDTO>
</Prices>
</AddShippingRangeServiceDTO>
<AddShippingRangeServiceDTO>
<CourierMaxWeight>3.1</CourierMaxWeight>
<CourierServicePriority>2</CourierServicePriority>
<CourierTaxDocument>sample string 1</CourierTaxDocument>
<Prices>
<AddShippingRangePriceDTO>
<CourierPrice>3.1</CourierPrice>
<CustomerPrice>2.1</CustomerPrice>
<Weight>1.1</Weight>
</AddShippingRangePriceDTO>
<AddShippingRangePriceDTO>
<CourierPrice>3.1</CourierPrice>
<CustomerPrice>2.1</CustomerPrice>
<Weight>1.1</Weight>
</AddShippingRangePriceDTO>
</Prices>
</AddShippingRangeServiceDTO>
</Services>
<StartRangePostalCode>sample string 3</StartRangePostalCode>
</AddShippingRangeDTO>
<AddShippingRangeDTO>
<Description>sample string 2</Description>
<EndRangePostalCode>sample string 4</EndRangePostalCode>
<SellerKey>sample string 1</SellerKey>
<Services>
<AddShippingRangeServiceDTO>
<CourierMaxWeight>3.1</CourierMaxWeight>
<CourierServicePriority>2</CourierServicePriority>
<CourierTaxDocument>sample string 1</CourierTaxDocument>
<Prices>
<AddShippingRangePriceDTO>
<CourierPrice>3.1</CourierPrice>
<CustomerPrice>2.1</CustomerPrice>
<Weight>1.1</Weight>
</AddShippingRangePriceDTO>
<AddShippingRangePriceDTO>
<CourierPrice>3.1</CourierPrice>
<CustomerPrice>2.1</CustomerPrice>
<Weight>1.1</Weight>
</AddShippingRangePriceDTO>
</Prices>
</AddShippingRangeServiceDTO>
<AddShippingRangeServiceDTO>
<CourierMaxWeight>3.1</CourierMaxWeight>
<CourierServicePriority>2</CourierServicePriority>
<CourierTaxDocument>sample string 1</CourierTaxDocument>
<Prices>
<AddShippingRangePriceDTO>
<CourierPrice>3.1</CourierPrice>
<CustomerPrice>2.1</CustomerPrice>
<Weight>1.1</Weight>
</AddShippingRangePriceDTO>
<AddShippingRangePriceDTO>
<CourierPrice>3.1</CourierPrice>
<CustomerPrice>2.1</CustomerPrice>
<Weight>1.1</Weight>
</AddShippingRangePriceDTO>
</Prices>
</AddShippingRangeServiceDTO>
</Services>
<StartRangePostalCode>sample string 3</StartRangePostalCode>
</AddShippingRangeDTO>
</ArrayOfAddShippingRangeDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.