get single stock

Get Cakes

POST {{base-url}}clients/singleStock

This endpoint allows you to get free cakes.

Headers

Name
Type
Description

x-api-access

string

x-api-secret

string

x-client-token

string

Content-Type

string

Request Body

Name
Type
Description

client_id

integer

store_id

integer

product_id

integer

Request:-
{
    "client_id": 306,
    "store_id": 210,
    "product_id": 2463
}

Response:-
{
    "success": true,
    "msg": "Getting stock by ID successfully.",
    "data": {
        "quantity": 106
    }
}

Last updated