POST CreateShipping

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
data
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "customer_code": "sample string 1",
  "item_list": [
    {
      "quantity": 1,
      "item_name": "sample string 2",
      "selling_price": 3.0
    },
    {
      "quantity": 1,
      "item_name": "sample string 2",
      "selling_price": 3.0
    },
    {
      "quantity": 1,
      "item_name": "sample string 2",
      "selling_price": 3.0
    }
  ],
  "pickup_details": {
    "from_name": "sample string 1",
    "from_phone_number": 2,
    "from_address": "sample string 3",
    "from_country": "sample string 4",
    "from_email": "sample string 5",
    "from_pincode": "sample string 6",
    "from_city": "sample string 7",
    "from_state": "sample string 8"
  },
  "delivery_details": {
    "to_name": "sample string 1",
    "to_phone_number": "sample string 2",
    "to_address": "sample string 3",
    "to_country": "sample string 4",
    "to_email": "sample string 5",
    "to_pincode": "sample string 6",
    "to_city": "sample string 7",
    "to_state": "sample string 8"
  },
  "customer_detail": {
    "to_email": "sample string 1",
    "to_address": "sample string 2",
    "to_city": "sample string 3",
    "to_country": "sample string 4",
    "to_state": "sample string 5"
  },
  "shipment_detail": [
    {
      "item_breadth": 1.1,
      "item_length": 2.1,
      "item_height": 3.1,
      "item_weight": 4.1,
      "weight": 5
    },
    {
      "item_breadth": 1.1,
      "item_length": 2.1,
      "item_height": 3.1,
      "item_weight": 4.1,
      "weight": 5
    },
    {
      "item_breadth": 1.1,
      "item_length": 2.1,
      "item_height": 3.1,
      "item_weight": 4.1,
      "weight": 5
    }
  ],
  "cod_amount": 2.0,
  "order_id": "sample string 3",
  "payment_mode": "sample string 4"
}

application/xml, text/xml

Sample:
<ShippingLabelRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Krishiv.CWA.Business.DTO">
  <CodAmount>2</CodAmount>
  <CustomerCode>sample string 1</CustomerCode>
  <CustomerDetail>
    <ToAddress>sample string 2</ToAddress>
    <ToCity>sample string 3</ToCity>
    <ToCountry>sample string 4</ToCountry>
    <ToEmail>sample string 1</ToEmail>
    <ToState>sample string 5</ToState>
  </CustomerDetail>
  <DeliveryDetails>
    <ToAddress>sample string 3</ToAddress>
    <ToCity>sample string 7</ToCity>
    <ToCountry>sample string 4</ToCountry>
    <ToEmail>sample string 5</ToEmail>
    <ToName>sample string 1</ToName>
    <ToPhoneNumber>sample string 2</ToPhoneNumber>
    <ToPincode>sample string 6</ToPincode>
    <ToState>sample string 8</ToState>
  </DeliveryDetails>
  <ItemList>
    <Item>
      <ItemName>sample string 2</ItemName>
      <Quantity>1</Quantity>
      <SellingPrice>3</SellingPrice>
    </Item>
    <Item>
      <ItemName>sample string 2</ItemName>
      <Quantity>1</Quantity>
      <SellingPrice>3</SellingPrice>
    </Item>
    <Item>
      <ItemName>sample string 2</ItemName>
      <Quantity>1</Quantity>
      <SellingPrice>3</SellingPrice>
    </Item>
  </ItemList>
  <OrderId>sample string 3</OrderId>
  <PaymentMode>sample string 4</PaymentMode>
  <PickupDetails>
    <FromAddress>sample string 3</FromAddress>
    <FromCity>sample string 7</FromCity>
    <FromCountry>sample string 4</FromCountry>
    <FromEmail>sample string 5</FromEmail>
    <FromName>sample string 1</FromName>
    <FromPhoneNumber>2</FromPhoneNumber>
    <FromPincode>sample string 6</FromPincode>
    <FromState>sample string 8</FromState>
  </PickupDetails>
  <ShipmentDetail>
    <ShipmentDetail>
      <ItemBreadth>1.1</ItemBreadth>
      <ItemHeight>3.1</ItemHeight>
      <ItemLength>2.1</ItemLength>
      <ItemWeight>4.1</ItemWeight>
      <Weight>5</Weight>
    </ShipmentDetail>
    <ShipmentDetail>
      <ItemBreadth>1.1</ItemBreadth>
      <ItemHeight>3.1</ItemHeight>
      <ItemLength>2.1</ItemLength>
      <ItemWeight>4.1</ItemWeight>
      <Weight>5</Weight>
    </ShipmentDetail>
    <ShipmentDetail>
      <ItemBreadth>1.1</ItemBreadth>
      <ItemHeight>3.1</ItemHeight>
      <ItemLength>2.1</ItemLength>
      <ItemWeight>4.1</ItemWeight>
      <Weight>5</Weight>
    </ShipmentDetail>
  </ShipmentDetail>
</ShippingLabelRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "airwaybilno": "sample string 1",
  "courier": "sample string 2",
  "message": "sample string 3",
  "tracking_number": "sample string 4",
  "tracking_url": "sample string 5",
  "status": "sample string 6",
  "delivery_status": "sample string 7",
  "order_id": "sample string 8",
  "label_url": "sample string 9"
}

application/xml, text/xml

Sample:
<ShipmentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Krishiv.CWA.Business.DTO">
  <airwaybilno>sample string 1</airwaybilno>
  <courier>sample string 2</courier>
  <delivery_status>sample string 7</delivery_status>
  <label_url>sample string 9</label_url>
  <message>sample string 3</message>
  <order_id>sample string 8</order_id>
  <status>sample string 6</status>
  <tracking_number>sample string 4</tracking_number>
  <tracking_url>sample string 5</tracking_url>
</ShipmentResponse>