Skip to main content
POST
Set Proposal Item Supplier
Assigns a supplier to a proposal item and pulls that supplier’s cost onto it. The supplier must be one returned by list item suppliers for this item; anything else returns 404.
The change always covers every item in the proposal that comes from the same source item and shares its item type. It cannot be narrowed to the item named in the path.
Each item that moves to the new supplier takes that supplier’s catalog cost, replacing any cost entered on it, and ends up with no cost at all where the supplier has none for that item. Items already using this supplier are left alone — they keep the cost they carry, hand-entered or not, and are still listed in the response. If the company is not yet linked to the supplier, the call links it. The response lists every matched item, including ones already using this supplier, and carries the supplier as a display name only. To confirm which supplier id is now in use, re-read list item suppliers and look for isDefault: true. SetDefault also makes this the company’s default supplier for the catalog item, and updates the company’s draft proposals and draft orders that carry the item without a cost of their own.

Authorizations

X-MSS-API-APPID
string
header
required

Portal application identifier used as part of HMAC-authenticated API requests.

X-MSS-API-USERKEY
string
header
required

Portal user API key used together with the HMAC signature headers.

X-MSS-CUSTOM-DATE
string
header
required

Timestamp header included in the signed request to prevent replay attacks.

X-MSS-SIGNATURE
string
header
required

HMAC-SHA256 signature for the request, calculated over the canonical string defined in the authentication docs.

Headers

Accept
enum<string>
required

Accept Header

Available options:
application/json

Path Parameters

ProposalId
integer<int32>
required

Unique ID of the proposal (not the proposal number).

ProposalItemId
integer<int32>
required

Unique ID of the proposal item to set the supplier on. Must belong to the proposal.

SupplierId
integer<int32>
required

Unique ID of the supplier to assign. Must be a supplier available for the item's catalog item (see the suppliers list endpoint).

Body

application/json

Proposals Service

setDefault
boolean

(Optional) When true, also save this supplier as the company's default for the catalog item, so later proposals start with it. The company's draft proposals and draft orders that carry the item without a cost of their own are updated as well. Defaults to false.

Response

Success

id
integer<int32>
required

Unique numeric identifier of the proposal item

referencedItemId
integer<int32>
required

Identifier of the catalog, labor, custom, or fee item this proposal item was created from

createdDate
string<date-time>
required

UTC timestamp when the proposal item was created

quantity
number<double>
required

Quantity of the proposal item

parentId
integer<int32>

Identifier of the parent item when this item is nested under another item

itemType
enum<string>
Available options:
Part,
Labor,
CustomItem,
Fee
lastModifiedDate
string<date-time>

UTC timestamp when the proposal item was last modified

brand
string

Brand name of the item

model
string

Model value of the item

name
string

Name of a Labor item

shortDescription
string

Short description shown for the proposal item

clientNote
string

Client-facing note for the proposal item

imageUrl
string

Image URL of the item

msrp
number<double>

MSRP amount of the item

sellPrice
number<double>

Sell price for the proposal item

cost
number<double>

Supplier cost for the proposal item

costUpdateDate
string<date-time>

UTC timestamp when the supplier cost was last updated

supplier
string

Display name of the supplier assigned to the item.

total
PublicItemTotalModel · object

Total amount for a proposal item

isTaxExempt
boolean

Whether the proposal item is tax exempt

isRecurringService
boolean

Whether the proposal item is a recurring service

linkedOrders
PublicLinkedOrderModel · object[]

Linked orders created from this proposal item