Hi Shibin
You are correct - a Product can be instantiated from a ProductSpecification or a ProductOffering, and you will see that in the Open API model Product has 0..1 references to ProductSpecificationRef and to ProductOfferingRef. So the instantiated product will have a similar structure to the catalog structure.
My only doubt is - whether a non-bundling ProductOffering will cause a Product to be instantiated, since there will be a Product from the ProductSpecification referred to by the ProductOffering.
Referring to
@Ludovic Robert who leads this API in case he wants to give additional insights.
Hope it helps
P.S. I thought I replied already but it seems that my reply got lost in hyperspace
------------------------------
Jonathan Goldberg
Amdocs Management Limited
------------------------------
Original Message:
Sent: Jun 03, 2019 07:30
From: Shibin CK
Subject: Product instances in ProductInventory
Hi,
The Product SID document has a sample Mobile line product modelled as below
Mobile line: ProductOffering
Mobile line: NetworkProductSpec
TV on Mobile: NetworkProductSpec
Evening & week-end RatePlan: RatePlanProductSpec
SMS Package: FixedQuantityPackageProductSpec
char - volume [50/100/500]
SIM Card: GoodsProductSpec
char - cardType [standard/micro]
When a customer buys this offering and the order is completed, how should the products be created in the product inventory?. Should the same hierarchy be maintained in the product inventory? In that case, the leaf products will be pointing to ProductSpecifications and only the top level products will be pointing to the ProductOfferings. Is that correct?
Mobile line: Product
Mobile line: Product
TV on Mobile: Product
Evening & week-end RatePlan: Product
SMS Package: Product
char - volume=50
SIM Card: Product
char - cardType=micro
------------------------------
Shibin CK
Tecnotree
------------------------------