Exayard icon

Exayard

AI-powered construction takeoffs, estimates, and bids

Vendor Price → Set

AI-generated

Summary

Create or replace a vendor price for a specific product and vendor using the Exayard API.

Inputs

  • organizationId — Exayard organization ID (org_...). Leave blank to derive it from the API key.
  • productId (required) — Exayard product ID
  • vendorId (required) — Exayard vendor ID
  • pricePerUnit (required) — Vendor price per unit for this product
  • minOrderQuantity — Optional minimum order quantity
  • leadTimeDays — Optional lead time in days
  • notes — Optional notes about this price

Output shape

a single record

The operation returns the created or updated vendor price record.

Examples

Example 1: Set a standard price for a product

Set productId to 'prod_123', vendorId to 'vendor_456', and pricePerUnit to 15.99. Leave optional fields blank.

Example 2: Update a vendor price with lead time and minimum order

Set productId to 'prod_123', vendorId to 'vendor_456', pricePerUnit to 14.50, minOrderQuantity to 100, and leadTimeDays to 5.

Links

Discussion