shopify v0.1.3 Shopify.Shop

Summary

Functions

Requests details for the shop relevant to the session

Functions

current(session)

Requests details for the shop relevant to the session.

Returns {:ok, shop} or {:error, %Shopify.Error{}}

Parameters

  • session: A %Shopify.Session{} struct.

Examples

iex> Shopify.session |> Shopify.Shop.current
{:ok, %Shopify.Shop{}}