POST v1/locationRelationship/delete/{locationRelationshipID}
Delete an existing Location Relationship by unique identifier
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| locationRelationshipID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
LocationRelationshipModel| Name | Description | Type | Additional information |
|---|---|---|---|
| LocationRelationshipID |
Unique identifier of the location refurbishment |
integer |
None. |
| Location |
Parent Location |
LocationModel |
None. |
| RelatedLocation |
Related Location |
LocationModel |
None. |
| AutoReceive | boolean |
None. |
|
| AutoReceiveDays | integer |
None. |
|
| AutoReceiveHours | integer |
None. |
|
| AutoInTransit | boolean |
None. |
|
| AutoDaysInTransit | integer |
None. |
|
| AutoHoursInTransit | integer |
None. |
|
| AutoLost | boolean |
None. |
|
| AutoDaysLost | integer |
None. |
|
| AutoHoursLost | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"locationRelationshipID": 1,
"location": {
"locationID": 1,
"company": {
"companyID": 1,
"companyName": "sample string 2",
"companyCode": "sample string 3",
"vatNumber": "sample string 4",
"address1": "sample string 5",
"address2": "sample string 6",
"address3": "sample string 7",
"address4": "sample string 8",
"address5": "sample string 9",
"email": "sample string 10",
"currentRates": [
{
"companyRateID": 1,
"rate": 2.0,
"supportLevel": {
"supportLevelID": 1,
"supportLevel": "sample string 2"
},
"startDate": "2025-11-08T08:21:18.4222075+00:00"
},
{
"companyRateID": 1,
"rate": 2.0,
"supportLevel": {
"supportLevelID": 1,
"supportLevel": "sample string 2"
},
"startDate": "2025-11-08T08:21:18.4222075+00:00"
}
]
},
"isActive": true,
"isKeyAccount": true,
"locationCategory": {
"locationCategoryID": 1,
"locationCategory": "sample string 2",
"isSystem": true
},
"locationName": "sample string 4",
"address": "sample string 5",
"address2": "sample string 6",
"address3": "sample string 7",
"city": "sample string 8",
"state": {
"stateID": 1,
"stateShortName": "sample string 2",
"stateLongName": "sample string 3"
},
"zipCode": "sample string 9",
"country": {
"countryID": 1,
"countryShortName": "sample string 2",
"countryLongName": "sample string 3"
},
"cityStateZipCountry": "sample string 10",
"xCoordinate": "sample string 11",
"yCoordinate": "sample string 12",
"googlePlaceID": "sample string 13",
"googleURL": "sample string 14",
"term": {
"termID": 1,
"term": "sample string 2",
"isActive": true
},
"bolTemplate": {
"bolTemplateID": 1,
"templateName": "sample string 2"
},
"isIntegrationControlled": true,
"locationRules": {
"locationRuleID": 1,
"shipMethod": {
"shipMethodID": 1,
"shipMethod": "sample string 2"
},
"isLocked": true,
"canSelfOrder": true,
"additionalBillingDays": 4,
"allowUDFAddress": true,
"palletLabelQuantity": 6,
"returnFlagType": {
"flagTypeID": 1,
"flagType": "sample string 2",
"isActive": true,
"isSystem": true,
"isCleared": true,
"isDefault": true,
"isRepair": true,
"isAdmin": true,
"isRepairComponent": true
},
"returnFlagBarcodePrefix": "sample string 7"
}
},
"relatedLocation": {
"locationID": 1,
"company": {
"companyID": 1,
"companyName": "sample string 2",
"companyCode": "sample string 3",
"vatNumber": "sample string 4",
"address1": "sample string 5",
"address2": "sample string 6",
"address3": "sample string 7",
"address4": "sample string 8",
"address5": "sample string 9",
"email": "sample string 10",
"currentRates": [
{
"companyRateID": 1,
"rate": 2.0,
"supportLevel": {
"supportLevelID": 1,
"supportLevel": "sample string 2"
},
"startDate": "2025-11-08T08:21:18.4222075+00:00"
},
{
"companyRateID": 1,
"rate": 2.0,
"supportLevel": {
"supportLevelID": 1,
"supportLevel": "sample string 2"
},
"startDate": "2025-11-08T08:21:18.4222075+00:00"
}
]
},
"isActive": true,
"isKeyAccount": true,
"locationCategory": {
"locationCategoryID": 1,
"locationCategory": "sample string 2",
"isSystem": true
},
"locationName": "sample string 4",
"address": "sample string 5",
"address2": "sample string 6",
"address3": "sample string 7",
"city": "sample string 8",
"state": {
"stateID": 1,
"stateShortName": "sample string 2",
"stateLongName": "sample string 3"
},
"zipCode": "sample string 9",
"country": {
"countryID": 1,
"countryShortName": "sample string 2",
"countryLongName": "sample string 3"
},
"cityStateZipCountry": "sample string 10",
"xCoordinate": "sample string 11",
"yCoordinate": "sample string 12",
"googlePlaceID": "sample string 13",
"googleURL": "sample string 14",
"term": {
"termID": 1,
"term": "sample string 2",
"isActive": true
},
"bolTemplate": {
"bolTemplateID": 1,
"templateName": "sample string 2"
},
"isIntegrationControlled": true,
"locationRules": {
"locationRuleID": 1,
"shipMethod": {
"shipMethodID": 1,
"shipMethod": "sample string 2"
},
"isLocked": true,
"canSelfOrder": true,
"additionalBillingDays": 4,
"allowUDFAddress": true,
"palletLabelQuantity": 6,
"returnFlagType": {
"flagTypeID": 1,
"flagType": "sample string 2",
"isActive": true,
"isSystem": true,
"isCleared": true,
"isDefault": true,
"isRepair": true,
"isAdmin": true,
"isRepairComponent": true
},
"returnFlagBarcodePrefix": "sample string 7"
}
},
"autoReceive": true,
"autoReceiveDays": 3,
"autoReceiveHours": 4,
"autoInTransit": true,
"autoDaysInTransit": 6,
"autoHoursInTransit": 7,
"autoLost": true,
"autoDaysLost": 9,
"autoHoursLost": 10
}