OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Complete API → Validate Customer Token

AI-generated

Summary

Validate a customer token via the OnPrintShop Complete API, confirming if it is valid and returning the validation result and status.

Inputs

  • Safe Mode — Whether to block mutations when using the Complete API (default false).
  • Input Mode — Choose between providing token parameters via individual fields or as a JSON object; defaults to 'Fields' mode.
  • Token — The customer token string to validate (used when Input Mode is 'Fields').
  • Arguments JSON — JSON object containing the arguments for the validation when Input Mode is 'JSON'.
  • Return Fields Mode — Select whether to return all fields or custom-select specific fields ('Result' and/or 'Status').
  • Return Fields — Specify individual fields ('Result' and/or 'Status') to return when using custom selection mode.

Output shape

a response object containing validation details about the customer token

The output includes a 'result' indicating validation success or failure and a 'status' field. The returned fields depend on the Return Fields Mode selection. Errors in token validation or API communication are emitted as node execution errors.

Links

Discussion