Delete Association
DELETE/client/users/:correlation_id/associations/types/:associationType/values/:associationValue
This request is used to delete existing account association.
Request
The request has no Body. Path variables are used instead to identify the account association to be deleted.
Path Variables
| Path Variable | Definition | Format | Notes |
|---|---|---|---|
| associationType | Provides type of association | String | Mandatory attribute. |
| associationValue | Provides value for association | String | Mandatory attribute. |
URI without path variables filled in:
{{env_host}}/client/users/{{correlation_id}}/associations/types/{{associationType}}/values/{{associationValue}}
URI with path variable values filled in (example):
{{env_host}}/client/users/{{correlation_id}}/associations/types/BILL_TO/values/Akron
Response
When sending both valid associationType and associationValue as path parameters, a statusCode 204 is returned with no response body.
Error Responses
| statusCode | errorMessage | errorCode | Definition |
|---|---|---|---|
| 400 Bad Request | Account Association feature is not supported. | INVALID_REQUEST | A valid request to created association but the feature is disabled. |
| 400 Bad Request | SHIP_TO association type is not valid. | INVALID_REQUEST | A request with associationType that is not configured in system. |
| 400 Bad Request | Association already exists. | INVALID_REQUEST | A valid request to add more than one association which is invalid. |
Request
Responses
- 204
- 400
200 - Delete Account Association
400 - Account Association Not Enabled