Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Overview

This method allows you to update an existing product in Komet Sales. 

Request

https://api.kometsales.com/api/product.update

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

Input Parameters:

Note: At least two of these fields are required: Variety, Color, Grade. 


Sample
{
  "authenticationToken": "token_info_goes_here",
  "productId": 234234,
  "category": "Rose",
  "color": "Red",
  "variety": "Freedom",
  "grade": "50 cm",
  "code": "RS50", 
  "active": 1
 }

Response

Output:

  • status (integer:1): transaction status. 1 for success or 0 for failure.
  • message (string:500): description of the status of the transaction.
  • productId (integer:20): product internal ID that was just updated.

Sample
 {
  "status": "1",
  "message": "The product was successfully saved.",
  "productId": 234234
 }
  • No labels