Skip to content
Get started

Delete Replenishment Advice Lines History

DELETE/api/v2/public/replenishmentadvicelineshistory

Marks replenishment advice history lines as synced so they are no longer returned. The lines are flagged rather than deleted, so history stays intact. Unknown or already marked ids are skipped, so the call is safe to retry.

Body ParametersJSONExpand Collapse
ids: optional array of number
ReturnsExpand Collapse
success: boolean

Indicates whether the operation completed successfully.

data: optional string

Optional data payload returned by the operation.

message: optional string

Human-readable message describing the result.

Delete Replenishment Advice Lines History

curl https://api.colleqtive.net/api/v2/public/replenishmentadvicelineshistory \
    -X DELETE \
    -H "Authorization: $COLLEQTIVE_BEARER_TOKEN"
{
  "success": true,
  "data": "data",
  "message": "message"
}
{
  "code": 401,
  "status": "error",
  "message": "Authentication failed.",
  "error": "unauthorized",
  "error_description": "Authentication failed."
}
{
  "code": 500,
  "status": "fail",
  "message": "The request could not be processed.",
  "error": "internal_error",
  "error_description": "The request could not be processed."
}
Returns Examples
{
  "success": true,
  "data": "data",
  "message": "message"
}
{
  "code": 401,
  "status": "error",
  "message": "Authentication failed.",
  "error": "unauthorized",
  "error_description": "Authentication failed."
}
{
  "code": 500,
  "status": "fail",
  "message": "The request could not be processed.",
  "error": "internal_error",
  "error_description": "The request could not be processed."
}