A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
(Solved - see reply)
Hello I would like to the list of all products in delivery Profiles. the following GraphQL works. I would like to get the names of the delivery profiles also returned ,but unsure of how to do that.
Thanks
query {
deliveryProfiles (first: 5) {
edges {
node {
profileItems (first: 10) {
edges {
node {
product {
id
handle
}
variants (first: 10) {
edges {
node {
id
title
sku
}
}
}
}
}
}
}
}
}
}
Solved! Go to the solution
This is an accepted solution.
Solved 😛
query {
deliveryProfiles (first: 2) {
edges {
node {
name
profileItems (first: 😎 {
edges {
node {
product {
id
handle
}
}
}
}
profileLocationGroups {
locationGroupZones(first: 2) {
edges {
node {
methodDefinitions(first: 2) {
edges {
node {
rateProvider {
... on DeliveryRateDefinition {
id
price {
amount
}
}
... on DeliveryParticipant {
id
fixedFee {
amount
currencyCode
}
percentageOfRateFee
participantServices {
active
name
}
}
}
}
}
}
}
}
}
}
}
}
}
}
This is an accepted solution.
Solved 😛
query {
deliveryProfiles (first: 2) {
edges {
node {
name
profileItems (first: 😎 {
edges {
node {
product {
id
handle
}
}
}
}
profileLocationGroups {
locationGroupZones(first: 2) {
edges {
node {
methodDefinitions(first: 2) {
edges {
node {
rateProvider {
... on DeliveryRateDefinition {
id
price {
amount
}
}
... on DeliveryParticipant {
id
fixedFee {
amount
currencyCode
}
percentageOfRateFee
participantServices {
active
name
}
}
}
}
}
}
}
}
}
}
}
}
}
}