initialize_session

Description

Initializes a sevice session. This is always the first call you make to the web service. It's usually immediately followed by a call to the update_session method where you customize the localization settings.

Definition

initialize_session (
    int shop_id
)

Parameters

Type Parameter Name Parameter Description
int shop_id spreadshirt shop ID

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
  • 201: Shop not existing
api/initialize_session.txt · Last modified: 2009/07/28 08:25 by thuperadmin
 
Recent changes RSS feed Driven by DokuWiki