Method

rxc-products-add

Description

This method add a product to the business logged in.

Parameters

Name Input Value Type Description
business_code Integer This is the business we are adding the product to.
label String This is the label of the product we are adding.
description String (Optional) This is a description of this product.
gl_type_id Integer (Optional) This is the unique identifier of the unit types we are adding this product for.
prod_group_id Integer This is the unique identifier of the product group we are adding this product for.
type_id Integer (Optional) This is the unique identifier of the unit types we are adding this product for.
occupant_id Integer (Optional) This is the unique identifier of the occupant type we are adding this product for.
tax_id Integer (Optional) This is the unique identifier of the tax we are creating this product for.
tax_ids Integer (Optional) This is the unique identifier of the taxes we are assigning to this product.
cancel_id Integer (Optional) This is the unique identifier of the cancel type we are adding this product for.
deposit_id Integer (Optional) This is the unique identifier of the deposit type we are adding this product for.
charge_per_day Integer (Optional) This is a flag that specifies if we need to charge this product for each day of a reservation or not.
discount_allowed Integer (Optional) This is a flag that specifies if this product has a discount or not.
unit_measure String (Optional) This is the unit measure text used for this product. IE: Feet
share_revenue Integer (Optional) This is a flag that specifies if we share revenue with owners for this product or not.
link_product_id Integer (Optional) This is used for Security Deposit products to determine what product to settle the security deposit too if kept.
hide_from_pos Integer (Optional) Should this product show up on the POS form or not.
format enumeration (optional) Set this value to "xml" for XML raw formatted output, "xml-clean" for XML tidy formatted output or "json" for JSON formatted output. If not passed, "xml" is used as a default

XML Encoded Request

URL Encoded Request





Result