> For the complete documentation index, see [llms.txt](https://sandbox-docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sandbox-docs.verifone.com/global-partners/global-partners-api-integration/global-partners-integration/get-inventory-details.md).

# Get Inventory details

* Partner system to invoke GetInventory End point, passing Customer number, operating unit and device type as parameter.
* Synchronous response will be passed back with inventory information.

<figure><img src="/files/R0avZpsEbl4SXDLZMta9" alt=""><figcaption></figcaption></figure>

## Get inventory details

> Retrieve customer ordered products with on-hand inventory details

```json
{"openapi":"3.1.1","info":{"title":"ORDS generated API for Partners","version":"1.0.1"},"servers":[{"url":"https://uat.justransform.com/justransform/restrouter/receive/partners/hwdev","description":"UAT Server"}],"security":[{"basicAuth":[]}],"components":{"securitySchemes":{"basicAuth":{"type":"http","scheme":"basic","description":"Use username: partnertest and password: partnertest"}},"schemas":{"GetInventoryRequest":{"type":"object","required":["Inventory"],"properties":{"Inventory":{"type":"array","items":{"$ref":"#/components/schemas/GetInventory"}}}},"GetInventory":{"type":"object","required":["CustomerNumber"],"properties":{"CustomerNumber":{"type":"string","description":"Customer Number"},"OperatingUnit":{"type":"string","description":"Verifone Operating Unit (e.g. \"INC\" for USA, \"LHR\" for UK). Leave empty to retrieve all."},"DeviceType":{"type":"string","description":"Device type filter. Leave empty to retrieve all device types."}}},"GetInventoryResponse":{"type":"object","properties":{"CustomerNumber":{"type":"string","description":"Customer Number"},"OperatingUnits":{"type":"array","description":"List of operating units with inventory details","items":{"type":"object","properties":{"OperatingUnit":{"type":"string","description":"Verifone Operating Unit"},"Items":{"type":"array","description":"List of inventory items","items":{"type":"object","properties":{"DeviceType":{"type":"string","description":"Type of device"},"PartNumber":{"type":"string","description":"Unique part number"},"Warehouse":{"type":"string","description":"Warehouse code"},"OnhandQty":{"type":"integer","description":"On-hand quantity available"},"UOM":{"type":"string","description":"Unit of measure (e.g. \"EA\" for Each)"}}}}}}}}},"ErrorResponse":{"type":"object","properties":{"code":{"type":"integer","description":"HTTP status code"},"message":{"type":"string","description":"Error message"},"details":{"type":"object","description":"Error details"},"timestamp":{"type":"integer","description":"Epoch timestamp"}}}}},"paths":{"/GetInventory":{"post":{"summary":"Get inventory details","description":"Retrieve customer ordered products with on-hand inventory details","operationId":"GetInventory","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetInventoryRequest"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GetInventoryResponse"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sandbox-docs.verifone.com/global-partners/global-partners-api-integration/global-partners-integration/get-inventory-details.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
