shopify_customer_account 0.1.0

Unofficial Rust client for the Shopify Customer Account API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/// Shopify Customer Account API client.
///
/// # Schema
///
/// The vendored GraphQL schema lives at `schemas/customer_account.graphql`.
/// Reference it in your `#[cynic::schema("customer_account")]` attribute to
/// derive strongly-typed query fragments.
///
/// # Authentication
///
/// The Customer Account API uses OAuth 2.0 with PKCE. This crate provides only
/// the GraphQL client — obtaining and refreshing tokens is the caller's
/// responsibility. Pass the access token directly to [`Client::run`].
mod client;
mod error;

pub use client::{Client, CustomerAccountConfig, OpenIdConfig};
pub use error::{Error, GraphqlError};