Create External Counting Lines
CountingLineCreateExternalCountingLinesResponse CountingLines.CreateExternalCountingLines(CountingLineCreateExternalCountingLinesParams?parameters, CancellationTokencancellationToken = default)
POST/api/v2/public/externalcountinglines
Books counted quantities from an external counting system as stock movements. Use it instead of the stock movement endpoint when counts come from a third-party counting provider.
Create External Counting Lines
CountingLineCreateExternalCountingLinesParams parameters = new();
var response = await client.CountingLines.CreateExternalCountingLines(parameters);
Console.WriteLine(response);{
"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."
}