OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Complete API → Set Store Markup

AI-generated

Summary

Create or update an OnPrintShop store markup by sending a StoreMarkupInput object to the Complete API mutation. Choose Fields mode to enter supported fields or JSON Object mode to provide the input directly; Safe Mode blocks this mutation.

Inputs

  • Input Mode (required) — Choose Fields or JSON Object for how to supply the required input.
  • Input (required) — In Fields mode, build the StoreMarkupInput using optional fields: appliedon, corporate_id, corporate_markup_id, delete, markup_by, markup_details, markup_title, markup_type, and status. markup_details accepts a JSON object, array, or expression matching the API payload.
  • Arguments JSON (required) — In JSON Object mode, provide the StoreMarkupInput object directly.
  • Safe Mode — When enabled, blocks mutations in Complete API operations.
  • Partial Response — Select whether to fail on errors or return partial data. The source does not show special partial-result handling for this mutation.
  • Return Fields Mode — Choose all response fields or a custom selection.
  • Return Fields — In Custom Selection mode, choose from ID, Message, and Result.

Output shape

A single mutation result object, wrapped as an n8n item.

The result contains the selected fields from the API response: result, message, and id by default, or the chosen subset in Custom Selection mode. API or GraphQL errors fail the operation unless the workflow is configured to continue on fail.

Examples

Example 1: Create or update a store markup

Select Fields or JSON Object, then supply the StoreMarkupInput fields needed for the change, such as corporate_markup_id, markup_title, markup_details, status, and appliedon.

Links

Discussion