Skip to main content

Retrieves the real-time stock of a product linked to an event session.

GET 

/api/v1/cart/products/linkedSession

SOAP Equivalent: ACP_TempOrderGetProductLinkedSession

SOAP to REST Field Mapping

REST FieldSOAP FieldNotes
productIdid_productQuery parameter (Generic.ID_Generic)
eventSessionIdid_CatalogDateQuery parameter (CatalogContents.ID_CatalogContents)
product.stockStockNet available quantity
product.amountAmountPriceList.Amount

Route deviation: the SOAP method takes no temporary-order id (only id_product and id_CatalogDate), so the REST route carries no {cartId} and exposes both ids as query parameters. Scoped by the x-tenant header; the session context (institution) is validated first. When no product matches, HTTP 200 is returned with product.found = false (SOAP parity).

Request

Responses

OK