PUT v1/bunits/{bunitId}/productcodes
Saves the supplied product codes for a business unit. This will overwrite any
existing product codes that match the product in previously set product codes
for this business unit.
NOTE: A product object must be supplied with each product code object. The product should as a minimum have its id property specified.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bunitId |
integer |
Required |
Body Parameters
Collection of ProductCodeName | Description | Type | Additional information |
---|---|---|---|
Name |
Product code name is used as labels on invoice lines for a specific product. |
string |
None. |
Product |
Product |
None. |
|
BusinessUnit |
BusinessUnit |
None. |
|
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
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.