Overview


This method allows you to update the days of service and carriers for a group of customers in Komet Sales.

 


Request

https://api.kometsales.com/api/customer.day.service.update

  • Method: POST
  • Content-Type: application/json

Input Parameters:

  • authenticationToken (required)(string:50): Komet Sales security token.
  • idCustomerList (optional)(integer:20): List of Customer IDs. These can be obtained from the method customer.list.
  • companyLocationId (requiredl)(integer:20): location Komet Sales internal ID. You can obtain this value from the location.list API method. This is required for companies in Multi Location mode.
  • daysOfServiceMassUpdateList (required) (array): array of days of service that will be updated
    • carrierId (required) (integer:20): Komet Sales internal carrier Id.
    • dayOfService (required)(string:10) code of weekday when the carrier has service available (Sunday:0, Monday: 1, Tuesday: 2,Wednesday:3, Thursday: 4, Friday: 5, Saturday: 6)

    • carrierCode (required) (string:10): code of the carrier.

Response

Output:

  • status (integer:1): transaction status. 1 for success or 0 for failure.
  • message (string:500): description of the status of the transaction.