GET api/Split

No documentation available.

Parameters

* Required
Property Description
OriginalTrackingNumber (String)
* The original tracking number of the parcel.
SplitParcelList (List)
* The list of parcels to split the original into.
NewTrackingNumber (String)
* The new tracking number.
SkuList (List)
* The items and quantities.
Sku (String)
* The sku of the item
Quantity (Int16)
The quantity of the item
Key (Guid)
* Your i-parcel API key (visible in your Dashboard via the Integrate link.)

Request body formats

application/json, text/json

Sample:
{
  "OriginalTrackingNumber": "sample string 1",
  "SplitParcelList": [
    {
      "NewTrackingNumber": "sample string 1",
      "SkuList": [
        {
          "Sku": "sample string 1",
          "Quantity": 2
        },
        {
          "Sku": "sample string 1",
          "Quantity": 2
        },
        {
          "Sku": "sample string 1",
          "Quantity": 2
        }
      ]
    },
    {
      "NewTrackingNumber": "sample string 1",
      "SkuList": [
        {
          "Sku": "sample string 1",
          "Quantity": 2
        },
        {
          "Sku": "sample string 1",
          "Quantity": 2
        },
        {
          "Sku": "sample string 1",
          "Quantity": 2
        }
      ]
    },
    {
      "NewTrackingNumber": "sample string 1",
      "SkuList": [
        {
          "Sku": "sample string 1",
          "Quantity": 2
        },
        {
          "Sku": "sample string 1",
          "Quantity": 2
        },
        {
          "Sku": "sample string 1",
          "Quantity": 2
        }
      ]
    }
  ],
  "Key": "24bd96ca-b7b5-4d91-9ef7-a0af0eddb9a1"
}

application/xml, text/xml

Sample:
<SplitMultipleRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalAccessLibrary.Models.WebRequest">
  <Key>24bd96ca-b7b5-4d91-9ef7-a0af0eddb9a1</Key>
  <OriginalTrackingNumber>sample string 1</OriginalTrackingNumber>
  <SplitParcelList>
    <SplitParcel>
      <BillingReference>sample string 4</BillingReference>
      <DomesticTrackingNumber>sample string 5</DomesticTrackingNumber>
      <NewTrackingNumber>sample string 1</NewTrackingNumber>
      <Reference>sample string 2</Reference>
      <SingleItemBoxCount>3</SingleItemBoxCount>
      <SkuList>
        <SkuQty>
          <Quantity>2</Quantity>
          <Sku>sample string 1</Sku>
        </SkuQty>
        <SkuQty>
          <Quantity>2</Quantity>
          <Sku>sample string 1</Sku>
        </SkuQty>
        <SkuQty>
          <Quantity>2</Quantity>
          <Sku>sample string 1</Sku>
        </SkuQty>
      </SkuList>
    </SplitParcel>
    <SplitParcel>
      <BillingReference>sample string 4</BillingReference>
      <DomesticTrackingNumber>sample string 5</DomesticTrackingNumber>
      <NewTrackingNumber>sample string 1</NewTrackingNumber>
      <Reference>sample string 2</Reference>
      <SingleItemBoxCount>3</SingleItemBoxCount>
      <SkuList>
        <SkuQty>
          <Quantity>2</Quantity>
          <Sku>sample string 1</Sku>
        </SkuQty>
        <SkuQty>
          <Quantity>2</Quantity>
          <Sku>sample string 1</Sku>
        </SkuQty>
        <SkuQty>
          <Quantity>2</Quantity>
          <Sku>sample string 1</Sku>
        </SkuQty>
      </SkuList>
    </SplitParcel>
    <SplitParcel>
      <BillingReference>sample string 4</BillingReference>
      <DomesticTrackingNumber>sample string 5</DomesticTrackingNumber>
      <NewTrackingNumber>sample string 1</NewTrackingNumber>
      <Reference>sample string 2</Reference>
      <SingleItemBoxCount>3</SingleItemBoxCount>
      <SkuList>
        <SkuQty>
          <Quantity>2</Quantity>
          <Sku>sample string 1</Sku>
        </SkuQty>
        <SkuQty>
          <Quantity>2</Quantity>
          <Sku>sample string 1</Sku>
        </SkuQty>
        <SkuQty>
          <Quantity>2</Quantity>
          <Sku>sample string 1</Sku>
        </SkuQty>
      </SkuList>
    </SplitParcel>
  </SplitParcelList>
</SplitMultipleRequest>

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
"Success"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">Success</string>