Get a specific stock item

GET /stock/{id}

Return a specific stock item.

Path parameters

  • id integer Required

    Which item to be processed

    Minimum value is 0.

Responses

  • 200 application/json

    List returned OK

    Hide response attributes Show response attributes object
  • 401 application/json

    Authentication unauthorised

    Hide response attribute Show response attribute object
  • 403 application/json

    Invalid permission

    Hide response attribute Show response attribute object
  • 404 application/json

    Not Found

    Hide response attribute Show response attribute object
GET /stock/{id}
curl \
 -X GET https://YOURSITE.infoodle.com/apiv2/stock/99 \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "id": 123,
  "stockcode": "EVT#1",
  "description": "Event Tickets",
  "location_id": 45,
  "campaign_id": 421,
  "current_stock": 100,
  "reorder_stock": 5,
  "administrator_user_id": 542123,
  "item_price": 120.5,
  "cost_price": 100.5,
  "event_id": 54,
  "event_date": "2026-02-29",
  "early_bird_end_date_local": "2026-01-01",
  "early_bird_price": 70.5
}
Response examples (401)
{
  "error": "Unauthorised"
}
Response examples (403)
{
  "error": "Invalid Permission"
}
Response examples (404)
{
  "error": "Not Found"
}