Menu
fulfilmentChoices
Search for FulfilmentChoice entities.
Use it in a workflow
- Add a step and choose the Fluent Commerce connector.
- Pick the fulfilmentChoices action (under Fulfilment).
- Fill in the fields below, then reference the result from later steps as
{{fulfilmentchoices.response.data}}.
Query
This is the query the action sends by default. Edit it in the step's Query field to change which fields come back.
query FulfilmentChoices($after: String, $before: String, $createdOn: DateRange, $currency: [String], $deliveryInstruction: [String], $deliveryType: [String!], $first: Int, $fulfilmentPrice: [Float], $fulfilmentTaxPrice: [Float], $fulfilmentType: [String], $last: Int, $pickupLocationRef: [String], $updatedOn: DateRange) {
fulfilmentChoices(
after: $after
before: $before
createdOn: $createdOn
currency: $currency
deliveryInstruction: $deliveryInstruction
deliveryType: $deliveryType
first: $first
fulfilmentPrice: $fulfilmentPrice
fulfilmentTaxPrice: $fulfilmentTaxPrice
fulfilmentType: $fulfilmentType
last: $last
pickupLocationRef: $pickupLocationRef
updatedOn: $updatedOn
) {
edges {
cursor
node {
createdOn
currency
deliveryAddress
deliveryInstruction
deliveryType
fulfilmentPrice
fulfilmentTaxPrice
fulfilmentType
id
pickupLocationRef
updatedOn
}
}
pageInfo {
hasNextPage
hasPreviousPage
}
}
}
Variables
Pass these as a JSON object in the step's Variables field.
{
"after": "string",
"before": "string",
"createdOn": {
"from": "string",
"to": "string"
},
"currency": [
"string"
],
"deliveryInstruction": [
"string"
],
"deliveryType": [
"string"
],
"first": 0,
"fulfilmentPrice": [
0
],
"fulfilmentTaxPrice": [
0
],
"fulfilmentType": [
"string"
],
"last": 0,
"pickupLocationRef": [
"string"
]
}
Response
Read the result with {{fulfilmentchoices.response.data.data.fulfilmentChoices}}. If the API returns errors, the step fails and they are at {{fulfilmentchoices.response.data.errors}}.
Need more? See the Fluent Commerce guide for connection setup and behaviour shared by every action.
Was this page helpful?