createFulfilmentChoice

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

Input fields

input (CreateFulfilmentChoiceInput)

Return fields

id (ID!)

ID of the object

createdOn (DateTime)

Time of creation.

updatedOn (DateTime)

Time of last update.

type (String!)

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

status (String)

The current status of the FulfilmentChoice.
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
The current status of the Fulfilment choice.
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".
The workflow's reference

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.
The version of the workflow

ref (String)

External reference of the object. Recommended to be unique.

currency (String)

The type of currency, 3 letter ISO currency code.

deliveryFirstName (String)

First Name of delivery recipient.

deliveryLastName (String)

Last Name of delivery recipient.

deliveryContact (String)

Mobile number of delivery recipient.

deliveryEmail (String)

Email address to which e-delivery is made.

deliverAfter (DateTime)

Time of delivery selected by the customer at the time of order creation, specifies Deliver On date/time the customer will receive the order (package).

deliverBefore (DateTime)

Time of delivery selected by the customer at the time of order creation, specifies Deliver Till date/time the customer will receive the order (package).

dispatchOn (DateTime)

Time that indicates date of dispatch

attributes ([Attribute])

List of Attribute containing meta data information for an entity.

deliveryInstruction (String)

Instruction provided by the customer (250 character limit).

deliveryType (String!)

The type of delivery determined by retailers' shipping options. Example values are STANDARD, EXPRESS, OVERNIGHT, 3HOURS

fulfilmentPrice (Float)

FulfilmentPrice refers to shipping and C&C fees.

fulfilmentTaxPrice (Float)

This refers to the tax cost associated with the fulfilment price.

fulfilmentType (String)

Indicates the type of fulfilment.

pickupLocationRef (String)

Pickup location. Required if it is a click & collect.

deliveryAddress (Address)

Delivery address. Required if it is a home delivery.