shopify v0.4.0 Shopify.Shop

Link to this section Summary

Functions

Requests details for the shop relevant to the session

Link to this section Functions

Link to this function 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{}}