OnPrintShop icon

OnPrintShop

Interact with OnPrintShop API

Actions218

Order Detail → Get Many

AI-generated

Summary

Retrieve expanded order product detail records from OnPrintShop, optionally filtering by order, product, customer, store, dates, status, or order type. Select which product fields to return and optionally fetch successive pages for larger syncs or audits.

Inputs

  • Safe Mode — Boolean toggle, default false. For this operation, the implementation does not use it; it is not a retry or response-reduction control here.
  • Query Parameters — Optional filters: Customer ID, From Date, To Date, Order Product Status, Order Status, Order Type (All, Standard, or Quote), Orders ID, Orders Products ID, and Store ID. Dates are sent as YYYY-MM-DD. Page Size (default 250, maximum 250) and Page Delay (default 50 ms, minimum 25 ms) control Fetch All Pages. When fetching all pages, the implementation uses page size and delay, starting at offset 0; otherwise it uses optional limit and offset if supplied.
  • Fetch All Pages — Default false. When enabled, retrieves pages until a page is shorter than the page size, with a maximum of 100 pages. The implementation ignores limit and offset in this mode.
  • Product Fields Mode — Choose Custom Selection (default), All Fields, or No Fields for the product field group. All Fields selects every available field; No Fields sends none.
  • Product Fields — Used in Custom Selection mode; defaults to order product ID, product name, SKU, price, quantity, and status. Available fields also include product size details and title.

Output shape

A list of items, one per returned order product detail record.

Each item contains the selected product fields. With Fetch All Pages enabled, records are flattened across pages; the operation does not add pagination totals or metadata to each item. A response without the expected orders structure can produce an error item in single-page mode; GraphQL errors are raised as node errors.

Links

Discussion