Function


The Customer Address Delete API is used to remove a customer's address information from the customer's record. 

 

 

URL


{Root URL}/Api/ShipBill/Delete/{API Key}


 

Parameters



ParameterDescriptionRequiredComment
1Linkadd Y 
2CustnoCustomer numberN 
3ShiptoShip to nameNThe person you are shipping to.
4Address1The first line of the addressN 
5Address2The second line of the addressN
6CityCityNShip to city
7
StateStateNShip to state
8ZipZip codeNShip to zip code
9CountryCountryNShip to country
10PhonePhone numberNShip to phone number
11FaxFaxNShip to fax address
12EmailEmailNShip to email address
13AttentionAttentionNAttention notice for the shipping
14recordtypeThe type of recordNCan be: "C" (for "Confirm to") or "R" (for "Remit to").

 

 

Example Strings


Customer Delete Address


URL


?LinkAdd=LINKADD



JSON


{

"LinkAdd":"LINKADD"

}



A successful delete should result in:


{

"$id": "1",

"Code": "200",

"Message": "ShipBill deleted successfully.",

"SessionId": "null",

"IsValidUser": "true",

"ResponseObject": "null"

}



Common Error


API Key Error


If there is a problem with the used API key, the system will return an error message describing it:


{

"$id": "1",

"Code": "403",

"Message": "Invalid API Key.",

"SessionId": "null",

"IsValidUser": "false",

"ResponseObject": "null"

}



URL Error


If there is an issue with the entered URL, the system will return an HTTP error message:


{

"$id": "1",

"Message": "No HTTP resource was found that matches the request URI 'http://localhost/api/ShipBill/Delete/23456789'.",

"MessageDetail": "No action was found on the controller 'ShipBill' that matches the request."

}



Missing Required Parameter


If a required parameter is missing, the system will return an error message specifying which parameter is missing:


{

"$id": "1",

"Code": "403",

"Message": "Please provide LinkAddress",

"SessionId": "null",

"IsValidUser": "true",

"ResponseObject": "null"

}