OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Mutation → Set Quote

AI-generated

Summary

Create a quote for a user or update an existing quote by supplying its ID. The operation sends a SetQuote GraphQL mutation to OnPrintShop and returns the mutation result.

Inputs

  • User ID (required) — OnPrintShop user ID associated with the quote.
  • Quote ID — Quote to update; use 0 or leave at its default to create a new quote.
  • Quote Title (required) — Title for the quote.
  • Shipping Type — Optional shipping type string, such as fedexground.
  • Input (JSON) (required) — A SetQuoteInput JSON object. The UI default is { "productsArr": [] }; include the quote product data in productsArr as needed.
  • Admin Extra Fields — Optional repeatable field key/value pairs sent as admin_extra_fields when at least one row is provided.
  • Safe Mode — The UI describes this as blocking mutations in the Complete API; for legacy actions, it retains reduced-response behavior. The source pack does not show this operation checking Safe Mode.

Output shape

A single n8n output containing the SetQuote mutation result object.

The result includes result, message, and id. GraphQL errors are raised as node errors; with Continue On Fail enabled, an error object is returned for the affected input item.

Links

Discussion