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": "afd2492f-cfaf-4421-b331-9f9efe3b7b8a",
"Note": "9b66b580-4a0f-446d-97e5-f27269dbedcd",
"Parent": "3ef80308-7b6a-4a8c-8c1d-e8459571cf03"
}
text/html
Sample:
{"Name":"sample string 1","Code":"sample string 2","Colour":"sample string 3","Graphic":"afd2492f-cfaf-4421-b331-9f9efe3b7b8a","Note":"9b66b580-4a0f-446d-97e5-f27269dbedcd","Parent":"3ef80308-7b6a-4a8c-8c1d-e8459571cf03"}
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>afd2492f-cfaf-4421-b331-9f9efe3b7b8a</Graphic> <Name>sample string 1</Name> <Note>9b66b580-4a0f-446d-97e5-f27269dbedcd</Note> <Parent>3ef80308-7b6a-4a8c-8c1d-e8459571cf03</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>