POST api/ShipmentOuts/CarrierType?orderID={orderID}

Update a shipment out CarrierType to PNPLINE

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderID

string

Required

Body Parameters

ShippingTypeInfo
NameDescriptionTypeAdditional information
ShippingCompany

SHIPPING_COMPANY

None.

ShippingTypeCode

SHIPPING_TYPE_CODE

None.

ShippingCompanyName

string

None.

ShippingAccountNumber

string

None.

ShippingAccountZip

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ShippingCompany": "FEDEX",
  "ShippingTypeCode": "USPS_First",
  "ShippingCompanyName": "sample string 1",
  "ShippingAccountNumber": "sample string 2",
  "ShippingAccountZip": "sample string 3"
}

application/xml, text/xml

Sample:
<ShippingTypeInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ShippingCompany>FEDEX</ShippingCompany>
  <ShippingTypeCode>USPS_First</ShippingTypeCode>
  <ShippingCompanyName>sample string 1</ShippingCompanyName>
  <ShippingAccountNumber>sample string 2</ShippingAccountNumber>
  <ShippingAccountZip>sample string 3</ShippingAccountZip>
</ShippingTypeInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseApiInfo
NameDescriptionTypeAdditional information
UpdateResult

UPDATECODE

None.

isErrorOnRequest

boolean

None.

errorMessage

string

None.

errorMessages

Collection of ErrorInfo

None.

warningMessages

Collection of ErrorInfo

None.

isSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "UpdateResult": "CREATE",
  "isErrorOnRequest": true,
  "errorMessage": null,
  "errorMessages": [],
  "warningMessages": []
}

application/xml, text/xml

Sample:
<xml xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <isSuccess>true</isSuccess>
  <UpdateResult>CREATE</UpdateResult>
  <isErrorOnRequest>true</isErrorOnRequest>
  <errorMessages />
  <warningMessages />
</xml>