View Order Card Inventory API


Request Method :: POST
Base URL: Will be shared later.
URL : {BaseUrl}/ppcard/mw/card/fetch_inventory
Description: This API is used for view previously order card inventory.

Headers


Content-Type: application/JSON
header_secrets: These values must be generated each time while consuming the API (refer to the generation process mentioned in the note above).
client_id:  To be shared during integration by ISU Team

Request Body Parameters

Parameters Parameter description with validations Sample Data type Mandatory/Optional
type Inventory type SELF String Mandatory
latLong Comma separated by Latitude and longitude 19.0759837,72.8776559 String Mandatory
channel Name of the Channel WEB String Mandatory

Sample Request Body


Response Body Parameters

Parameters Description Data type
statusCode Status Code(0/1) String
statusDesc Status Description of Status String
status SUCCESS/FAILED String
data Contains Following information String    
productName name of the product. ProductforPM String
productcategory category of the product. GPR String
cardNature Nature of the card. E.g.- V String
orderedCards No. of Ordered cards. E.g. - 10 Integer
status APPROVED String
createdDate 2024-08-26T07:25:48.000Z String

Sample Response Body


SUCCESS:

 

FAILED:

 

Detailed Status Codes

Status Response Type Description
0 SUCCESS Inventory details fetched successfully
1 FAILED No inventory details found