Skip to main content

Get Product Balance Quantity

Request​

GET:/{accountBookId}/product/BalanceQuantity

Request Parameters​

ParameterDescriptionType
codeProduct code.stringrequired

Example Request URL:

Parameters:
accountBookId = 1
code = P-00001

URL:
GET: https://accounting-api.autocountcloud.com/1/product/BalanceQuantity?code=P-00001

Response​

Success Response​

Status Code: 200

Response Body​

object: Product Balance Quantity View Model

Example Success Response Body
[
{
"location": "HQ",
"balanceQty": 100.00000000,
"variant1Name": null,
"variant1Option": null,
"variant2Name": null,
"variant2Option": null
},
{
"location": "Branch-A",
"balanceQty": 50.00000000,
"variant1Name": null,
"variant1Option": null,
"variant2Name": null,
"variant2Option": null
}
]

Error Response​

Response Body​

object: Error Response Model

Example Error Response Body
{
"statusCode": 404,
"message": "Resource not found."
}