update_session

Description

update a client session

Definition

update_session (
    String token,
    String lang,
    String locale
)

Parameters

Type Parameter Name Parameter Description
string token session token
string lang language code
string locale locale code

Languages

The language setting determines the language of the text responses (Note: All error messages are in English).

Following languages are available on spreadshirt.net:

Code Name
de German
en English
es Spanish
fi Finnish (Suomi)
fr French
it Italian
ja Japanese
nl Dutch
no Norwegian
pl Polish
ru Russian
se Swedish
zh Chinese

Following Languages are available on spreadshirt.com:

Code Name
es Spanish
fr French
us American English

Locales

The Locale describes the formatting of numeric values and dates. It does not specify the language. Following Locales are available for spreadshirt.net:

Code Description
AT Austria
DE Germany
ES Spain
FI Finnland
FR France
GB Great Britain
IE Ireland
JP Japan
NL Netherlands
NO Norway
PL Poland
RU Russia
SE Sweden

Following locales are available for spreadshirt.com:

Code Description
US United States
CA Canada

Return Values

The return value is a scalar that contains the following:

Type Return Value Name Return Value Description
string token session token

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 shop_id
  • 107: missing language code
  • 108: missing locale code
  • 201: empty result set
api/update_session.txt · Last modified: 2009/05/31 17:29 (external edit)
 
Recent changes RSS feed Driven by DokuWiki