2

我也是 GraphQL 和 Shopify 的新手。我的要求是使用 shopify iOS SDK 跟踪订单状态,但我找不到任何跟踪订单状态的解决方案。

我可以使用此查询获取用户的订单列表

{
  customer(customerAccessToken: token) {
    orders(first: 20) {
      edges {
        node {
          id
          orderNumber
          totalPrice
          currencyCode
          customerLocale
          customerUrl
          email
          phone
          processedAt
          subtotalPrice
          totalRefunded
          totalShippingPrice
          totalTax
          shippingAddress {
            address1
            address2
            city
            company
            country
            countryCode
            firstName
            formatted
            formattedArea
            lastName
            latitude
            longitude
            name
            phone
            province
            provinceCode
            zip
          }
        }
      }
    }
  }
}

我一直在做很多研发,但没有找到任何跟踪订单状态的解决方案。

谁能帮我??

4

0 回答 0