createFulfilmentOption

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

Input fields

input (CreateFulfilmentOptionInput)
executionMode (ExecutionMode)

Return fields

id (ID!)

ID of the object

createdOn (DateTime)

Time of creation

updatedOn (DateTime)

Time of last update

type (String!)

Type of the FulfilmentOption, 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 FulfilmentOption.
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. Recommended to be unique.

retailerId (Int!)

ID of the Retailer, typically used by the Orchestration Engine to determine the workflow that should be applied.

orderType (String)

Type of order. For example click & collect (CC) or home delivery (HD)

locationRef (String)

The reference identifier for a location. May be used in orchestration rules to drive custom business logic. For example, you can have a rule to return plans only from this location or a rule to return plans from all locations but excluding this one.

trackingCode (String)

A unique identifier for the clients to group related Fulfilment Plans.

address (FulfilmentOptionAddress)

A type for passing address. Can be used as an input in creating Fulfilment Plans.

products ([FulfilmentOptionProduct])

Products being queried for availability

attributes ([Attribute])

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