# Counting Lines ## Create External Counting Lines `counting_lines.create_external_counting_lines(CountingLineCreateExternalCountingLinesParams**kwargs) -> CountingLineCreateExternalCountingLinesResponse` **post** `/api/v2/public/externalcountinglines` Submits external counting lines from an external counting integration. ### Parameters - `counting_date_time: Optional[Union[str, datetime]]` The date and time the counting was performed. - `lines: Optional[Iterable[Line]]` The list of counted product lines. - `counted_quantity: Optional[float]` The counted quantity for this product. - `product_barcode: Optional[str]` The product barcode that was scanned. - `store_no: Optional[str]` The store number. ### Returns - `class CountingLineCreateExternalCountingLinesResponse: …` Standard success response returned by mutation endpoints. - `data: Optional[str]` Optional data payload returned by the operation. - `message: Optional[str]` Human-readable message describing the result. - `success: Optional[bool]` Indicates whether the operation completed successfully. ### Example ```python import os from colleqtive_sdk import Colleqtive client = Colleqtive( bearer_token=os.environ.get("COLLEQTIVE_BEARER_TOKEN"), # This is the default and can be omitted ) response = client.counting_lines.create_external_counting_lines() print(response.data) ```