Request
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
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
Carrier account number.
salesPersonCodeForFlowers (optional)(string:20)
Salesperson code for flower-type products.
salesPersonCodeForPlants (optional)(string:20)
Sample Request
Salesperson code for plant-type products.
Code Block |
---|
{
"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. 1
= Success | 0 = Failure
message (string:500)
Transaction status description.
shipToId (integer:20)
Sample Response
Internal Ship-to ID.
Code Block |
---|
{
"status": 1,
"message": "Ship to was successfully saved",
"shipToId": 20131
} |
title | Related Articles |
---|