Skip to main content
Glama

Environments Subcontract Price Set

environments_subcontract_price_set
DestructiveIdempotent

Your number becomes the price this environment uses for this operation, from valid_from onwards. Prices you were holding open for the same operation are closed the same day rather than deleted, so quotes you have already sent keep the figure they were costed at.

This one replaces: afterwards there is a single open price for the operation. To put a second subcontractor's quote on file alongside the one you already hold, use POST /environments/{env_id}/rates, which adds a price and closes nothing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
env_idYes
valid_fromNoDay the price starts applying. Defaults to today. The price you replace is closed on the same day, so the two never overlap.
pricing_unitYesThe cost basis your price is quoted per: kg, m2 or part for any heat-treatment, coating or marking operation (the part's mass, surface area or one piece is what the rate multiplies), m for a weld (metres of deposited seam). Each shop states its own; the answer names the accepted bases and stores nothing otherwise.
order_fee_eurNoFee the shop charges on every order regardless of its value, in the environment's currency, on top of the work or the minimum. Spread over the lot. Zero for a shop that charges none.
unit_rate_eurYesWhat the subcontractor charges per pricing unit, in the environment's currency. Zero is allowed — a shop that charges a minimum and nothing per unit.
operation_kindYesThe operation this price is for — `heat_treatment:<kind>`, `coating:<kind>`, `marking:<kind>` or `weld`.
lot_minimum_eurNoMinimum order value, in the environment's currency: the shop invoices one order at max(its work, this). The difference is the small-lot surcharge, spread over the lot — it dominates small batches and is zero once the lot's own work is worth the minimum.
subcontractor_idNoWhich of your subcontractors this price is from. Optional — leave it out for a figure you carry without naming a shop.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources