Getting Started

Catalog Update

Order Management

Total Sales

Suppliers Details

Buyers Details

Catalog Update

Price update

To update product price and minimum order quantity in specific customer’s price list, use the following URL including the customer unique id number:

(In the following example – customer_nubmer   is 22561)

Request:

				
					POST
https://api.zester.co.il/api/v1/supplierApi/customers/22561/variety
				
			

Price list items:

Field Name Type Mandatory Field Description
replace_current_variety Boollean false-default true put true to update all pricelist items
put false to update only selected items
minimum_order Number false set a minimum order price amount
products pricelistitems[] true

Fields specification:

Field Name Type Mandatory Field Description
SKU String True Catalog number
Price Number True Product price

The json body should include the product SKU (Stock keeping unit) and its price:

Body sample:

				
					{
	"replace_current_variety": true,    // default
    "products":
    [
    {"SKU":"7052009","Price":"15.3"},
    {"SKU":"7052009M","Price":"153"}
    ]
}
				
			

Response:

				
					    [
    //errors
    ]
				
			

Expected response: array of errors.
Empty array means successfull update.