GraphQL Schema Updates

Authenticated B2B company users can now retrieve their company’s addresses through the Storefront GraphQL API, with pagination, filtering, and sorting.

Storefront GraphQL

  • Company addresses: new addresses connection field on the CompanyQueries type returns a paginated list of the authenticated user’s company addresses, with pagination arguments, CompanyAddressFiltersInput filtering (default shipping/billing, shipping/billing eligibility, and text search), and CompanyAddressSortInput sorting.
    • Connection types: CompanyAddressConnection and CompanyAddressEdge.
    • Address type: CompanyAddress exposes contact name, street address, city, state or province, country, postal code, phone, default shipping and billing flags, and merchant-defined extraFields.
    • Sorting: CompanyAddressSortInput, backed by the CompanyAddressSortField (CREATED_AT) and CompanyAddressSortDirection (ASC, DESC) enums.

For schema details, browse the Storefront GraphQL API reference.


Cross-platform webhooks tutorial

Thanks to user feedback, the webhooks tutorial no longer assumes a single operating system and now reads correctly on macOS, Windows, and Linux.

  • Platform-neutral setup — replaced macOS-specific commands with cross-platform equivalents and pointed ngrok installation at the official downloads page, with package-manager shortcuts for macOS and Windows.
  • Clearer start steps — the tutorial now starts the Node.js app before ngrok and exposes the correct port.
  • OS-agnostic troubleshooting — the “ngrok not found” guidance now covers PATH setup on both Unix-like systems and Windows.

For details, see the webhooks tutorial.