GET | /Product/Store |
---|
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Product/Store HTTP/1.1 Host: tstsrvs.redhotpie.com.au Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length [ { StoreProductID: 0, Name: String, Description: String, MainImage: { Filename: String, Height: 0, Width: 0 }, RequiresShiping: False, Price: [ { Currency: { Name: String, Symbol: String, Code: String, CurrencyID: 0 }, Price: 0 } ], Category: String, Group: String, SortNumber: 0, ProductStock: [ { StoreProductStockID: 0, Quantity: 0, Size: { ID: 0, Abbreviation: String, Name: String }, Colour: { ID: 0, Abbreviation: String, Name: String } } ] } ]