> ## Documentation Index
> Fetch the complete documentation index at: https://nayax-44d6e37b-docs-marshall-faq-redistribution.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Pick List

> Updates the pick list for a specific machine, allowing changes to the quantity of products to be picked.



## OpenAPI

````yaml /openapi/lynx.yaml put /v1/machines/inventory/picklists/update
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/inventory/picklists/update:
    put:
      tags:
        - Machine Inventory
      summary: Update Pick List
      description: >-
        Updates the pick list for a specific machine, allowing changes to the
        quantity of products to be picked.
      operationId: update-pick-list
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PickListLynxModelRequest'
      responses:
        '200':
          description: The pick list was successfully updated.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PickListLynxModelResponse'
components:
  schemas:
    PickListLynxModelRequest:
      type: object
      description: >-
        Represents a request to update the pick list for a machine, including
        the machine ID and the products to be updated.
      properties:
        MachineId:
          type: integer
          format: int64
          description: >-
            The unique identifier of the machine whose pick list is being
            updated.
        Products:
          type: array
          items:
            $ref: '#/components/schemas/PickListProductLynxModelRequest'
          nullable: true
          description: A list of products to be updated in the pick list.
      additionalProperties: false
    PickListLynxModelResponse:
      type: object
      description: >-
        Represents the response after updating the pick list for a machine,
        including the machine ID and the updated products.
      properties:
        MachineID:
          type: integer
          format: int64
          nullable: true
          description: The unique identifier of the machine whose pick list was updated.
        Products:
          type: array
          items:
            $ref: '#/components/schemas/PickListProductLynxModelResponse'
          nullable: true
          description: A list of products in the updated pick list.
      additionalProperties: false
    PickListProductLynxModelRequest:
      type: object
      description: >-
        Represents a product in the pick list update request, including the
        product ID and the quantity to be picked.
      properties:
        MachineProductId:
          type: integer
          format: int64
          description: The unique identifier of the product in the machine.
        PickQty:
          type: integer
          format: int32
          nullable: true
          description: The quantity of the product to be picked.
      additionalProperties: false
    PickListProductLynxModelResponse:
      type: object
      description: >-
        Represents a product in the response after updating the pick list,
        including detailed product information and stock levels.
      properties:
        NayaxProductID:
          type: integer
          format: int64
          nullable: true
          description: The unique identifier of the product in the Nayax system.
        MachineProductID:
          type: integer
          format: int64
          nullable: true
          description: The unique identifier of the product in the machine.
        ProductID:
          type: string
          nullable: true
          description: The unique identifier of the product.
        MDBCode:
          type: integer
          format: int64
          nullable: true
          description: The MDB (Multi-Drop Bus) code associated with the product.
        PACode:
          type: string
          nullable: true
          description: The PA code associated with the product.
        SelectionID:
          type: string
          nullable: true
          description: The selection identifier for the product within the machine.
        OperatorButtonCode:
          type: string
          nullable: true
          description: The code used by operators for manual selections.
        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.
        MissingStock:
          type: integer
          format: int32
          nullable: true
          description: The quantity of stock that is missing from the machine.
        OnHandStock:
          type: integer
          format: int32
          nullable: true
          description: The quantity of stock currently on hand in the machine.
        VendOutAlertThreshold:
          type: integer
          format: int32
          nullable: true
          description: >-
            The stock level at which an alert should be triggered for potential
            vend out.
        MachinePrice:
          type: number
          format: double
          nullable: true
          description: The price of the product as set on the machine.
        CreditCardPrice:
          type: number
          format: double
          nullable: true
          description: The price of the product when purchased with a credit card.
        RetailPrice:
          type: number
          format: double
          nullable: true
          description: The retail price of the product.
        DEXPrice:
          type: number
          format: double
          nullable: true
          description: The price of the product according to DEX (Data Exchange) data.
        LastPickQTY:
          type: integer
          format: int32
          nullable: true
          description: >-
            The quantity of the product that was picked during the last
            restocking.
        PrePaidCardPrice:
          type: number
          format: double
          nullable: true
          description: The price of the product when purchased with a prepaid card.
        CashPrice:
          type: number
          format: double
          nullable: true
          description: The price of the product when purchased with cash.
        DEXProductName:
          type: string
          nullable: true
          description: The product name according to DEX data.
        ProductName:
          type: string
          nullable: true
          description: The name of the product.
        SalesSourceID:
          type: integer
          format: int32
          nullable: true
          description: The identifier for the source of sales data.
        AmountInTray:
          type: integer
          format: int32
          nullable: true
          description: The quantity of the product currently in the tray.
        GroupId:
          type: integer
          format: int32
          nullable: true
          description: The group identifier associated with the product.
      additionalProperties: false
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: Enter your Bearer token. It's required to authenticate API requests.

````