Infusionsoft.Endpoints.XML.Product (Infusionsoft v0.7.0) View Source

Provides the raw endpoints to Infusionsoft's XML API for Product.

Link to this section Summary

Link to this section Functions

Link to this function

deactivate_a_credit_card(card_id, token, app \\ nil)

View Source

Specs

deactivate_a_credit_card(integer(), String.t(), nil | String.t()) ::
  {:ok, boolean()} | {:error, any()}

https://developer.infusionsoft.com/docs/xml-rpc/#product-deactivate-a-credit-card

Link to this function

decrease_product_inventory(product_id, quantity, token, app \\ nil)

View Source

Specs

decrease_product_inventory(integer(), integer(), String.t(), nil | String.t()) ::
  {:ok, boolean()} | {:error, any()}

https://developer.infusionsoft.com/docs/xml-rpc/#product-decrease-a-product-s-available-inventory

Link to this function

decrement_inventory(product_id, token, app \\ nil)

View Source

Specs

decrement_inventory(integer(), String.t(), nil | String.t()) ::
  {:ok, boolean()} | {:error, any()}

https://developer.infusionsoft.com/docs/xml-rpc/#product-decrement-available-product-inventory

Link to this function

increase_inventory(product_id, quantity, token, app \\ nil)

View Source

Specs

increase_inventory(integer(), integer(), String.t(), nil | String.t()) ::
  {:ok, boolean()} | {:error, any()}

https://developer.infusionsoft.com/docs/xml-rpc/#product-increase-a-product-s-available-inventory

Link to this function

increment_inventory(product_id, token, app \\ nil)

View Source

Specs

increment_inventory(integer(), String.t(), nil | String.t()) ::
  {:ok, boolean()} | {:error, any()}

https://developer.infusionsoft.com/docs/xml-rpc/#product-increment-available-product-inventory

Link to this function

retrieve_inventory(product_id, token, app \\ nil)

View Source

Specs

retrieve_inventory(integer(), String.t(), nil | String.t()) ::
  {:ok, integer()} | {:error, any()}

https://developer.infusionsoft.com/docs/xml-rpc/#product-retrieve-available-product-inventory