Stock

Sell more than just activities

Merchandise stock.

List Product Stock

get

This API returns all the stock items.

Authorizations
Query parameters
stock_idstring[]Optional

[FILTER] on stock_id.

stock_product_idstring[]Optional

[FILTER] on stock_product_id.

include_disabledbooleanOptional

[FILTER] Include disabled / closed (stock_active:false) entries.

Default: falseExample: true
stock_modifiedstring · date-timeOptional

[FILTER] Only show entries modified after the given date.

Header parameters
If-Modified-SincestringOptional

[CACHE] The If-Modified-Since request HTTP header makes the request conditional: the server will send back the requested resource, with a 200 status, only if it has been modified after the given date.

If the resource has not been modified since, the response will be a 304 without any body; the Last-Modified response header of a previous request will contain the date of last modification.

Note that if a single resource has changed, all records matching your request will be returned, not just those changed after the given date. This provides you with an efficient caching method.

Example: Wed, 21 Jan 2022 07:28:00 GMT
Responses
200

Product Stock Response

application/json
get
GET /v3.8/distributor/products/stock HTTP/1.1
Host: staging-distributor-api.prioticket.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "api_version": "3.8.0",
  "data": {
    "kind": "location",
    "total_items": 10,
    "items": [
      {
        "stock_id": "20191026090010006526",
        "stock_active": true,
        "stock_label": "Morning",
        "stock_product_id": "3532",
        "stock_spots": {
          "stock_items_total": 100,
          "stock_items_reserved": 15,
          "stock_items_booked": 10,
          "stock_items_available": 75
        },
        "stock_created": "2025-08-06T07:43:01.380Z",
        "stock_created_name": "Demo Cashier",
        "stock_created_email": "[email protected]",
        "stock_modified": "2025-08-06T07:43:01.380Z",
        "stock_modified_name": "Demo Cashier",
        "stock_modified_email": "[email protected]"
      }
    ]
  }
}

Update Product Stock

put

This API allows to update the stock for merchandise items.

Authorizations
Path parameters
stock_idstringRequired

Identifier of the stock that is updated.

Example: 84534534
Query parameters
stock_items_availablestringRequired

Updated stock quantity.

Example: 50
Responses
200

Product Stock Response

application/json
put
PUT /v3.8/distributor/products/stock/{stock_id} HTTP/1.1
Host: staging-distributor-api.prioticket.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "api_version": "3.8.0",
  "data": {
    "kind": "location",
    "total_items": 10,
    "items": [
      {
        "stock_id": "20191026090010006526",
        "stock_active": true,
        "stock_label": "Morning",
        "stock_product_id": "3532",
        "stock_spots": {
          "stock_items_total": 100,
          "stock_items_reserved": 15,
          "stock_items_booked": 10,
          "stock_items_available": 75
        },
        "stock_created": "2025-08-06T07:43:01.380Z",
        "stock_created_name": "Demo Cashier",
        "stock_created_email": "[email protected]",
        "stock_modified": "2025-08-06T07:43:01.380Z",
        "stock_modified_name": "Demo Cashier",
        "stock_modified_email": "[email protected]"
      }
    ]
  }
}

Was this helpful?