createWave

This mutation creates a Wave, an orchestratable entity inside the Fluent ecosystem. If the Wave is successfully created, a CREATE event will be generate associated with the mutation.
A sample of the event generated:
{
    "name": "CREATE",
    "type": "NORMAL",
    "entityRef": "WAVE-001",
    "entityType": "WAVE",
    "retailerId": "1",
    "accountId": "ACCOUNT_ID"
}

Input fields

input (CreateWaveInput)

Return fields

id (ID!)

ID of the Wave

createdOn (DateTime)

Time of creation

updatedOn (DateTime)

Time of last update

type (String!)

Type of the Wave, typically used by the Orchestration Engine to determine the workflow that should be applied. Unless stated otherwise, no values are enforced by the platform.

status (String)

The current status of the Wave.
By default, the initial value will be CREATED, however no other status values are enforced by the platform.
The status field is also used within ruleset selection during orchestration. For more info, see Orchestration

workflowRef (String!)

The reference used for workflow identification. This is defined by a combination of the entity name and the type, in the format [EntityName]::[Type]. For example, an Order of type CC will have the workflowRef "ORDER::CC".

workflowVersion (Int!)

The version of the workflow assigned to the entity and used for workflow identification. It comprises a major version and minor version number.

ref (String!)

External reference of the Wave. Must be unique.

attributes ([Attribute])

A list of attributes associated with this Wave. Attributes can be used to extend the existing data structure with additional data for use in orchestration rules, etc.

name (String)

Name of the Wave

retailer (Retailer!)

The associated retailer

location (Location!)

Location of the Wave operation

allocatedTo (User)

User who the wave is assigned to

processingLocation (LocationLink)

The Location where the Wave is processed