OnPrintShop Store Admin icon

OnPrintShop Store Admin

Maintain OnPrintShop store, address, department, country, FAQ, markup, and payment-term reference data

Complete API → Set Store Address

AI-generated

Summary

Set or update the store address in the OnPrintShop Complete API by providing detailed address fields or a JSON object. Supports blocking mutations via safe mode and customizing the response fields returned.

Inputs

  • Safe Mode — Whether to block mutations in the Complete API, preventing changes when enabled.
  • Input Mode (required) — Choose input type: either individual fields or a JSON object representing the store address.
  • Input (required) — When using 'Fields' input mode, provide one or more store address details such as city, country, postcode, phone number, office name, and other optional address-related fields.
  • Arguments JSON (required) — When using 'JSON Object' input mode, provide the entire store address as a JSON object.
  • Partial Response — Specify whether the operation should fail on any error or return partial data if some entries fail.
  • Return Fields Mode — Select whether to return all response fields or a custom selection.
  • Return Fields — When using custom return fields mode, select which response fields to include such as ID, Message, and Result.

Output shape

a single record

The operation returns the updated store address data or operation results as a record. The returned fields depend on the selected return mode and fields. Partial responses may include failures if allowed by settings.

Examples

Example 1: Update store address using fields

Set city, postcode, phone number, and company name fields to update the store address.

Example 2: Update store address using JSON input

Provide the full store address as JSON to be set in the store administration.

Links

Discussion