<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docs.hostway.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docs.hostway.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Alexander.pyatkov</id>
		<title>Hostway API Documentation - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://docs.hostway.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Alexander.pyatkov"/>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Special:Contributions/Alexander.pyatkov"/>
		<updated>2026-05-04T18:52:26Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://docs.hostway.com/index.php/Orders-orderId-account-attributes:PUT</id>
		<title>Orders-orderId-account-attributes:PUT</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php/Orders-orderId-account-attributes:PUT"/>
				<updated>2013-09-27T13:48:01Z</updated>
		
		<summary type="html">&lt;p&gt;Alexander.pyatkov: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= PUT /orders/''{orderId}''/account/attributes =&lt;br /&gt;
Set the list of attributes for an account in a given order.&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Request ==&lt;br /&gt;
&amp;lt;code&amp;gt;PUT /orders/''{orderId}''/account/attributes&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Request Parameters ====&lt;br /&gt;
{{UriParameter-OrderId}}&lt;br /&gt;
&lt;br /&gt;
=== URI Parameters ===&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
=== Request Headers ===&lt;br /&gt;
; Content-Type&lt;br /&gt;
: Required. Set this header to &amp;lt;code&amp;gt;application/json; charset=UTF-8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Cookie-OwnerId}}&lt;br /&gt;
&lt;br /&gt;
=== Request Body ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
[&lt;br /&gt;
 {&lt;br /&gt;
  &amp;quot;name&amp;quot;: &amp;quot;{attributeName}&amp;quot;,&lt;br /&gt;
  &amp;quot;value&amp;quot;: &amp;quot;{attributeValue}&amp;quot;&lt;br /&gt;
 },&lt;br /&gt;
 {&lt;br /&gt;
  &amp;quot;name&amp;quot;: &amp;quot;{attributeName}&amp;quot;,&lt;br /&gt;
  &amp;quot;value&amp;quot;: &amp;quot;{attributeValue}&amp;quot;&lt;br /&gt;
 }&lt;br /&gt;
]&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; attributeName - ''string''&lt;br /&gt;
: The unique name of the attribute. The list of supported attribute names is specific to the franchise. The common attributes include:&lt;br /&gt;
:: '''partner_account_id''' - unique account identifier in the partner system. The value should be unique within the franchise.&lt;br /&gt;
&lt;br /&gt;
; attributeValue - ''string''&lt;br /&gt;
: The value of the attribute max 200 characters. Should adhere to the rules for the attribute specified by the name.&lt;br /&gt;
: The value of the &amp;quot;partner_account_id&amp;quot; attribute is max 100 characters&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
&lt;br /&gt;
=== Status Code ===&lt;br /&gt;
;204 No Content : The account attributes were successfully set.&lt;br /&gt;
&lt;br /&gt;
;400 Bad Request : The request body format is invalid, the attribute name is not supported by the franchise, the attribute value is invalid (e.g: too long, contains invalid characters, etc).&lt;br /&gt;
&lt;br /&gt;
;404 Not Found : The specified order does not exist.&lt;br /&gt;
&lt;br /&gt;
;409 Conflict : An attribute value, supposed to be unique, is already in use.&lt;br /&gt;
&lt;br /&gt;
;502 Bad Gateway : A critical (unknown) error occurred.&lt;br /&gt;
&lt;br /&gt;
=== Response Body ===&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Orders|Orders API]]&lt;br /&gt;
* [[Common Features]]&lt;br /&gt;
&lt;br /&gt;
{{disqus}}&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Ordering API]]&lt;/div&gt;</summary>
		<author><name>Alexander.pyatkov</name></author>	</entry>

	</feed>