curl --request POST \
--url https://clarus-api.com/api/load_tasks/{id}/load_storage_unit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Clarus-Subdomain: <api-key>' \
--data '
{
"load_id": 14,
"load_drop_id": 27
}
'import requests
url = "https://clarus-api.com/api/load_tasks/{id}/load_storage_unit"
payload = {
"load_id": 14,
"load_drop_id": 27
}
headers = {
"Authorization": "Bearer <token>",
"X-Clarus-Subdomain": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-Clarus-Subdomain': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({load_id: 14, load_drop_id: 27})
};
fetch('https://clarus-api.com/api/load_tasks/{id}/load_storage_unit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"error": "<string>"
}{
"errors": [
{
"code": 123,
"symbol": "<string>",
"details": "<string>",
"source": "<string>",
"context": {}
}
]
}{
"errors": [
{
"code": 123,
"symbol": "<string>",
"details": "<string>",
"source": "<string>",
"context": {}
}
]
}Load a storage unit onto a load
Complete a load task by recording that its storage unit has been physically loaded onto the supplied load (or load drop). Validates the load’s status, the load drop’s status, and — when loading validation settings are enabled — any configured pick list / booking date / delivery address checks. The task transitions to COMPLETED, the load and load drop counters are incremented, and a load transaction is recorded. This endpoint does NOT use JSON:API format.
curl --request POST \
--url https://clarus-api.com/api/load_tasks/{id}/load_storage_unit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Clarus-Subdomain: <api-key>' \
--data '
{
"load_id": 14,
"load_drop_id": 27
}
'import requests
url = "https://clarus-api.com/api/load_tasks/{id}/load_storage_unit"
payload = {
"load_id": 14,
"load_drop_id": 27
}
headers = {
"Authorization": "Bearer <token>",
"X-Clarus-Subdomain": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'X-Clarus-Subdomain': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({load_id: 14, load_drop_id: 27})
};
fetch('https://clarus-api.com/api/load_tasks/{id}/load_storage_unit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"error": "<string>"
}{
"errors": [
{
"code": 123,
"symbol": "<string>",
"details": "<string>",
"source": "<string>",
"context": {}
}
]
}{
"errors": [
{
"code": 123,
"symbol": "<string>",
"details": "<string>",
"source": "<string>",
"context": {}
}
]
}Authorizations
OAuth 2.0 authentication. Use the client credentials or authorization code flow to obtain an access token.
- Authorization URL
- https://clarus-api.com/oauth/authorize
- Token URL
- https://clarus-api.com/oauth/token
- Token URL
- https://clarus-api.com/oauth/token
The subdomain/tenant name identifying which tenant's data to access. Required for all API requests.
Path Parameters
The unique identifier of the load task
Body
Response
Operation completed successfully with no content to return

