add_basketitem

Description

Puts an article into the user's shopping basket.

Definition

add_basketitem (
    String token,
    int article_id,
    int quantity,
    int producttype_size_id,
    int producttype_color_id
)

Parameters

Type Parameter Name Parameter Description
string token session token
int article_id article ID
int quantity number of articles to store in basket
int producttype_size_id size of articles to store in basket
int producttype_color_id colour of articles to store in basket

Return Values

The return value is a scalar that contains the following:

Type Return Value Name Return Value Description
int basketitem_id basket item ID

Error messages

The return string is a standard format error string and implements all standard error and success messages. The following SOAP exceptions represent specific error codes for this method:

  • 101: missing token
  • 103: Missing size
  • 104: Missing quantity
  • 105: Article is stockout
  • 108: Article quantity exceeds limit
  • 201: empty result set
api/add_basketitem.txt · Last modified: 2009/05/31 17:29 (external edit)
 
Recent changes RSS feed Driven by DokuWiki