createCarrier
This mutation creates a Carrier
, an orchestratable entity inside the Fluent ecosystem. If the Carrier
is successfully created, a CREATE event will be generate associated with the mutation.
A sample of the event generated:
{
"name": "CREATE",
"type": "NORMAL",
"entityRef": "CARRIER-001",
"entityType": "CARRIER",
"retailerId": "1",
"accountId": "ACCOUNT_ID"
}
Input fields
CreateCarrierInput
)
Return fields
ID!
)
ID of the object
DateTime
)
Time of creation
DateTime
)
Time of last update
String!
)
The reference identifier used to identify an entity
String!
)
Type of the Carrier
, typically used by the Orchestration Engine to determine the workflow that should be applied. Unless stated otherwise, no values are enforced by the platform.
The type field can be used to differentiate between Inventory Position workflows
String
)
The current status of the Carrier
.
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
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 reference used for workflow identification
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
[Attribute]
)
A list of attributes associated with this Carrier. This can be used to extend the existing data structure with additional data for use in orchestration rules, etc.
String!
)
The carrier name
Retailer
)
The retailer
[Manifest]
)
A list of manifests associated with this Carrier.