ExShopify v0.2.0 ExShopify.FulfillmentService

A third party warehouse that prepares and ships orders on behalf of the store owner.

Summary

Functions

Create a new fulfillment service

Delete a fulfillment service

Receive a single fulfillment service

Receive a list of fulfillment services

Modify an existing fulfillment service

Types

fulfillment_service_plural()
fulfillment_service_plural() :: {:ok, [%ExShopify.FulfillmentService{callback_url: term, format: term, handle: term, inventory_management: term, name: term, provider_id: term, requires_shipping_method: term, tracking_support: term}], %ExShopify.Meta{api_call_limit: term}}
fulfillment_service_singular()
fulfillment_service_singular() :: {:ok, %ExShopify.FulfillmentService{callback_url: term, format: term, handle: term, inventory_management: term, name: term, provider_id: term, requires_shipping_method: term, tracking_support: term}, %ExShopify.Meta{api_call_limit: term}}

Functions

create(session, params)
create(%ExShopify.Session{access_token: term, api_key: term, domain: term, port: term, protocol: term, secret: term, shop_name: term, shop_url: term}, map) ::
  fulfillment_service_singular |
  ExShopify.Resource.error

Create a new fulfillment service.

Examples

iex> ExShopify.FulfillmentService.create(session)
{:ok, fulfillment_service, meta}
delete(session, id)
delete(%ExShopify.Session{access_token: term, api_key: term, domain: term, port: term, protocol: term, secret: term, shop_name: term, shop_url: term}, integer | String.t) ::
  ExShopify.Resource.meta_only |
  ExShopify.Resource.error

Delete a fulfillment service.

Examples

iex> ExShopify.FulfillmentService.delete(session, 755357713)
{:ok, meta}
find(session, id)
find(%ExShopify.Session{access_token: term, api_key: term, domain: term, port: term, protocol: term, secret: term, shop_name: term, shop_url: term}, integer | String.t) ::
  fulfillment_service_singular |
  ExShopify.Resource.error

Receive a single fulfillment service.

Examples

iex> ExShopify.FulfillmentService.find(session, 755357713)
{:ok, fulfillment_service, meta}
list(session)
list(%ExShopify.Session{access_token: term, api_key: term, domain: term, port: term, protocol: term, secret: term, shop_name: term, shop_url: term}) ::
  fulfillment_service_plural |
  ExShopify.Resource.error
list(session, params)
list(%ExShopify.Session{access_token: term, api_key: term, domain: term, port: term, protocol: term, secret: term, shop_name: term, shop_url: term}, map) ::
  fulfillment_service_plural |
  ExShopify.Resource.error

Receive a list of fulfillment services.

Examples

iex> ExShopify.FulfillmentService.list(session)
{:ok, fulfillments, meta}
update(session, id, params)
update(%ExShopify.Session{access_token: term, api_key: term, domain: term, port: term, protocol: term, secret: term, shop_name: term, shop_url: term}, integer | String.t, map) ::
  fulfillment_service_singular |
  ExShopify.Resource.error

Modify an existing fulfillment service.

Examples

iex> params = %{inventory_management: false}

iex> ExShopify.FulfillmentService.update(session, params)
{:ok, fulfillment_service, meta}