Fluent Commerce Logo
Docs

Activate Sourcing Profile

Essential knowledgeCore knowledge to understand Fluent Commerce

Intended Audience:

Technical User

Author:

Kirill Gaiduk

Changed on:

2 Oct 2025

Overview

The `activateSourcingProfile` mutation activates a specific version of a Sourcing Profile. When called, it performs the following actions:
  • Sets the specified version status to `ACTIVE`
  • Updates the previously `ACTIVE` version to `INACTIVE`

Key points

  • Prerequisites: User should have `SOURCINGPROFILE_UPDATE` and `SOURCINGPROFILE_VIEW` permissions
  • Version Control: Activating a new version automatically deactivates the previously `ACTIVE` version, ensuring that only one Sourcing Profile version remains active at any time

Inputs

The Input fields for activating a Sourcing Profile are defined with the `ActivateSourcingProfileInput`:
FieldTypeDescription
`ref``String!`Reference of the Sourcing Profile to activate
`version``Int!`Version number of the Sourcing Profile to activate

Access Validation

Sample Payload