Use this endpoint to assign a specific location to a proposal that already has a contact assigned. The location must belong to the proposal’s currently assigned contact and to the same account. Once a location is set, the API recalculates all applicable taxes for the proposal and returns the complete updated proposal object.Documentation Index
Fetch the complete documentation index at: https://docs.portal.io/llms.txt
Use this file to discover all available pages before exploring further.
Request
POST /public/proposals/{ProposalId}/location/{LocationId}
Headers
Must be
application/json.Must be
application/json.Your API Application Key.
Your User API Key.
Current UTC timestamp in RFC 7231 format.
HMAC-SHA256 signature, Base64-encoded.
Path Parameters
The unique ID of the proposal to update. Must belong to the current account.
The unique ID of the location to assign. Must belong to the proposal’s assigned contact.
Body Parameters
Must match the
ProposalId path parameter. ID of the proposal to update.Must match the
LocationId path parameter. ID of the location to assign to the proposal’s existing contact.Response
200 Success
Returns the full updated proposal detail after the location has been assigned and taxes have been recalculated. See Get Proposal for the complete field reference. Key fields:Unique identifier of the proposal.
Proposal number unique within the dealer account.
Display name of the proposal.
Current proposal status.
ISO 8601 timestamp of when the proposal was created.
ISO 8601 timestamp of the most recent modification.
ISO 8601 timestamp when the proposal was last modified by a human user.
Updated financial totals including recalculated sales tax. See Get Proposal for field details.
Dealer account details.
Details of the user who last modified the proposal.
Error Codes
| Code | Meaning |
|---|---|
| 401 | Not authorized. Invalid or missing HMAC authentication headers. |
| 402 | Active subscription required. |
| 403 | You do not have permission for this action. |
| 404 | Proposal or location not found. |
| 409 | The proposal has no contact assigned; a location cannot be set. |