PUT v1/PurchaseCustomFields
Documentation for 'Put'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
entity | Documentation for 'entity'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
Click to beautify!
{ "key": "sample string 1", "purchaseId": 2, "value": {} }
application/xml, text/xml
Sample:
Click to beautify!
<PurchaseCustomField xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Put"> <Key>sample string 1</Key> <PurchaseId>2</PurchaseId> <Value /> </PurchaseCustomField>
application/x-www-form-urlencoded
Sample:
Click to beautify!
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
Click to beautify!
{ "key": "sample string 1", "friendlyName": "sample string 2", "dataType": "sample string 3", "value": {} }
application/xml, text/xml
Sample:
Click to beautify!
<PurchaseCustomField xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Get"> <DataType>sample string 3</DataType> <FriendlyName>sample string 2</FriendlyName> <Key>sample string 1</Key> <Value /> </PurchaseCustomField>