Fluent Commerce Logo
Docs

Get Sourcing Profile

Essential knowledgeCore knowledge to understand Fluent Commerce

Intended Audience:

Technical User

Author:

Kirill Gaiduk

Changed on:

2 Oct 2025

Overview

The `sourcingProfile` query retrieves a Sourcing Profile by its Reference:
  • If a version is provided, the query returns that specific version
  • If no version is provided, the query returns the latest available version

Key points

  • Prerequisites: User should have `SOURCINGPROFILE_VIEW` permission
  • Version Handling: If a version is provided, that exact version is returned. If no version is specified, the query automatically retrieves the latest available version, regardless of status
  • Status Filter: An optional `status` argument lets you filter results (e.g., `ACTIVE`, `INACTIVE`, `DRAFT`) so you can target Profiles in a specific lifecycle state

Inputs

The Input arguments for retrieving a single Sourcing Profile:
FieldTypeDescriptionNotes
`ref``String!`Reference of the Sourcing Profile
`version``Int`Version number of the Sourcing Profile
`status``String`Status filterFor example:
  • `ACTIVE`
  • `INACTIVE`
  • `DRAFT`

Access Validation

Sample Payload