Get a Product

get

/rest/v16/products/{productId}

Use this endpoint to retrieve the specified CPQ product.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : Product Instance Definitions
Type: object
Title: Product Instance Definitions
Show Source
Nested Schema : Product Type
Type: object
Title: Product Type
Type of The Product
Show Source
  • Title: Display Value
    Translated display name of the type for which fixed list of values can be defined.
  • Title: Id
    Primary Key of the fixed list of value resource.
  • Title: Lookup Code
    Language independent code of the fixed list of value.
Nested Schema : Status
Type: object
Title: Status
Workflow status of this product
Show Source
  • Title: Display Value
    Translated display name of the type for which fixed list of values can be defined.
  • Title: Id
    Primary Key of the fixed list of value resource.
  • Title: Lookup Code
    Language independent code of the fixed list of value.
Back to Top

Examples

The following example shows how to a retrieve the specified CPQ product by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl -X GET -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Accept: application/json"
https://sitename.oracle.com/rest/v16/products/PART_255"

Response Body Sample

{
  "productIdentifier": "PART_255",
  "modelPath": null,
  "description": "License/Applications/Vertical ERP Applications/Oracle Other Applications/Other Applications/Tutor for Applications/Tutor General Ledger",
  "label": "Tutor General Ledger",
  "bomItemVariableName": null,
  "model": null,
  "partNumber": "255",
  "id": 37641510,
  "productType": {
    "displayValue": "Part",
    "lookupCode": "0",
    "links": [{
        "rel": "domain",
        "href": "https://sitename.oracle.com/rest/v16/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_CONFIG_PRODUCT_TYPE%22%7D%7D"
      }
    ]
  },
  "status": {
    "displayValue": "Created",
    "lookupCode": "ORA_CREATED",
    "links": [{
        "rel": "domain",
        "href": "https://sitename.oracle.com/rest/v16/lookupValues?q=%7B%22lookupType%22%3A%7B%22%24eq%22%3A%22BM_CONFIG_PRODUCT_SETUP_STATUS%22%7D%7D"
      }
    ]
  }
}
Back to Top