update product by id

Get Cakes

POST {{base-url}}clients/updateProduct

This endpoint allows you to get free cakes.

Headers

Name
Type
Description

Content-Type

string

x-client-token

string

x-api-access

string

x-api-secret

string

Request Body

Name
Type
Description

client_id

integer

product_id

integer

product_name

string

price

number

barcode

string

cost

number

description

string

category_name

string

Request:-
{
    "client_id": 306,
    "product_id": 2463,
    "product_name": "fruti",
    "price": 54,
    "barcode": "",
    "cost": 78,
    "description": "kiran satpute",
    "category_name": "Nike"
}

Response:-
{
    "success": true,
    "msg": "product updated successfullly",
    "data": {
        "name": "fruti",
        "price": 54,
        "barcode": "djdf",
        "cost": "78",
        "description": "kiran satpute",
        "category_name": "Nike"
    }
}

Last updated