Update a Customer’s Ship-To

Use this method to update an existing Customer Ship-To in Komet Sales.

Valid Tokens: Company.


Related Articles

Request


URL: https://api.kometsales.com/api/customer.shipto.update

Method: POST

Content-Type: application/JSON


Input Parameters

authenticationToken (required)(string:50)

Komet Sales security token.


shipToId (required) (integer:20)

Ship-To ID.

You can get this value from the customer.shipto.list API method.


customerId (required) (integer:20)

Customer ID.

You can get this value from the customer.list API method.


name (optional)(string:200)

Ship-To name.


address (optional)(string:200)

Shipping address street.


city (optional)(string:50)

Shipping address city.


state (optional)(string:50)

Shipping address state.


zipcode (optional)(string:10)

Shipping address zip code.


country (optional)(string:50)

Shipping address country.


phone (optional)(string:20)

Phone number.


fax (optional)(string:20)

Fax number.


carrierId (optional) (integer:20)

Carrier ID.

You can get this value from the carrier.list API method.


carrierAccount (optional)(string:20)

Carrier account number.


salesPersonCodeForFlowers (optional)(string:20)

Salesperson code for flower-type products. 


salesPersonCodeForPlants (optional)(string:20)

Salesperson code for plant-type products.


{ "authenticationToken": "token_info_goes_here", "shipToId": 20131, "customerId":6326, "name":"Store miami", "city":"miami", "state":"FL", "country":"United States", "zipcode":"568722", "address":"Stree 123 Suite 2", "fax": "786 3434 23232", "phone": "661 522 3154" }

 

Response


status (integer:1)

Transaction status.

Valid values: 1 = Success | 0 = Failure


message (string:500)

Transaction status description.


shipToId (integer:20)

Internal Ship-to ID.


{ "status": 1, "message": "Ship to was successfully saved", "shipToId": 20131 }

 

Peacock