
SAP CPQ introduces from 2502 release Product REST API which includes the following operations: GET, POST, PUT, PATCH, DELETE, BULK INSERT, BULK UPDATE, and BULK DELETE.
###
POST {{new_url}}/api/product/v1/Products
Authorization: Bearer {{accessToken}}
Content-Type: application/json
{
"basicInfo": {
"id": 1056,
"isNewVersion": null,
"isActiveVersion": true,
"systemId": "Metal_cpq",
"name": "Metal",
"aliasParentSystemId": "",
"displayType": "Simple",
"configurationType": "Standard",
"productType": {
"systemId": "Service_cpq",
"name": "Service",
"rank": 0
},
"catalogCode": "Silver",
"unitOfMeasure": "EA",
"description": "",
"categories": [
{
"systemId": "Equipment_cpq",
"name": "Equipment",
"rank": 0,
"parentSystemId": null,
"parentName": null,
"productBelongsToCategory": true
}
],
"createdDate": "2025-01-31T17:38:24Z",
"modifiedDate": "2025-02-06T10:30:21Z",
"createdBy": "RestAPI .",
"modifiedBy": "Yogananda Yogananda",
"image": "",
"alternativeText": "",
"displayTypePricing": "CustomPricing",
"pricingCode": "",
"price": 100.0000,
"costBuilder": "",
"priceBuilder": "",
"baseRecurringPrice": 0.0000000000,
"recurringPriceFormula": "",
"recurringCostFormula": "",
"recurringPricePeriodFormula": "",
"recurringCostPeriodFormula": "",
"isProductUsingAlternativePricing": false,
"alternativePricing": null,
"active": true,
"visibleToEveryone": false,
"permissionSystemIds": [
"CAD_cpq_mr",
"Nimbus_cpq_co",
"V3version_cpq",
"CallidusCloud_cpq",
"Acme_cpq_ut",
"Brazil_1_cpq"
],
"permissionStartDate": null,
"permissionEndDate": null,
"endStatus": "None",
"replacementProductSystemId": "",
"replacementProductName": "",
"productVersion": "",
"externalId": "",
"upc": "",
"mpn": "",
"inventory": 0,
"leadTime": "",
"familyCode": "",
"weight": "",
"imageLarge": "",
"descriptionLong": "",
"executeRulesOnce": false,
"allowConfigurationImport": false,
"script": "",
"configurationTemplate": "",
"updateAsset": false,
"alwaysAllowRenewal": false,
"isSyncedFromBackOffice": false,
"orderItemType": "Sales",
"autoRenewalIndicator": "NotRelevantForAutoRenewal",
"descriptionBuilder": "",
"userCanEnterQuantity": "",
"generalItemCategoryGroup": "",
"hasUsagePricing": null,
"skipRelatedProductsLoading": false,
"shippings": [
{
"systemId": "Standard_Shipping_cpq",
"name": "Standard Shipping",
"expression": ""
},
{
"systemId": "Express_Shipping_cpq",
"name": "Express Shipping",
"expression": ""
},
{
"systemId": "UPS_cpq",
"name": "UPS",
"expression": ""
},
{
"systemId": "Fedex_cpq",
"name": "Fedex",
"expression": ""
},
{
"systemId": "ups_next_day_cpq",
"name": "ups next day",
"expression": ""
}
]
},
"attributes": [],
"advancedRules": [],
"simpleRules": [],
"productValidationMessages": [],
"localScripts": [],
"globalScripts": [],
"aliasAttributesInfo": null,
"layout": null,
"codeMatching": [],
"translations": {
"name": {
"Nederlands / Dutch": "Dutch_Name",
"Swedish - Sweden": "Swedish_Name"
},
"description": {
"Nederlands / Dutch": "Dutch_Description",
"Swedish - Sweden": "Swedish_Description"
},
"longDescription": {
"Nederlands / Dutch": "Dutch_LongDescription",
"Swedish - Sweden": "Swedish_LongDescription"
},
"descriptionBuilder": {},
"attributes": []
}
}
###
GET {{new_url}}/api/product/v1/Products/1056
Authorization: Bearer {{accessToken}}
Content-Type: application/json
###
PATCH {{new_url}}/api/product/v1/Products/891
Authorization: Bearer {{accessToken}}
Content-Type: application/json
{
"basicInfo": {
"unitOfMeasure": "PCE"
}
}
###
GET {{new_url}}/api/product/v1/Products?$filter=systemId eq 'Silver_cpq'
Authorization: Bearer {{accessToken}}
Content-Type: application/json
###
GET {{new_url}}/api/product/v1/Products
Authorization: Bearer {{accessToken}}
Content-Type: application/json
###
GET {{new_url}}/api/product/v1/Products/309?&$expand=All
Authorization: Bearer {{accessToken}}
Content-Type: application/json
###
GET {{new_url}}/api/product/v1/Products/309?&$expand=Attributes
Authorization: Bearer {{accessToken}}
Content-Type: application/json
###
DELETE {{new_url}}/api/product/v1/Products/<id>
Authorization: Bearer {{accessToken}}
Content-Type: application/json
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
4 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |