Skip to main content
GET
/
v1
/
machines
/
{MachineID}
/
machineProducts
/
{MachineProductID}
Get a Machine Product
curl --request GET \
  --url https://qa-lynx.nayax.com/operational/v1/machines/{MachineID}/machineProducts/{MachineProductID} \
  --header 'Authorization: <api-key>'
{
  "DexPrice": 123,
  "ProductRef": "<string>",
  "MachineProductRef": "<string>",
  "ProductGroupRef": "<string>",
  "MachineRef": "<string>",
  "MachineProductID": 123,
  "NayaxProductID": 123,
  "MachineID": 123,
  "MDBCode": 123,
  "PAR": 123,
  "CashPrice": 123,
  "CreditCardPrice": 123,
  "MachinePrice": 123,
  "RetailPrice": 123,
  "DEXProductName": "<string>",
  "PACode": "<string>",
  "PCCode": "<string>",
  "ProductMinimumPickQTY": 123,
  "VendOutAlertThreshold": 123,
  "LastUpdated": "2023-11-07T05:31:56Z",
  "MissingStockByDEX": 123,
  "DEXMissingStockLastUpdated": "2023-11-07T05:31:56Z",
  "PrePaidCardPrice": 123,
  "OperatorButtonCode": "<string>",
  "LastUpdatedByMobile": "2023-11-07T05:31:56Z",
  "ProductGroupID": 123,
  "MissingStockByMDB": 123,
  "MDBMissingStockLastUpdated": "2023-11-07T05:31:56Z",
  "SelectionVendOutBit": true,
  "CommissionValue": 123,
  "ExternalPrepaidPrice": 123,
  "product_mark_for_alerts": 123,
  "last_sale_dt": "2023-11-07T05:31:56Z",
  "last_sale_mdb_dt": "2023-11-07T05:31:56Z",
  "slow_mover": true
}

Authorizations

Authorization
string
header
required

Enter your API key. It's required to authenticate API requests.

Path Parameters

MachineID
integer<int64>
required

The unique identifier of the machine containing the product.

MachineProductID
integer<int64>
required

The unique identifier of the machine product to be retrieved.

Response

200 - application/json

The machine product was successfully retrieved.

Represents a product associated with a machine, including pricing, stock levels, and other product-specific data.

DexPrice
number<double> | null

The product price according to DEX (Data Exchange) data.

ProductRef
string | null

A reference string for the product, typically used for informational purposes.

MachineProductRef
string | null

A reference string for the machine product, typically used for informational purposes.

ProductGroupRef
string | null

A reference string for the product group, typically used for informational purposes.

MachineRef
string | null

A reference string for the machine, typically used for informational purposes.

MachineProductID
integer<int64> | null

The unique identifier of the machine product.

NayaxProductID
integer<int64> | null

The unique identifier of the product in the Nayax system.

MachineID
integer<int64> | null

The unique identifier of the machine associated with this product.

MDBCode
integer<int64> | null

The MDB (Multi-Drop Bus) code associated with the product.

PAR
integer<int32> | null

The PAR level, indicating the standard quantity of the product that should be stocked in the machine.

CashPrice
number<double> | null

The price of the product when purchased with cash.

CreditCardPrice
number<double> | null

The price of the product when purchased with a credit card.

MachinePrice
number<double> | null

The price of the product as set on the machine.

RetailPrice
number<double> | null

The retail price of the product.

DEXProductName
string | null

The product name according to DEX data.

PACode
string | null

The PA code associated with the product.

PCCode
string | null

The PC code associated with the product.

ProductMinimumPickQTY
integer<int32> | null

The minimum quantity of the product that should be picked during restocking.

VendOutAlertThreshold
integer<int32> | null

The stock level at which an alert should be triggered for potential vend out.

LastUpdated
string<date-time> | null

The date and time when the product information was last updated.

MissingStockByDEX
integer<int32> | null

The quantity of stock missing according to DEX data.

DEXMissingStockLastUpdated
string<date-time> | null

The date and time when the missing stock by DEX was last updated.

PrePaidCardPrice
number<double> | null

The price of the product when purchased with a prepaid card.

OperatorButtonCode
string | null

The code used by operators for manual selections.

LastUpdatedByMobile
string<date-time> | null

The date and time when the product was last updated via mobile.

ProductGroupID
integer<int32> | null

The unique identifier of the product group.

MissingStockByMDB
integer<int32> | null

The quantity of stock missing according to MDB data.

MDBMissingStockLastUpdated
string<date-time> | null

The date and time when the missing stock by MDB was last updated.

SelectionVendOutBit
boolean | null

Indicates whether the product selection is marked for vend out.

CommissionValue
number<double> | null

The commission value associated with the product.

ExternalPrepaidPrice
number<double> | null

The price of the product when purchased with external prepaid methods.

product_mark_for_alerts
integer<int32> | null

Indicates whether the product is marked for alerts.

last_sale_dt
string<date-time> | null

The date and time of the last sale of the product.

last_sale_mdb_dt
string<date-time> | null

The date and time of the last sale of the product according to MDB data.

slow_mover
boolean | null

Indicates whether the product is categorized as a slow mover.