POST api/ShipmentOuts/Address?orderID={orderID}&keyType={keyType}

Update a shipment out Address to PNPLINE Don't apply Shipment that is status on Cancel and Delete

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderID

string

Required

keyType

SHIPMENT_MASTERKEYTYPE

Default value is ORDERID

Body Parameters

AddressInfo
NameDescriptionTypeAdditional information
name

string

None.

companyName

string

None.

addr1

string

None.

addr2

string

None.

city

string

None.

phone

string

None.

state

string

None.

countryCode

string

String length: inclusive between 2 and 2

zip

string

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "companyName": "sample string 2",
  "addr1": "sample string 3",
  "addr2": "sample string 4",
  "city": "sample string 5",
  "phone": "sample string 6",
  "state": "sample string 7",
  "countryCode": "sample string 8",
  "zip": "sample string 9"
}

application/xml, text/xml

Sample:
<AddressInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <state>sample string 7</state>
  <countryCode>sample string 8</countryCode>
  <zip>sample string 9</zip>
  <name>sample string 1</name>
  <companyName>sample string 2</companyName>
  <addr1>sample string 3</addr1>
  <addr2>sample string 4</addr2>
  <city>sample string 5</city>
  <phone>sample string 6</phone>
</AddressInfo>

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>