> ## 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.

# Pick Lists

export const EndpointCard = ({method = "API", title, children, href, arrow = true}) => {
  const METHOD_STYLES = {
    GET: {
      bg: "mint-bg-green-400/20 dark:mint-bg-green-400/20",
      text: "mint-text-green-700 dark:mint-text-green-400",
      border: "mint-border-green-300 dark:mint-border-green-700"
    },
    POST: {
      bg: "mint-bg-blue-400/20 dark:mint-bg-blue-400/20",
      text: "mint-text-blue-700 dark:mint-text-blue-400"
    },
    PUT: {
      bg: "mint-bg-yellow-400/20 dark:mint-bg-yellow-400/20",
      text: "mint-text-yellow-700 dark:mint-text-yellow-400"
    },
    PATCH: {
      bg: "mint-bg-orange-400/20 dark:mint-bg-orange-400/20",
      text: "mint-text-orange-700 dark:mint-text-orange-400"
    },
    DELETE: {
      bg: "mint-bg-red-400/20 dark:mint-bg-red-400/20",
      text: "mint-text-red-700 dark:mint-text-red-400"
    },
    API: {
      bg: "mint-bg-black",
      text: "mint-text-white"
    }
  };
  const MethodBadge = ({method}) => {
    const style = METHOD_STYLES[method?.toUpperCase()] ?? METHOD_STYLES.GET;
    return <span className={`
          method-pill rounded-lg font-bold px-1.5 py-0.5 text-xs leading-5 ${style.bg} ${style.text}`}>
        {method?.toUpperCase()}
      </span>;
  };
  const content = <div className="group flex items-center gap-4 border border-gray-200 dark:border-gray-700 rounded-xl p-5 bg-white dark:bg-[#1e1e1e] hover:border-gray-400 dark:hover:border-gray-500 hover:shadow-md transition-all cursor-pointer">
      {}
      <div className="flex-1 min-w-0">
        <p className="font-semibold text-gray-900 dark:text-white text-sm leading-snug">{title}</p>
        {children && <p className="mt-1 text-sm text-gray-500 dark:text-gray-400 line-clamp-2">{children}</p>}
      </div>

      {}
      <div className="shrink-0">
        <MethodBadge method={method} />
      </div>
    </div>;
  if (!href) return content;
  return <a href={href} className="block no-underline border-b-0 mb-2">
      {content}
    </a>;
};

A pick list identifies the products and quantities a machine needs for restocking, based on its current stock levels and sales data.

In Nayax Core, you can create pick lists following the steps below:

1. In your Dashboard, go to **Operations > Inventory Dashboard**.
2. Use the search filter to look for your desired machine.
3. Right-click the machine and select **Pick List > Generate Pick List**.

<Frame>
  <img src="https://mintcdn.com/nayax-44d6e37b-docs-marshall-faq-redistribution/sBwRUCoASdSz1DKZ/images/docs/pick-lists/image1.png?fit=max&auto=format&n=sBwRUCoASdSz1DKZ&q=85&s=ce972042b4792e615b82e0f8fd7ebb08" alt="" width="1600" height="826" data-path="images/docs/pick-lists/image1.png" />
</Frame>

### Generate for multiple machines

To generate a pick list for more than one machine at once, for example all machines under a specific Route:

1. Add the filter to the search feature.
2. Select all the machines in the list (you can also individually select the machines you want).
3. Click **Actions > Generate Pick List**.

<Frame>
  <img src="https://mintcdn.com/nayax-44d6e37b-docs-marshall-faq-redistribution/sBwRUCoASdSz1DKZ/images/docs/pick-lists/image2.png?fit=max&auto=format&n=sBwRUCoASdSz1DKZ&q=85&s=56fdb6d6d1b6cb446267701dc72c714e" width="517" height="363" data-path="images/docs/pick-lists/image2.png" />
</Frame>

## Generate a pick list via API

Use the [Create Pick List](/reference/lynx/machine-inventory/create-pick-list) endpoint to generate a pick list for a specific machine based on its current stock levels and sales data.

<EndpointCard title="Create Pick List" href="/reference/lynx/machine-inventory/create-pick-list" method="post" />

<Warning>
  **Authentication**

  Refer to the [Security & Token](/docs/manage-data-operations/lynx-api/security) page of this documentation to learn how to access your tokens and how to properly use them to authenticate your API requests.
</Warning>

<br />

Send a POST request with the `MachineID` as a path parameter. The endpoint returns `204 No Content` on success — no response body is returned.

```sh Request theme={null}
curl -X POST "https://qa-lynx.nayax.com/operational/v1/machines/<MACHINE_ID>/pickLists" \
-H "Authorization: Bearer <YOUR_ACCESS_TOKEN>" \
-H "Content-Type: application/json"
```

The endpoint also accepts optional query parameters to refine the pick list — see the [Create Pick List](/reference/lynx/machine-inventory/create-pick-list) reference page for details.

After generating a pick list, see [Pick List Actions](/docs/manage-data-operations/lynx-api/inventory-management/pick-list-actions) to retrieve, update, or delete it.
