[Skip to main content](#vessel-content)

#   URL Parameter documentation

##

- **[PeterM](/forum/user/32531-peterm "View PeterM's Profile")**
- [![PeterM's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32531-peterm "View PeterM's Profile") Topic Author
- [ Offline](/forum/user/32531-peterm)

Less More

- Posts: 2
- Thank you received: 0
-
-

12 years 5 months ago -  12 years 5 months ago [\#155160](#155160) by [PeterM](/forum/user/32531-peterm "View PeterM's Profile")  *[URL Parameter documentation](/forum/31-development/868022-url-parameter-documentation#155160 "Where do I find a documentation what parameters can be used in an URL call like for example:  ...../administrator/index.php?com&#95;hikashop&amp;ctrl=product&amp;task=edit&amp;cid&#91;&#93;=142  Specifically I am looking for a way to use a deep link to activate/deactivate a product from another software application that can only communicate with a call to a website.  Thanks in advance. Best regards, Peter")* was created by *[PeterM](/forum/user/32531-peterm "View PeterM's Profile")*

Where do I find a documentation what parameters can be used in an URL call like for example:

...../administrator/index.php?com_hikashop&amp;**ctrl**=product&amp;**task**=edit&amp;cid[]=142

Specifically I am looking for a way to use a deep link to activate/deactivate a product from another software application that can only communicate with a call to a website.

Thanks in advance.
Best regards,
Peter

Last edit: 12 years 5 months ago by [PeterM](/forum/user/32531-peterm "View PeterM's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg2ODAyMi11cmwtcGFyYW1ldGVyLWRvY3VtZW50YXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14269
-
-

12 years 5 months ago [\#155209](#155209) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[URL Parameter documentation](/forum/31-development/868022-url-parameter-documentation#155209 "Where do I find a documentation what parameters can be used in an URL call like for example:  ...../administrator/index.php?com&#95;hikashop&amp;ctrl=product&amp;task=edit&amp;cid&#91;&#93;=142  Specifically I am looking for a way to use a deep link to activate/deactivate a product from another software application that can only communicate with a call to a website.  Thanks in advance. Best regards, Peter")*

Hi,

You'll have a hard time doing that as the link to do that requires a session token to be valid for security reasons (in order to avoid XSS attacks). The link is: Code:

../administrator/index.php?option=com_hikashop&amp;tmpl=component&amp;ctrl=toggle&amp;935fb622b66fc187b4f931714f34a15a=1&amp;task=product_published-1&amp;value=0&amp;table=product

where 935fb622b66fc187b4f931714f34a15a is the session token, the 1 after product_published- is the product id and the 0 is the state your want (0 for disabled, 1 for enabled).
It would be best to implement a small system plugin and run yourself the query to change that from within the plugin based on the parameter of the $_REQUEST in an onAfterRoute trigger.
[ docs.joomla.org/Portal:Plugin\_Development](http://docs.joomla.org/Portal:Plugin_Development)

The following user(s) said Thank You: [PeterM](/forum/user/32531-peterm "View PeterM's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg2ODAyMi11cmwtcGFyYW1ldGVyLWRvY3VtZW50YXRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.118 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
