Product
Sample request:
Get /stock-check
{
"productId": 1,
"dmdCode": 12345678,
}Authorizations
OAuth2clientCredentialsRequired
Token URL:
Available scopes:
- : CloudRx Order Service
- : CloudRx Product Service
- : CloudRx Sms Service
- : CloudRx Shipping Service
Query parameters
productIdinteger · int32Optional
dmdCodeinteger · int64Optional
Responses
200
If the product is in Stock or not.
application/json
400
ProductId is not valid.
application/json
401
Unauthorized
403
Forbidden
404
ProductId does not exist in CloudRx system.
application/json
get
/api/v1/Product/stock-checkSample request:
Get /stock-price
{
"productId": 1,
"dmdCode": 12345678,
"totalPacks": 2,
}Authorizations
OAuth2clientCredentialsRequired
Token URL:
Available scopes:
- : CloudRx Order Service
- : CloudRx Product Service
- : CloudRx Sms Service
- : CloudRx Shipping Service
Query parameters
productIdinteger · int32Optional
dmdCodeinteger · int64Optional
totalPacksinteger · int32Optional
Responses
200
Price of the product.
application/json
400
ProductId or total pack is not valid.
application/json
401
Unauthorized
403
Forbidden
404
Product not found.
application/json
500
CloudRx system error.
application/json
get
/api/v1/Product/price-checkProduct Search from CloudRx System. Mininum 3 letter search
Api will search for the Products begining with the search term provided in the call.
get
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Available scopes:
- : CloudRx Order Service
- : CloudRx Product Service
- : CloudRx Sms Service
- : CloudRx Shipping Service
Query parameters
searchTermstringOptional
Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
403
Forbidden
404
Not Found
application/json
500
Internal Server Error
application/json
get
/api/v1/Product/searchLast updated