Request Object – StockAvailabilityRequest
StockAvailabilityRequest
Field | Type | Description |
|---|---|---|
SupplierId* | int | The unique PharmX ID for the supplier receiving the order. |
AccountNumber* | string (50) | The supplier allocated account number that identifies the pharmacy. |
BillingAccountNumber | string (50) | Not currently used. |
LineCount* | int | The number of request lines. |
Lines* | array of StockAvailabilityRequestLine | An array of stock availability request lines (max allowed 50). |
StockAvailabilityRequestLine
Where both the ReorderNumber and EAN is provided, only the ReorderNumber will be used for the stock availability lookup.
Field | Type | Description |
|---|---|---|
EAN** | string (50) | The GTIN code for the product. |
UOM | string (50) | Not currently used. |
Quantity | int | Not currently used. |
ReorderNumber** | string (50) | The supplier product code for the item (PDE code). |
** Either a ReorderNumber or EAN is required.