OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Complete API → Store Credit Summary

AI-generated

Summary

Read OnPrintShop store credit transactions, optionally filtered by store, user, and transaction date range. Choose which response fields to return; Safe Mode is intended to block mutations and this operation is read-only.

Inputs

  • Safe Mode — Boolean toggle, default false. The operation-scoped notice describes this as a read that does not intentionally change records; the input also states that Safe Mode blocks Complete API mutations.
  • Input Mode — Choose Fields (default) to set parameters in the collection, or JSON Object to provide them in Arguments JSON.
  • Parameters — Optional API arguments: From Date (string), To Date (string), Limit (integer), Offset (integer), Storeid (integer), and User ID (integer). The node sends these as GraphQL variables; zero or empty values are included by the operation handler.
  • Arguments JSON — In JSON Object mode, provide the GraphQL arguments as a JSON object, such as {"storeid":123,"user_id":456,"limit":50,"offset":0,"from_date":"2026-01-01","to_date":"2026-01-31"}.
  • Return Fields Mode — Choose All Fields (default) or Custom Selection.
  • Return Fields — In Custom Selection mode, select response fields such as Remaining Credit, Total Store Credit Summary, Current Count, and transaction details including comments, customer name, order ID, transaction type, date, store, and user.

Output shape

A single result object containing the store credit summary response.

The result includes the summary entries, totalStoreCreditSummary, and remainingCredit; selected fields may limit the returned data. GraphQL errors are raised as node errors. The operation-scoped properties also offer currentCount, while the operation's source query does not request it, so it may not be present.

Links

Discussion