get_producttype_categories

Description

get a list of producttype category objects.

producttype_categories are the broad categories which producttypes fit into. There are about 18 categories at the time of writing. Examples include Men's Longsleeves (11), Ladies' (2), Socks (17) and stickers (6). Here are some URL based examples:
http://www.spreadshirt.net/en/IE/T-Shirt/Overview-2107/categoryId/1 - Men's T-Shirts
http://www.spreadshirt.net/en/IE/T-Shirt/Overview-2107/categoryId/2 - Ladies' T-shirts
http://www.spreadshirt.net/en/IE/T-Shirt/Overview-2107/categoryId/3 - Ladies' Longsleeves
http://www.spreadshirt.net/en/IE/T-Shirt/Overview-2107/categoryId/4 - Juniors
http://www.spreadshirt.net/en/IE/T-Shirt/Overview-2107/categoryId/5 - Caps

Definition

get_producttype_categories (
    String token,
    int shop_id,
)

This supplied definition does not match what's in the WSDL file. The following is what's defined by the WSDL.

get_producttypes (
    String token,
    int shop_id,
    int position,
    int limit,
    String search_phrase
)

Parameters

Type Parameter Name Parameter Description
string token session token
int shop_id spreadshirt shop ID

Return Values

The return value is a list of complex response_objects that contain the following:

Type Return Value Name Return Value Description
int producttype_category_id producttype category ID
boolean active category is active or not
int weight sort order
string gender Which gender this product is for
string name category name
string name_plural category name in plural

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