Use this method to get a list of Customers associated with a Company.

Valid tokens: User.



Request


URL: https://api.kometsales.com/api/customer.by.company.list

Method: GET

Content-Type: URL Parameters


Header

X-SALES-CHANNEL (required)(string:20)

Sales Channel.

Valid values: "WEB_APP", "MOBILE_APP", "K2K" , "ECOMMERCE_LITE". 


X-ACCOUNT (required)(integer:20)

Company ID that is using the API.

Please ask the Komet Sales team for this ID. 


Input parameters

authenticationToken (required)(string:50)

Komet Sales security token.


showSalespersonCustomers (optional)(Boolean)

Only display Customers associated to the User making the request.

Valid values: True = Yes | False = Show every Customer


https://api.kometsales.com/api/customer.by.company.list?
authenticationToken=token_info_goes_here

Response


customerResult (array) 

An array containing the Customer information.


customerId (integer 10)

The Customer ID.


customerName (String)

The Customer’s day.


{
    "customerResult": [
        {
            "customerId": 29675,
            "customerName": "10 DOWNING ST"
        },
        {
            "customerId": 7359,
            "customerName": "2-14 ENTERPRISES BRIDAL CAKES"
        },
        {
            "customerId": 29623,
            "customerName": "A NEW LEAF OF WI,LLC"
        },
        {
            "customerId": 29671,
            "customerName": "a TRIO JEWELRY & DESIGN LLC"
        }
        ]
}

defaultcom.atlassian.ecosystemfc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacockf96014cf-279f-40fc-8433-614e8544ec44ari:cloud:ecosystem::extension/fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacock7e197a25-1322-427c-bb64-90fbaf0d03e2defaultcom.atlassian.ecosystemfc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacockf96014cf-279f-40fc-8433-614e8544ec44ari:cloud:ecosystem::extension/fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacock7e197a25-1322-427c-bb64-90fbaf0d03e2