get_article_list

Description

Provides a list of article codes as filtered by optional search parameters.

Methods and Parameters

Does what it says on the tin, returns a list of article codes. Except for shop_id, the other parameters are optional. design_id on it's own didn't work for me though nor did producttype_id=266 with design_id=5421915 which does exist in the shop. search_phrase worked (it narrowed the results). limit=1 and limit=2 caused an unspecified error. Look into the WSDL on this; Eclipse demanded some values be validated but the message was too fast to have come from the server.

I don't know what order_by requires. Random strings didn't cause an error. Obvious strings such as num, alpha, asc, ascending, desc, descending made no difference.

If only the shop_id and token are supplied, it returns everything. Using position made no difference but it's hard to test when limit isn't working. token doesn't seem to be required! This might be a clue!

WSDL http://www.spreadshirt.net/services.php?wsdl

Definition

get_article_list (
    String token,
    int shop_id,
    int producttype_id
    int design_id
    String order_by,
    int position,
    int limit
    String search_phrase
)

Parameters

Type Parameter Name Parameter Description
string token session token (Optional)
int shop_id shop id (Required)
string ### ###

Return Values

The return value is a scalar that contains the following:

Type Return Value Name Return Value Description
string article_id article id code

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:

  • ###: #######
api/get_article_list.txt · Last modified: 2009/05/31 17:29 (external edit)
 
Recent changes RSS feed Driven by DokuWiki