OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Complete API → Set Store Location

AI-generated

Summary

Set one or more OnPrintShop store locations through the Complete API mutation. Provide the required inputs as repeated fields or a JSON array, then choose how to handle partial results and which response fields to return.

Inputs

  • Safe Mode — Defaults to false. The Complete API safety setting blocks mutations when enabled, so leave it disabled to perform this write.
  • Input Mode — Choose Fields to build inputs with the form, or JSON Object to supply the mutation arguments directly.
  • Inputs (required) — Required list of store location input objects. In Fields mode, add one or more items and set optional fields such as store_location_id, location_name, location_id_code, address and contact details, payment or shipping IDs, status, sort_order, and delete. admin_extra_fields accepts a JSON value. In JSON Object mode, provide the mutation arguments as JSON; the API expects inputs to be an array of input objects.
  • Partial Response — Choose Fail on Errors (default) or Return Partial Data. Partial results may include failed rows; reconcile each row before making further writes.
  • Return Fields Mode — Return All Fields by default, or choose Custom Selection.
  • Return Fields — When Custom Selection is enabled, select any of id, index, message, and result.

Output shape

One item containing the mutation response object, with selected fields such as result, message, and ID; batch responses can include per-input result data.

The response is shaped by the Complete API return-field selection. If Return Partial Data is selected, the response may include failures alongside successful rows.

Links

Discussion