Thinkific.Api.ProductPublishRequest (Thinkific API SDK v0.1.3)
API calls for all endpoints tagged ProductPublishRequest
.
Link to this section Summary
Functions
Approves Product Publish Request Approves the Product Publish Request identified by the provided id.
Denies Product Publish Request Denies the Product Publish Request identified by the provided id.
getProductPublishRequestByID Returns the Product Publish Request identified by the provided id.
getProductPublishRequests Returns a list of Product Publish Requests.
Link to this section Functions
approves_product_publish_request(connection, id, opts \\ [])
Specs
approves_product_publish_request(Tesla.Env.client(), float(), keyword()) :: {:ok, nil} | {:error, Tesla.Env.t()}
Approves Product Publish Request Approves the Product Publish Request identified by the provided id.
Parameters
- connection (Thinkific.Connection): Connection to server
- id (float()): ID of the Product Publish Request in the form of an integer.
- opts (KeywordList): [optional] Optional parameters
Returns
} on success {:error, info} on failure
denies_product_publish_request(connection, id, opts \\ [])
Specs
denies_product_publish_request(Tesla.Env.client(), float(), keyword()) :: {:ok, nil} | {:error, Tesla.Env.t()}
Denies Product Publish Request Denies the Product Publish Request identified by the provided id.
Parameters
- connection (Thinkific.Connection): Connection to server
- id (float()): ID of the Product Publish Request in the form of an integer.
- opts (KeywordList): [optional] Optional parameters
Returns
} on success {:error, info} on failure
get_product_publish_request_by_id(connection, id, opts \\ [])
Specs
get_product_publish_request_by_id(Tesla.Env.client(), float(), keyword()) :: {:ok, Thinkific.Model.ProductPublishRequest.t()} | {:error, Tesla.Env.t()}
getProductPublishRequestByID Returns the Product Publish Request identified by the provided id.
Parameters
- connection (Thinkific.Connection): Connection to server
- id (float()): ID of the Product Publish Request in the form of an integer.
- opts (KeywordList): [optional] Optional parameters
Returns
} on success {:error, info} on failure
get_product_publish_requests(connection, opts \\ [])
Specs
get_product_publish_requests(Tesla.Env.client(), keyword()) :: {:ok, Thinkific.Model.GetProductPublishResponse.t()} | {:error, Tesla.Env.t()}
getProductPublishRequests Returns a list of Product Publish Requests.
Parameters
- connection (Thinkific.Connection): Connection to server
- opts (KeywordList): [optional] Optional parameters
- :page (float()): The page within the collection to fetch
- :limit (float()): The number of items to be returned
Returns
} on success {:error, info} on failure