POST v1/product/shipping/anymarket/callback
Url pública de callback de frete
Request Information
URI Parameters
None.
Body Parameters
ShippingPostDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| zipCode | string |
None. |
|
| marketplace | string |
None. |
|
| products | Collection of ShippingProductDTO |
None. |
Request Formats
application/json, text/json
Sample:
{
"zipCode": "sample string 1",
"marketplace": "sample string 2",
"products": [
{
"sku": "sample string 1",
"height": 2.1,
"width": 3.1,
"weight": 4.1,
"length": 5.1,
"amount": 6.1,
"value": 7.1,
"metadata": {
"idInMarketplace": "sample string 1",
"official_store_id": "sample string 2"
}
},
{
"sku": "sample string 1",
"height": 2.1,
"width": 3.1,
"weight": 4.1,
"length": 5.1,
"amount": 6.1,
"value": 7.1,
"metadata": {
"idInMarketplace": "sample string 1",
"official_store_id": "sample string 2"
}
}
]
}
application/xml, text/xml
Sample:
<ShippingPostDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eXpert.Domain.DTO">
<marketplace>sample string 2</marketplace>
<products>
<ShippingProductDTO>
<amount>6.1</amount>
<height>2.1</height>
<length>5.1</length>
<metadata>
<idInMarketplace>sample string 1</idInMarketplace>
<official_store_id>sample string 2</official_store_id>
</metadata>
<sku>sample string 1</sku>
<value>7.1</value>
<weight>4.1</weight>
<width>3.1</width>
</ShippingProductDTO>
<ShippingProductDTO>
<amount>6.1</amount>
<height>2.1</height>
<length>5.1</length>
<metadata>
<idInMarketplace>sample string 1</idInMarketplace>
<official_store_id>sample string 2</official_store_id>
</metadata>
<sku>sample string 1</sku>
<value>7.1</value>
<weight>4.1</weight>
<width>3.1</width>
</ShippingProductDTO>
</products>
<zipCode>sample string 1</zipCode>
</ShippingPostDTO>
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.