Operations in the Fatture in Cloud Products resource.
Summary
Functions
Creates a new product.
Deletes the specified product.
Gets the specified product.
Lists the products.
Modifies the specified product.
Functions
@spec create_product( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), map() | nil, ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Creates a new product.
Sends POST /c/{company_id}/products (createProduct).
Pass the JSON body with the provider's envelope. Use nil to omit it.
@spec delete_product( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Deletes the specified product.
Sends DELETE /c/{company_id}/products/{product_id} (deleteProduct).
@spec get_product( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Gets the specified product.
Sends GET /c/{company_id}/products/{product_id} (getProduct).
Query options
:fields(string):fieldset(string, one of"basic","detailed","fic_view")
@spec list_products( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Lists the products.
Sends GET /c/{company_id}/products (listProducts).
Query options
:fields(string):fieldset(string, one of"basic","detailed","fic_view"):sort(string):page(integer, minimum 1):per_page(integer, minimum 1, maximum 100):q(string)
@spec modify_product( ExFattureincloud.Client.t(), ExFattureincloud.API.path_parameter(), ExFattureincloud.API.path_parameter(), map() | nil, ExFattureincloud.API.parameters() ) :: ExFattureincloud.Response.result()
Modifies the specified product.
Sends PUT /c/{company_id}/products/{product_id} (modifyProduct).
Pass the JSON body with the provider's envelope. Use nil to omit it.