GET | /Product/Store |
---|
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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/csv
HTTP/1.1 200 OK Content-Type: text/csv 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"}}]}]