Request Product Information (No Bundles)
POST {{_endpoint}}/services/data/v{{version}}/commerce/catalog-products/actions/get-products
Request information for two products that aren't bundles. For the first product, request only the information about the specified product selling model. For the second product, request information about all related product selling models.
See [Request Product Information]
Request Body
{"productContexts"=>[{"product2Id"=>"{{ClassTrainingProduct}}", "productSellingModelId"=>"{{OneTimePSM}}"}, {"product2Id"=>"{{VirtualRouterProduct}}"}], "fields"=>["id", "name", "IsActive", "ProductCode"], "retrievalType"=>"ExcludeChildComponents"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |