OnPrintShop Customers icon

OnPrintShop Customers

Read, create, and update OnPrintShop customers and customer addresses

Complete API → Set Customer Address Detail

AI-generated

Summary

Set customer address details in OnPrintShop using the Complete API mutation. Provide the required input object as fields or JSON, and choose which response fields to return.

Inputs

  • Safe Mode — When enabled, blocks mutations in Complete API. Defaults to false.
  • Input Mode — Choose Fields to build the input in the node or JSON Object to enter the API arguments as JSON.
  • Input (required) — CustomerAddressInput object. Available fields include address book ID, address type, verification status, city, company and contact details, country, default-address and blind-shipping flags, delete, extra field, phone, postal code, state, street address, suburb, quote-address status, and user ID. The listed fields are optional.
  • Arguments JSON — JSON arguments for the API call, shown when JSON Object input mode is selected.
  • Partial Response — Choose to fail on errors or return partial data; partial results may contain failures that should be reconciled before further writes.
  • Return Fields Mode — Return all available fields or select a custom subset.
  • Return Fields — In Custom Selection mode, choose ID, Message, and/or Result.

Output shape

A single API response record containing the selected return fields.

The available fields are ID, Message, and Result. In All Fields mode, the operation returns all available fields; the exact response values depend on the API result.

Examples

Example 1: Update a customer's address details

Set Input Mode to Fields and provide the applicable values in the required Input object, such as user ID and street address. Keep Safe Mode off to allow the mutation.

Links

Discussion