Third Party Product API

API reference

See the API reference on the Swagger Petstore

Usage

Background

Third party product is a catalog for products that does not exist in Enturs standard product database. Therefore, third party products must be provided by the client when creating an order. This means third party products are always connected to a specific order line within an order. Third party products enable selling products from another marketplace, using Entur's payment and order apis, which also includes that the sale is settled correctly in Entur's accounting.

Create

You create third party products through a special reserve api from the reserve-offers-api (also seen in Reserve Offer API menu) See the API reference on the Swagger Petstore

Retrieve

If you have access to the order, you have access to its third party products. On the order, there is a salesPackageRef with an ID. If this ID equals "ENT:SalesPackage:ThirdPartyProduct", then this means there exist third party products for this order line. From the third party product api you can read rules and display name for a given product, depending on what was defined when creating it.