<?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/index.php?action=history&amp;feed=atom&amp;title=Accounts-accountId-products-productId%3APUT</id>
		<title>Accounts-accountId-products-productId:PUT - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=Accounts-accountId-products-productId%3APUT"/>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-accountId-products-productId:PUT&amp;action=history"/>
		<updated>2026-05-04T14:53:25Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Accounts-accountId-products-productId:PUT&amp;diff=490&amp;oldid=prev</id>
		<title>Mike.robski: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-accountId-products-productId:PUT&amp;diff=490&amp;oldid=prev"/>
				<updated>2013-02-20T15:28:54Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 15:28, 20 February 2013&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mike.robski</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=Accounts-accountId-products-productId:PUT&amp;diff=489&amp;oldid=prev</id>
		<title>Mike.robski at 15:20, 20 February 2013</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=Accounts-accountId-products-productId:PUT&amp;diff=489&amp;oldid=prev"/>
				<updated>2013-02-20T15:20:16Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= PUT /accounts/''{accountId}''/products/''{productId}' =&lt;br /&gt;
Updates the status of an existing product.&lt;br /&gt;
__TOC__&lt;br /&gt;
== Request ==&lt;br /&gt;
&amp;lt;code&amp;gt;PUT /accounts/''{accountId}''/products/''{productId}''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; accountId - ''string''&lt;br /&gt;
: The Id of the account.&lt;br /&gt;
&lt;br /&gt;
; productId - ''string''&lt;br /&gt;
: The Id of the product.&lt;br /&gt;
&lt;br /&gt;
=== URI Parameters ===&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
=== Request Headers ===&lt;br /&gt;
{{Authorization}}&lt;br /&gt;
&lt;br /&gt;
=== Request Body ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&amp;quot;status&amp;quot;: &amp;quot;new_status&amp;quot;}&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; status - ''string''&lt;br /&gt;
: Can be one of the following statuses: '''open''', '''suspended''', '''closed''', '''purged'''.&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
&lt;br /&gt;
=== Status Code ===&lt;br /&gt;
; 204 No Content&lt;br /&gt;
: The status was successfully changed.&lt;br /&gt;
&lt;br /&gt;
; 400 Bad Request&lt;br /&gt;
The request body was invalid.&lt;br /&gt;
&lt;br /&gt;
; 401 Unauthorized&lt;br /&gt;
: The authorization credentials were not supplied or are invalid.&lt;br /&gt;
&lt;br /&gt;
; 404 Not Found&lt;br /&gt;
: The account or product Ids were not found.&lt;br /&gt;
&lt;br /&gt;
; 409 Conflict&lt;br /&gt;
: The current status of the product does not allow for this change.&lt;br /&gt;
&lt;br /&gt;
=== Response Body ===&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Account|Account Management API]]&lt;br /&gt;
* [[Common Features]]&lt;br /&gt;
&lt;br /&gt;
{{disqus}}&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Account Management API]]&lt;/div&gt;</summary>
		<author><name>Mike.robski</name></author>	</entry>

	</feed>