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.
initialize_session ( int shop_id )
| Type | Parameter Name | Parameter Description |
|---|---|---|
| int | shop_id | spreadshirt shop ID |
The return value is a scalar that contains the following:
| Type | Return Value Name | Return Value Description |
|---|---|---|
| string | token | session token |
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: