Page 1 of 1
Prebuild - Edit for quotes
Posted: Mon Oct 13, 2025 4:38 pm
by pranit
Hi all,
I’m creating a quote in simPRO by setting a cost centre and then adding prebuilds. I can add a prebuild via the API, but I also need to edit that prebuild within the quote: specifically, change its description, adjust pricing (untick Based on Build and Based on Defaults under Materials and Labour), and then update the material cost, sell price, and labour rate.
Could someone guide me on how to edit a prebuild item specifically for a quote using the simPRO API?
Thanks!
Re: Prebuild - Edit for quotes
Posted: Tue Oct 14, 2025 10:27 am
Patch to this endpoint
/api/v1.0/companies/{companyID}/quotes/{quoteID}/sections/{sectionID}/costCenters/{costCenterID}/prebuilds/{prebuildID}
Re: Prebuild - Edit for quotes
Posted: Tue Oct 14, 2025 3:08 pm
by pranit
Hi,
Thanks for the response. On the api documentation for
Code: Select all
PATCH /api/v1.0/companies/{companyID}/quotes/{quoteID}/sections/{sectionID}/costCenters/{costCenterID}/prebuilds/{prebuildID}
Code: Select all
{
"BillableItem": true,
"BillableStatus": "Billable",
"EstimatedTime": 0,
"FitTime": 0,
"BasePrice": 0,
"Markup": 0,
"SalesTaxCode": 0,
"DisplayOrder": 0,
"Discount": 0,
"SellPriceExDiscount": 0,
"SellPriceIncDiscount": 0,
"SellPrice": 0,
"Total": {
"Qty": 0
},
"IncomeAccount": 0
}
I don't see a Description field to edit the prebuild description and pricing section adjust to Pricing type, Material cost and Labour rates.
Re: Prebuild - Edit for quotes
Posted: Fri Oct 17, 2025 12:21 am
by SimproAPITeam
Hi Pranit,
Yes so currently Prebuild tied to a cost centre do not allow for editting of certain field
https://developer.simprogroup.com/apido ... c8e2497705
Mainly some of those that are editable on the original set-price prebuild
https://developer.simprogroup.com/apido ... d6c5875a3f
I'd recommend for now raising a new pre-build with the details you want then adding that to the cost centre.
Otherwise you are always welcome to raise this as a feature request via the methods outlined here:
https://helpguide.simprogroup.com/Conte ... portal.htm
Regards,