Shipping methods

Shipping methods queries  are used for getting information about available shipping methods.

In the examples there are // comments serving as an additional information to specific part of the code. Remove them before sending a query. Otherwise, it will throw an error.

Queries

Find available shipping methods

query findShippingMethods($input: FindShippingMethodsQueryInput!){
  findShippingMethods(input: $input) {
    shippingMethods {
      id
      name
      description
      image
      price
    }
  } 
}

with variables:

{
  "input": {
    "token": "__YOUR_STORE_TOKEN_HERE__",
    "onlyEnabled": true
  }
}

 

Create E-commerce in 5 minutes

Try it. It is for free.