Parameterized product URLs
Description
With the parameterized product URLs we have the possibility to configure a URL in such a way that a product lands directly in the shopping cart when this URL is called up. The URL can also be given additional parameters to add premium components or coupon codes directly to the shopping cart.
The number of products to be passed is described here in the field definition as Qty = Quantity.
Not all parameters are available for multiple products, described as Qty > 1.
Several Products are divided by the pipe symbol |.
Field definition
Name | Description | Qty = 1 | Qty > 1 |
---|---|---|---|
product REQUIRED | STRING The URL of the product page. For multiple products divided by pipe symbol |. Pay attention to the correct URL ending, e.g. .html or /. | ||
couponcode | STRING The couponcode from the sales rule. | ||
customer_number | INTEGER The customer number of the customer with which the hash was generated. | ||
token | STRING The token generated before with the customer number. | ||
redirect | STRING The passed redirect urls need to be set in magento backend. A validation is active against the known urls. | ||
plan_id | INTEGER The id of the plan. | | |
abo_calendar_option | INTEGER The id of the calendar option. | ||
freemagazines | INTEGER The id of the freemagazines option. | ||
promotion | INTEGER The id of the promotion option. | ||
paidmagazines | INTEGER The id of the paidmagazines option. | ||
paidmagazines_link_id | INTEGER The id of the paidmagazines_link_id option. |
Where to find the needed ID’s?
You can find the corresponding IDs in the backend in the product view below the item "Related Products, Up-Sells, Cross-Sells, Promotions, Paid Magazines and Free Magazines". Here you first have to select the corresponding products in the various categories, then you will also see its ID.

Request
Request syntax
POST /abo/cart/add?
Host: shop-url
Parameters seperated by &
Parameter examples
Name | Example |
---|---|
product REQUIRED | Qty =1: product=ein-buch Qty > 1: product=buch2&coupon=123|product=buch2&coupon=123 |
couponcode | &couponcode=Get50 |
customer_number | &customer_number=123456 |
token | &token=abc123 |
redirect | &redirect=https://google.de |
plan_id | &plan_id=3 |
abo_calendar_option | abo_calendar_option=80618 |
freemagazines | &freemagazines=1750 |
promotion | &promotion=1278 |
paidmagazines | &paidmagazines=1751 |
paidmagazines_link_id | &paidmagazines_link_id=2635 |