Request
POST /public/proposals/{ProposalId}/location/{LocationId}
Headers
Must be
application/json.Must be
application/x-www-form-urlencoded.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.
Response
200 Success
Returns the full updated proposal detail after the location has been assigned and taxes have been recalculated.Unique identifier of the proposal.
ISO 8601 timestamp of when the proposal was created.
ISO 8601 timestamp of the most recent modification.
Updated financial totals including recalculated sales tax.
Sales tax details recalculated based on the assigned location.
Subtotal before tax.
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. |