update_basketitem

Description

update a basket item's quantity or size in shopping basket

Definition

update_basketitem (
    String token,
    int basketitem_id,
    int quantity,
    int producttype_size_id,
    int producttype_color_id
)

Parameters

Type Parameter Name Parameter Description
string token session token
int shop_id spreadshirt shop 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
  • 102: missing ship_id
  • 103: Missing size
  • 104: Missing quantity
  • 105: Article is stockout
  • 108: Article quantity exceeds limit
  • 201: empty result set
api/update_basketitem.txt · Last modified: 2009/05/31 17:29 (external edit)
 
Recent changes RSS feed Driven by DokuWiki