PUT pricebook/{id}
Sets a category.
Request Information
URI
https://ofd-api.blueprintcpq.net/pricebook/{id}
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The identifier. |
globally unique identifier |
Required |
Body Parameters
Price Book options.
UpdateProductCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Code | string |
None. |
|
| Colour | string |
None. |
|
| Graphic | globally unique identifier |
None. |
|
| Note | globally unique identifier |
None. |
|
| Parent | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Code": "sample string 2",
"Colour": "sample string 3",
"Graphic": "2b68e953-adf0-4395-b673-2efb8a049c90",
"Note": "eadaf523-97e4-4b25-8aa7-73382c4e3297",
"Parent": "5ab8f418-eeac-4c3b-8cfa-5734704de7a3"
}
text/html
Sample:
{"Name":"sample string 1","Code":"sample string 2","Colour":"sample string 3","Graphic":"2b68e953-adf0-4395-b673-2efb8a049c90","Note":"eadaf523-97e4-4b25-8aa7-73382c4e3297","Parent":"5ab8f418-eeac-4c3b-8cfa-5734704de7a3"}
application/xml, text/xml
Sample:
<UpdateProductCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.ConfigurationModels"> <Code>sample string 2</Code> <Colour>sample string 3</Colour> <Graphic>2b68e953-adf0-4395-b673-2efb8a049c90</Graphic> <Name>sample string 1</Name> <Note>eadaf523-97e4-4b25-8aa7-73382c4e3297</Note> <Parent>5ab8f418-eeac-4c3b-8cfa-5734704de7a3</Parent> </UpdateProductCategory>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
True if it succeeds, false if it fails.
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>