Every API here is available over the APIs.io API and to AI agents over MCP.
{"openapi":"3.0.0","info":{"description":"This API will return a collection of Service Inventory Data Location.\n\nThe base endpoint URL for this API in production is: `https://marko.aramark.net/v1/service`.\n\nFor testing the API with the \"Try\" tool on this page or in your app, use either our testing server \"qa-marko\" or our development server \"dev-marko\".\n","version":"1.0.0-oas3","title":"Service Inventory"},"tags":[{"name":"Storage","description":"A collection of Storage Areas for a Location"},{"name":"Items","description":"Get or Update Inventory Items"}],"paths":{"/inventory/storage":{"get":{"summary":"Inventory Storage Areas","description":"Returns a Hierarchal collection of Inventory Storage Areas for a specific location\n\n","operationId":"getInventoryStorage","tags":["Storage"],"parameters":[{"$ref":"#/components/parameters/locationIdParam"},{"$ref":"#/components/parameters/bypassCacheParam"},{"$ref":"#/components/parameters/smokeParam"}],"responses":{"200":{"description":"All Inventory Storage Areas for a specific Location","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"ENUM 'Success', 'Error' or 'Not Found'"},"count":{"type":"string","description":"Number of records"},"storage_areas":{"type":"array","items":{"$ref":"#/components/schemas/storage_areas"}}}}}}},"404":{"description":"Requested resource does not exist."},"405":{"description":"HTTP Verb / Operation not supported"}}}},"/inventory/items":{"get":{"summary":"Inventory Items for a specific Location","description":"Returns a collection of Inventory Item data for a specific location\n\n","operationId":"getInventoryItems","tags":["Items"],"parameters":[{"$ref":"#/components/parameters/locationIdParam"},{"$ref":"#/components/parameters/bypassCacheParam"},{"$ref":"#/components/parameters/smokeParam"}],"responses":{"200":{"description":"List all Inventory Items information for a location","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"ENUM 'Success', 'Error' or 'Not Found'"},"count":{"type":"string","description":"Number of records"},"inventory":{"type":"array","items":{"$ref":"#/components/schemas/inventory"}}}}}}},"404":{"description":"Requested resource does not exist."},"405":{"description":"HTTP Verb / Operation not supported"}}},"put":{"summary":"Update an Inventory Item for a specific Location","description":"Allows updates to an Inventory Item for a specific Location\n\n","operationId":"putInventoryItems","tags":["Items"],"parameters":[{"$ref":"#/components/parameters/inventoryItemIdParam"}],"requestBody":{"description":"Details for the Item that is being updated","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/putItemBody"}}}},"responses":{"200":{"description":"Status of the Update Request","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"ENUM 'Success', 'Error' or 'Not Found'"},"message":{"type":"string","description":"Status Message for the Update Request"}}}}}},"404":{"description":"Requested resource does not exist."},"405":{"description":"HTTP Verb / Operation not supported"}}}}},"servers":[{"url":"https://qa-marko.aramark.net/v1/service","description":"Testing server"},{"url":"https://dev-marko.aramark.net/v1/service","description":"Development server"}],"components":{"parameters":{"locationIdParam":{"name":"location_id","in":"query","description":"ID of the Location","required":true,"schema":{"type":"number"}},"inventoryItemIdParam":{"name":"inventory_item_id","in":"path","description":"ID of the Inventory Item to be udpated","required":true,"schema":{"type":"number"}},"bypassCacheParam":{"in":"header","name":"bypass-cache","description":"This HTTP Header variable will bypass cache","schema":{"type":"string","enum":["true","false"]}},"smokeParam":{"in":"header","name":"smoke","description":"When set to 'true' this HTTP Header variable will route to the Integration environment. Only applicable in QA Server.\n","schema":{"type":"string","enum":["true","false"]}}},"securitySchemes":{"apikey":{"type":"apiKey","in":"header","name":"apikey","description":"This HTTP Header variable will verify security"}},"schemas":{"putItemBody":{"type":"object","properties":{"purchase_size":{"type":"number","description":"Purchase Size for the Item"},"pack_size":{"type":"number","description":"Pack Size for the Item"},"inner_pack_size":{"type":"number","description":"Inner Pack Size for the Item"},"fiscal_time_period_id":{"type":"number","description":"Fiscal Period ID in which the Item is being updated"}}},"storage_areas":{"type":"object","properties":{"storage_area_id":{"type":"number","description":"ID of the Storage Area"},"storage_area_name":{"type":"string","description":"Name of the Storage Area"},"storage_area_level":{"type":"number","description":"Level of the Storage Area"},"sort_order":{"type":"number","description":"Sort Order of the Storage Area"},"sub_storage":{"type":"array","items":{"$ref":"#/components/schemas/sub_storage"}}}},"sub_storage":{"type":"object","properties":{"storage_area_id":{"type":"number","description":"ID of the Storage Area"},"storage_area_name":{"type":"string","description":"Name of the Storage Area"},"storage_area_level":{"type":"number","description":"Level of the Storage Area"},"sort_order":{"type":"number","description":"Sort Order of the Storage Area"},"sub_storage":{"type":"array","items":{"$ref":"#/components/schemas/sub_storage_1"}}}},"sub_storage_1":{"type":"object","properties":{"storage_area_id":{"type":"number","description":"ID of the Storage Area"},"storage_area_name":{"type":"string","description":"Name of the Storage Area"},"storage_area_level":{"type":"number","description":"Level of the Storage Area"},"sort_order":{"type":"number","description":"Sort Order of the Storage Area"}}},"inventory":{"type":"object","properties":{"location_id":{"type":"number","description":"ID of the Location"},"inventory_item_storage_area_name":{"type":"string","description":"Name of the Storage Area for the Item"},"inventory_item_storage_area_id":{"type":"number","description":"ID of the Storage Area for the Item"},"inventory_item_name":{"type":"string","description":"Name of the Item"},"inventory_item_id":{"type":"number","description":"ID of the Item"},"pack_unit_size":{"$ref":"#/components/schemas/pack_unit_size"},"details":{"$ref":"#/components/schemas/details"}}},"pack_unit_size":{"type":"object","properties":{"purchase_size_description":{"type":"string","description":"Description of the Purchase Size of the Item Pack"},"purchase_size":{"type":"number","description":"Purchase Size of the Item Pack"},"pack_size_description":{"type":"string","description":"Description of the Pack Size of the Item"},"pack_size":{"type":"number","description":"Pack Size of the Item"},"inner_pack_size_description":{"type":"string","description":"Description of the Inner Pack Size of the Item"},"inner_pack_size":{"type":"number","description":"Inner Pack Size of the Item"}}},"details":{"type":"object","properties":{"unit_purchase_description":{"type":"string","description":"Description of the Purchase Unit of the Item"},"beginning_units":{"type":"number","description":"Number of Beginning Units of the Item"},"received_units":{"type":"number","description":"Number of Received Units of the Item"},"catch_weight_flag":{"type":"string","description":"Flag to indicate whether or not catch weight is applicable for this Item"},"transfer_in_quantity":{"type":"number","description":"Number of Units Transferred In for the Item"},"transfer_out_quantity":{"type":"number","description":"Number of Units Transferred Out for the Item"},"fiscal_time_period_id":{"type":"number","description":"ID of the Fiscal Period for the Item"}}}}}}