PUT pricebook/{id}

Sets a category.

Request Information

URI

https://ofd-api.blueprintcpq.net/pricebook/{id}

URI Parameters

NameDescriptionTypeAdditional information
id

The identifier.

globally unique identifier

Required

Body Parameters

Price Book options.

UpdateProductCategory
NameDescriptionTypeAdditional 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": "851dfc60-364b-4b52-90f2-6c027c6bf0db",
  "Note": "ec0b495b-2f86-4da4-a714-73d226b6cdb0",
  "Parent": "962cd10e-4b36-4bb5-9245-e9e083c2cf68"
}

text/html

Sample:
{"Name":"sample string 1","Code":"sample string 2","Colour":"sample string 3","Graphic":"851dfc60-364b-4b52-90f2-6c027c6bf0db","Note":"ec0b495b-2f86-4da4-a714-73d226b6cdb0","Parent":"962cd10e-4b36-4bb5-9245-e9e083c2cf68"}

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>851dfc60-364b-4b52-90f2-6c027c6bf0db</Graphic>
  <Name>sample string 1</Name>
  <Note>ec0b495b-2f86-4da4-a714-73d226b6cdb0</Note>
  <Parent>962cd10e-4b36-4bb5-9245-e9e083c2cf68</Parent>
</UpdateProductCategory>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

True if it succeeds, false if it fails.

boolean

Response 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>