CreatePriceInquiryCommandRequestInput
Creates a price inquiry for one supplier with its lines in one call. The number is drawn from the number range of price inquiries; currency and language are the supplier’s; the billing address is the company’s and the delivery address the warehouse’s. A price inquiry raises no workflow events. Available in GraphQL only. Errors arrive as GraphQL errors with the code in ‘extensions.code’; a refusal because of the current state also lists every reason in ‘extensions.blockers’. Codes: PRICE_INQUIRY_LINE_ITEMS_REQUIRED, WAREHOUSE_REQUIRED (neither a warehouse nor a default warehouse of the supplier) or another invalid request, for example a quantity below 0, a tax rate outside 0 to 100 or a text with control characters; SUPPLIER_NOT_FOUND, COMPANY_NOT_FOUND, WAREHOUSE_NOT_FOUND or SUPPLIER_CONTACT_NOT_FOUND (a referenced record was not found) or ITEM_NOT_FOUND; SUPPLIER_INACTIVE (the supplier is not active); SUPPLIER_CURRENCY_NOT_RESOLVABLE or SUPPLIER_LANGUAGE_NOT_RESOLVABLE (the supplier’s currency or language is missing in the ERP); WAREHOUSE_NOT_USABLE (the warehouse is inactive or a drop shipping target); ITEM_INACTIVE, ITEM_IS_VARIATION_PARENT, ITEM_IS_BILL_OF_MATERIALS or ITEM_NOT_ASSIGNED_TO_SUPPLIER (an item cannot be asked for at this supplier as it is). - Request
CreatePriceInquiryCommandRequestInputFields
A temporary identifier chosen by the client, for example to match the answer to an optimistic update. It is not stored and is returned unchanged.
The ID of the supplier, an active one.
The ID of the company that asks; its address becomes the billing address. When omitted, the supplier's default company is used, else the first company.
The ID of the supplier's contact person to address the price inquiry to. When omitted, the supplier's address is used without a person.
The ID of the warehouse the goods would be delivered to, an active one that is no drop shipping target. When omitted, the supplier's default warehouse is used; one of the two is required.
When the goods are requested. When omitted: today plus the supplier's delivery time, or plus 14 days when the supplier has none.
A free reference.
A comment for internal use. It is not printed.
A note printed on the price inquiry.
The lines, at least one, in their order. Each is exactly one variant.
Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.
Was this page helpful?