Getting Started

Catalog Update

Order Management

Total Sales

Suppliers Details

Buyers Details

Catalog Update

Product availability update

This method allows to update only availability of a product without all the other product variables

Request:

				
					Method: POST
URL: api/v1/supplierApi/supplier/catalog/updateProductPublishedState
				
			

Product's items

products items[]

Field Name Type Mandatory Field Description
cat_number String True Catalogic number
is_published String True product availability (false=not available in stock)

Body sample:

				
					{
    "products": [
        {
            "cat_number": "7052009", //code of item
        	"is_published": true //is published for users or not, used for deleting
            // or blocking product usage
        },
        {
            "cat_number": "7052009M",
        	"is_published": false
        }
    ]
}
				
			

Response:

				
					{
    "status": "ok",
    "report": {
        "errors": [],
    
      	],
    	"updated": [
             "7052009M",
 }