get_designs

Description

Get an array of design objects

Design objects are purely the graphics which go on the T-Shirts. These do not include text based designs created in the Spreadshirt designer.

The links to the images are coloured as they were when the designs were originally submitted.

Definition

get_designs (
    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
int position start position in list
int limit limit result set to # of elements
string search_phrase full text search in article name and description (optional)

Return Values

The return value is an array of complex response_objects that contain the following:

Type Return Value Name Return Value Description
int design_id design ID
int partner_id partner ID
int weight order weight
string name design name
string image_url design image URL

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_designs.txt · Last modified: 2009/05/31 17:29 (external edit)
 
Recent changes RSS feed Driven by DokuWiki