POST api/Cart?productcode={productcode}&imisid={imisid}&sessionid={sessionid}

Adds an item to the user's shopping cart. Note, if IMISID and SessionID it will generate a new SessionID for Anonymous.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
productcode

Required - Product Code of the SS format or WC instance (eg: 8783662ONL, 1234-0320/REG)

string

Required

imisid

Optional - If the IMISID is left blank, will assume anonymous

string

Default value is

sessionid

Optional - If the SessionID is left blank, it will create new SessionID and return it

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Returns Cart object with 201. Returns 404 if data not found. Returns 500 on error.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.