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 Field | SOAP Field | Notes |
|---|---|---|
| productId | id_product | Query parameter (Generic.ID_Generic) |
| eventSessionId | id_CatalogDate | Query parameter (CatalogContents.ID_CatalogContents) |
| product.stock | Stock | Net available quantity |
| product.amount | Amount | PriceList.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
- 200
- 401
- 404
- 422
- 500
OK
Unauthorized
Not Found
Unprocessable Content
Internal Server Error