POST v1/bunits/{bunitId}/products

Create a product

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bunitId Id of the business unit creating the product integer

Required

Body Parameters

The product to be created

Product
NameDescriptionTypeAdditional information
Name Name of the product
string

Required.

UnitName Name of unit
Could be liter, hour, megabyte, piece etc.
Default is unit
string

None.

Inherited Product is inherited from a ancestor business unit.
boolean

Read-only.

Inheritable Product is available to descendant business units.
boolean

None.

Method The invoice method used to calculate the product price.
InvoiceMethod

None.

InheritedProductCode The inherited product code is the default product code. It may be overridden using the ProductCode property.
ProductCode

None.

ProductCode The product code.
ProductCode

Overrides the inherited product code.

Id A unique ID for the object.
integer

Read-only.

CreatedDate Time and date the object was created.
date

Read-only.

ArchivedDate Time and date the object was or is going to be archived.

Unarchived objects have no value in ArchivedDate
date

Read-only.

Operations Collection of OperationResult

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

Response Information

Resource Description

The created product

Product
NameDescriptionTypeAdditional information
Name Name of the product
string

Required.

UnitName Name of unit
Could be liter, hour, megabyte, piece etc.
Default is unit
string

None.

Inherited Product is inherited from a ancestor business unit.
boolean

Read-only.

Inheritable Product is available to descendant business units.
boolean

None.

Method The invoice method used to calculate the product price.
InvoiceMethod

None.

InheritedProductCode The inherited product code is the default product code. It may be overridden using the ProductCode property.
ProductCode

None.

ProductCode The product code.
ProductCode

Overrides the inherited product code.

Id A unique ID for the object.
integer

Read-only.

CreatedDate Time and date the object was created.
date

Read-only.

ArchivedDate Time and date the object was or is going to be archived.

Unarchived objects have no value in ArchivedDate
date

Read-only.

Operations Collection of OperationResult

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.