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
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 )
| Type | Parameter Name | Parameter Description |
|---|---|---|
| string | token | session token |
| int | shop_id | spreadshirt shop ID |
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 |
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: