Fluent Commerce Logo
Docs

Search Sourcing Profiles

Essential knowledge

Intended Audience:

Technical User

Author:

Kirill Gaiduk

Changed on:

2 Oct 2025

Overview

The `sourcingProfiles` query retrieves existing Sourcing Profiles. It supports multiple filters and pagination.

Key points

  • Prerequisites: User should have `SOURCINGPROFILE_VIEW` permission
  • Flexible Filtering: Multiple filters are supported, including `ref`, `version`, `versionComment`, `name`, `description`, `status`, `defaultMaxSplit`, and date ranges (`createdOn`, `updatedOn`). This lets you target specific Profiles or narrow results down by lifecycle state and time window
  • Pagination Support: The query supports cursor-based pagination (`first`, `last`, `before`, `after`), making it efficient to handle large sets of Sourcing Profiles 

Inputs

The Input arguments for retrieving Sourcing Profiles (i.e., filters):
FieldTypeDescriptionNotes
`ref``[String!]`Reference of the Sourcing Profile
`version``[Int]`Version number of the Sourcing Profile
`versionComment``[String]`Comment for the Sourcing Profile version
`name``[String]`Human-readable name of the Sourcing Profile
`description``[String]`Human-readable description of the Sourcing Profile
`status``[String]`Status of the Sourcing ProfileFor example:
  • `ACTIVE`
  • `INACTIVE`
  • `DRAFT`
`createdOn``DateRange`Filter by creation dateSpecify range with `from` and `to`
`updatedOn``DateRange`Filter by last updated dateSpecify range with `from` and `to`
`defaultMaxSplit``[Int]`Limit of split operations used by default
`first``Int`Return the first n results
`last``Int`Return the last n results
`before``String`Return results before the specified global IDThis is a cursor (the value is used for pagination)
`after``String`Return results after the specified global IDThis is a cursor (the value is used for pagination)

Access Validation

Sample Payload