With pre-builds, is it possible to set the sell price or sell price % markup?
I have tried to update 'TotalEx' on a standard price pre-build, the call succeeds and yet the price doesn't change. I have also tried this after un-checking 'Based on Defaults' in the UI and saving.
Setting pre-build markup
Forum rules
- Check the documentation first. Before posting questions, please check the documentation to ensure it doesn't already cover what you need.
- No spam. All automated messages, advertisements, and links to competitor websites will be deleted immediately.
- Post in relevant sub-forums only. Messages posted in the wrong topic area will be removed and placed in the correct sub-forum by moderators.
- Respect other users. No flaming or abusing fellow forum members. Users who continue to post inflammatory, abusive comments will be deleted from the forum after two warnings are issued by moderators.
- Harassment. No threats or harassment of other users will be tolerated. Any instance of threatening or harassing behavior is grounds for deletion from the forums.
- Adult content. No profanity or pornography is allowed. Posts containing adult material will be deleted.
- Bandwidth. All images and signatures must be 500 x 500 pixels or smaller. Posts containing over-sized images and signatures will be removed.
- Illegal content. No re-posting of copyrighted materials or other illegal content is allowed. Any posts containing illegal content or copyrighted materials will be deleted.
Re: Setting pre-build markup
Unfortunately, for now only Total amount can be updated for a pre-build item.
Muqeet
API Developer | simPRO Software Group
API Developer | simPRO Software Group
-
Mark.Travis
- Posts: 3
- Joined: Wed Jan 27, 2021 12:14 pm
Re: Setting pre-build markup
Hi Muqeet,
My request is
and I am getting a response with a status of 204(Not content).
Any help would be appreciated.
Thanks in advance
Mark
I am trying to update TotalEx for a prebuild. Is this what you meant?
My request is
Code: Select all
PATCH {{SimPRO:Api:Uri}}/api/v1.0/companies/2/prebuilds/setPrice/{{preBuildId}}
Authorization: Bearer {{bearerToken}}
Content-Type: application/json
Accept: application/json
{
"TotalEx": 25.25
}
Any help would be appreciated.
Thanks in advance
Mark
Re: Setting pre-build markup
204 means your request was successfully fulfilled. You could send a GET request to confirm the new TotalEx price after that.
Muqeet
API Developer | simPRO Software Group
API Developer | simPRO Software Group
-
Mark.Travis
- Posts: 3
- Joined: Wed Jan 27, 2021 12:14 pm
Re: Setting pre-build markup
Hi Muqeet,
I feel silly. I missed that in the API documentation.
Thanks for responding as if it was a legitimate question.
Regards
Mark
I feel silly. I missed that in the API documentation.
Thanks for responding as if it was a legitimate question.
Regards
Mark
DEVELOPER CENTER