createSourcingProfile

Creates a SourcingProfile for a retailer.
If the provided ref is unique, it creates the first version with ACTIVE status.
If a SourcingProfile with the same ref already exists, it creates a new version with DRAFT status.

Input fields

input (CreateSourcingProfileInput)

Return fields

id (ID!)

ID of the object. For internal use, should not be used externally or by any business logic

createdOn (DateTime)

Profile created on date

updatedOn (DateTime)

Profile updated on date

ref (String!)

Unique reference of the sourcing profile

version (Int)

Version of the sourcing profile

versionComment (String)

Comment for this profile version

name (String)

Human-readable name of the profile

description (String)

Human-readable description of the profile

status (String)

Status of the profile (ACTIVE/INACTIVE/etc.)

user (User)

User that last updated the profile

retailer (Retailer)

Retailer that owns the sourcing profile

defaultVirtualCatalogue (VirtualCatalogue)

Virtual catalog used by default

defaultNetwork (Network)

Network used by default

defaultMaxSplit (Int)

Maximum number of split operations allowed by default

sourcingStrategies ([SourcingStrategy])

List of strategies of the sourcing profile

sourcingFallbackStrategies ([SourcingFallbackStrategy])

List of fallback strategies of the sourcing profile