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

# onepint

> OnePint Inventory

**Server path:** `/onepint` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                              | Description                    |
| ----------------------------------------------------------------- | ------------------------------ |
| [`onepint_get_bulk_availability`](#onepint_get_bulk_availability) | Get Bulk Availability          |
| [`onepint_invoke_rest_proxy`](#onepint_invoke_rest_proxy)         | Invoke REST Proxy              |
| [`onepint_process_reservations`](#onepint_process_reservations)   | Process Inventory Reservations |

***

## onepint\_get\_bulk\_availability

Get Bulk Availability

**Parameters:**

| Parameter             | Type      | Required | Default | Description                                                           |
| --------------------- | --------- | -------- | ------- | --------------------------------------------------------------------- |
| `returnAtpBySegments` | boolean   | No       | —       | Whether to return ATP broken down by demand segments.                 |
| `demandSegment`       | string    | No       | —       | Filter availability by a specific demand segment.                     |
| `considerFutureAtp`   | boolean   | No       | —       | Whether to include future ATP in the availability calculation.        |
| `availType`           | string    | Yes      | —       | Type of availability to check (e.g., 'ATP' for Available to Promise). |
| `lines`               | object\[] | Yes      | —       | List of item/node/quantity combinations to check availability for.    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "returnAtpBySegments": {
        "type": "boolean",
        "description": "Whether to return ATP broken down by demand segments."
      },
      "demandSegment": {
        "type": "string",
        "description": "Filter availability by a specific demand segment."
      },
      "considerFutureAtp": {
        "type": "boolean",
        "description": "Whether to include future ATP in the availability calculation."
      },
      "availType": {
        "type": "string",
        "description": "Type of availability to check (e.g., 'ATP' for Available to Promise).",
        "enum": [
          "ATP"
        ]
      },
      "lines": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "itemId": {
              "type": "string",
              "description": "Identifier for the item (SKU or product ID)."
            },
            "nodeId": {
              "type": "string",
              "description": "Identifier for the fulfillment node (warehouse, store, etc.)."
            },
            "quantity": {
              "type": "number",
              "description": "Requested quantity to check availability for."
            }
          },
          "required": [
            "itemId",
            "nodeId",
            "quantity"
          ]
        },
        "description": "List of item/node/quantity combinations to check availability for."
      }
    },
    "required": [
      "PCID",
      "availType",
      "lines"
    ]
  }
  ```
</Expandable>

***

## onepint\_invoke\_rest\_proxy

Invoke REST Proxy

**Parameters:**

| Parameter       | Type   | Required | Default | Description                                                                                             |
| --------------- | ------ | -------- | ------- | ------------------------------------------------------------------------------------------------------- |
| `interfaceName` | string | Yes      | —       | Name of the integration interface to invoke (e.g., a configured data sync or transformation interface). |
| `body`          | object | Yes      | —       | Request payload — structure depends on the target interfaceName.                                        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "interfaceName": {
        "type": "string",
        "description": "Name of the integration interface to invoke (e.g., a configured data sync or transformation interface)."
      },
      "body": {
        "type": "object",
        "description": "Request payload — structure depends on the target interfaceName."
      }
    },
    "required": [
      "PCID",
      "interfaceName",
      "body"
    ]
  }
  ```
</Expandable>

***

## onepint\_process\_reservations

Process Inventory Reservations

**Parameters:**

| Parameter | Type      | Required | Default | Description                           |
| --------- | --------- | -------- | ------- | ------------------------------------- |
| `lines`   | object\[] | Yes      | —       | List of reservation lines to process. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "lines": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "itemId": {
              "type": "string",
              "description": "Identifier for the item (SKU or product ID)."
            },
            "lineId": {
              "type": "string",
              "description": "Unique identifier for this reservation line."
            },
            "nodeId": {
              "type": "string",
              "description": "Identifier for the fulfillment node."
            },
            "quantity": {
              "type": "number",
              "description": "Quantity to reserve."
            },
            "orderType": {
              "type": "string",
              "description": "Type of order (e.g., 'SALES', 'TRANSFER')."
            },
            "orderNumber": {
              "type": "string",
              "description": "Associated order number."
            },
            "action": {
              "type": "string",
              "enum": [
                "RESERVE",
                "RELEASE",
                "UPDATE"
              ],
              "description": "Reservation action to perform."
            },
            "channel": {
              "type": "string",
              "description": "Sales channel for the reservation."
            },
            "demandSegment": {
              "type": "string",
              "description": "Demand segment for the reservation."
            }
          },
          "required": [
            "itemId",
            "lineId",
            "nodeId",
            "quantity"
          ]
        },
        "description": "List of reservation lines to process."
      }
    },
    "required": [
      "PCID",
      "lines"
    ]
  }
  ```
</Expandable>
