> ## Documentation Index
> Fetch the complete documentation index at: https://devzone.nayax.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Machine Products

> Retrieves the list of products associated with a specific machine identified by `MachineID`.



## OpenAPI

````yaml /openapi/lynx.yaml get /v1/machines/{MachineID}/machineProducts
openapi: 3.0.1
info:
  title: Nayax Operational Lynx API
  version: v1
servers:
  - url: https://qa-lynx.nayax.com/operational
security:
  - Authorization: []
paths:
  /v1/machines/{MachineID}/machineProducts:
    get:
      tags:
        - Machine Products
      summary: Get Machine Products
      description: >-
        Retrieves the list of products associated with a specific machine
        identified by `MachineID`.
      operationId: get-machine-products
      parameters:
        - name: MachineID
          in: path
          required: true
          description: >-
            The unique identifier of the machine whose products are being
            retrieved.
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: The machine products were successfully retrieved.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MachineProduct'
components:
  schemas:
    MachineProduct:
      type: object
      description: >-
        Represents a product associated with a machine, including pricing, stock
        levels, and other product-specific data.
      properties:
        DexPrice:
          type: number
          format: double
          nullable: true
          description: The product price according to DEX (Data Exchange) data.
        ProductRef:
          type: string
          nullable: true
          readOnly: true
          description: >-
            A reference string for the product, typically used for informational
            purposes.
        MachineProductRef:
          type: string
          nullable: true
          readOnly: true
          description: >-
            A reference string for the machine product, typically used for
            informational purposes.
        ProductGroupRef:
          type: string
          nullable: true
          readOnly: true
          description: >-
            A reference string for the product group, typically used for
            informational purposes.
        MachineRef:
          type: string
          nullable: true
          readOnly: true
          description: >-
            A reference string for the machine, typically used for informational
            purposes.
        MachineProductID:
          type: integer
          format: int64
          nullable: true
          description: The unique identifier of the machine product.
        NayaxProductID:
          type: integer
          format: int64
          nullable: true
          description: The unique identifier of the product in the Nayax system.
        MachineID:
          type: integer
          format: int64
          nullable: true
          description: The unique identifier of the machine associated with this product.
        MDBCode:
          type: integer
          format: int64
          nullable: true
          description: The MDB (Multi-Drop Bus) code associated with the product.
        PAR:
          type: integer
          format: int32
          nullable: true
          description: >-
            The PAR level, indicating the standard quantity of the product that
            should be stocked in the machine.
        CashPrice:
          type: number
          format: double
          nullable: true
          description: The price of the product when purchased with cash.
        CreditCardPrice:
          type: number
          format: double
          nullable: true
          description: The price of the product when purchased with a credit card.
        MachinePrice:
          type: number
          format: double
          nullable: true
          description: The price of the product as set on the machine.
        RetailPrice:
          type: number
          format: double
          nullable: true
          description: The retail price of the product.
        DEXProductName:
          type: string
          nullable: true
          description: The product name according to DEX data.
        PACode:
          type: string
          nullable: true
          description: The PA code associated with the product.
        PCCode:
          type: string
          nullable: true
          description: The PC code associated with the product.
        ProductMinimumPickQTY:
          type: integer
          format: int32
          nullable: true
          description: >-
            The minimum quantity of the product that should be picked during
            restocking.
        VendOutAlertThreshold:
          type: integer
          format: int32
          nullable: true
          description: >-
            The stock level at which an alert should be triggered for potential
            vend out.
        LastUpdated:
          type: string
          format: date-time
          nullable: true
          description: The date and time when the product information was last updated.
        MissingStockByDEX:
          type: integer
          format: int32
          nullable: true
          description: The quantity of stock missing according to DEX data.
        DEXMissingStockLastUpdated:
          type: string
          format: date-time
          nullable: true
          description: The date and time when the missing stock by DEX was last updated.
        PrePaidCardPrice:
          type: number
          format: double
          nullable: true
          description: The price of the product when purchased with a prepaid card.
        OperatorButtonCode:
          type: string
          nullable: true
          description: The code used by operators for manual selections.
        LastUpdatedByMobile:
          type: string
          format: date-time
          nullable: true
          description: The date and time when the product was last updated via mobile.
        ProductGroupID:
          type: integer
          format: int32
          nullable: true
          description: The unique identifier of the product group.
        MissingStockByMDB:
          type: integer
          format: int32
          nullable: true
          description: The quantity of stock missing according to MDB data.
        MDBMissingStockLastUpdated:
          type: string
          format: date-time
          nullable: true
          description: The date and time when the missing stock by MDB was last updated.
        SelectionVendOutBit:
          type: boolean
          nullable: true
          description: Indicates whether the product selection is marked for vend out.
        CommissionValue:
          type: number
          format: double
          nullable: true
          description: The commission value associated with the product.
        ExternalPrepaidPrice:
          type: number
          format: double
          nullable: true
          description: >-
            The price of the product when purchased with external prepaid
            methods.
        product_mark_for_alerts:
          type: integer
          format: int32
          nullable: true
          description: Indicates whether the product is marked for alerts.
        last_sale_dt:
          type: string
          format: date-time
          nullable: true
          description: The date and time of the last sale of the product.
        last_sale_mdb_dt:
          type: string
          format: date-time
          nullable: true
          description: >-
            The date and time of the last sale of the product according to MDB
            data.
        slow_mover:
          type: boolean
          nullable: true
          description: Indicates whether the product is categorized as a slow mover.
      additionalProperties: false
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: Enter your Bearer token. It's required to authenticate API requests.

````