Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.55 KB

DELETE_Customer_Address.md

File metadata and controls

38 lines (26 loc) · 1.55 KB

DELETE /Customer/{CustNo}/Address

Description

Deletes an existing customer note.

  • Requires API Key: Yes
  • Requires System Administrator: No
  • Requires Counterpoint Registration option: Yes

Sample Request

URI

DELETE https://localhost:81/Customer/{CustNo}/Address

Headers

  • Authorization : Basic UUFUZXN0R29sZi5NR1I6cGFzc3dvcmQx
  • Accept : application/json

Parameters

Name Parameter Type Data Type Required Description
CustNo path string true The CUST_NO of the customer update.
ShipAddressId query string true The AR_SHIP_ADRS.SHIP_ADRS_ID of the address to update.

Response Codes

  • 200 OK The request was successful, the result of the call will be in the response body.
  • 401 Unauthorized The request could not be fulfilled. Likely due to a missing or invalid authorization header.
  • 404 Not Found The requested resource could not be found but may be available again in the future. Subsequent requests by the client are permissible.
  • 500 Internal Server Error The request could not be fulfilled due to an unexpected internal error. This could be caused by a bug in the system, an unavailable database, or any other unexpected internal problem processing the request.

Error Codes

The following error codes may be returned from requests to this endpoint:

  • SUCCESS: The request was successful.
  • ERROR_RECORD_NOT_FOUND: Record does not exist for the DocId given in parameter.