Product

Checks if the product is in Stock or not.

get

Sample request:

Get /stock-check
{
   "productId": 1,
   "dmdCode": 12345678,
}
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Query parameters
productIdinteger · int32Optional
dmdCodeinteger · int64Optional
Responses
chevron-right
200

If the product is in Stock or not.

application/json

Product Stock Model.

inStockbooleanOptional

Gets or sets a value indicating whether Product is in stock or not.

get
/api/v2/Product/stock-check

Checks the price of the product.

get

Sample request:

Get /stock-price
{
   "productId": 1,
   "dmdCode": 12345678,
   "totalPacks": 2,
}
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Query parameters
productIdinteger · int32Optional
dmdCodeinteger · int64Optional
totalPacksinteger · int32Optional
Responses
chevron-right
200

Price of the product.

application/json

Price Check Model.

pricenumber · doubleOptional

Gets or sets.

get
/api/v2/Product/price-check
get
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Query parameters
searchTermstringOptional
Responses
chevron-right
200

OK

application/json

Product Search Model used by Product Search Api call.

productIdinteger · int32Optional

Gets or sets Medication Name.

namestring · nullableOptional

Gets or sets Medication Name.

unitsstring · nullableOptional

Gets or sets Units e.g tablets/capsules/ml.

packSizenumber · doubleOptional

Gets or sets Default Pack Size.

outOfStockbooleanOptional

Gets or sets a value indicating whether Prouduct is in stock or not.

pricenumber · floatOptional

Gets or sets Default Pack Size.

controlDrugbooleanOptional

Gets or sets a value indicating whether Prouduct is ControlDrug or not.

get
/api/v2/Product/search

Last updated

Was this helpful?