API Reference | cleverbridge

Want to find out about the assortment of APIs that cleverbridge offers? The cleverbridge API Reference is the place to learn about our API resources, request items, and responses. You can also try out our endpoints using the API explorer.

Get Started    

Additional Examples - Update Purchase Parameters

<UpdatePurchaseParametersRequest>
  <PurchaseId>28233355</PurchaseId>
  <Items>
    <Item>
      <Key>x-source</Key>
      <Value>affiliate</Value>
    </Item>
  </Items>
</UpdatePurchaseParametersRequest>
<?xml version="1.0"?>
<UpdatePurchaseParametersResponse xmlns="http://api.cleverbridge.com/datacontract">
  <ResultMessage>OK</ResultMessage>
</UpdatePurchaseParametersResponse>
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
   <xs:element name="UpdatePurchaseParametersRequest" nillable="true" type="UpdatePurchaseParametersRequest"/>
   <xs:complexType name="UpdatePurchaseParametersRequest">
      <xs:sequence>
         <xs:element minOccurs="0" maxOccurs="1" name="PurchaseId" type="xs:string"/>
         <xs:element minOccurs="0" maxOccurs="1" name="Items" type="ArrayOfPurchaseExtraParameter"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="ArrayOfPurchaseExtraParameter">
      <xs:sequence>
         <xs:element minOccurs="0" maxOccurs="unbounded" name="Item" nillable="true" type="PurchaseExtraParameter"/>
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="PurchaseExtraParameter">
      <xs:sequence>
         <xs:element minOccurs="0" maxOccurs="1" name="Key" type="xs:string"/>
         <xs:element minOccurs="0" maxOccurs="1" name="Value" type="xs:string"/>
      </xs:sequence>
   </xs:complexType>
</xs:schema>
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:tns="http://api.cleverbridge.com/datacontract" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://api.cleverbridge.com/datacontract">
   <xs:element name="UpdatePurchaseParametersResponse" nillable="true" type="tns:UpdatePurchaseParametersResponse"/>
   <xs:complexType name="UpdatePurchaseParametersResponse">
      <xs:complexContent mixed="false">
         <xs:extension base="tns:BaseResponseMessage"/>
      </xs:complexContent>
   </xs:complexType>
   <xs:complexType name="BaseResponseMessage">
      <xs:sequence>
         <xs:element minOccurs="0" maxOccurs="1" name="ResultMessage" type="xs:string"/>
      </xs:sequence>
   </xs:complexType>
</xs:schema>