PUT api/Basket
Makes a request to add items to the basket.
Request Information
URI Parameters
None.
Body Parameters
BasketRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemId | globally unique identifier |
None. |
|
| ItemGroups | Collection of BasketItemGroupRequest |
None. |
|
| PackageId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"itemId": "9dc189e6-7cb3-40b8-b091-76cda74f26ea",
"itemGroups": [
{
"concessionId": "aa2f8b63-5976-406e-8ed9-fdd38c6960b0",
"productId": "7431dda7-443f-4e6f-9785-14bbc59e794d",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "aa2f8b63-5976-406e-8ed9-fdd38c6960b0",
"productId": "7431dda7-443f-4e6f-9785-14bbc59e794d",
"quantity": 3,
"price": 4.0
}
],
"packageId": "5efdd471-aff7-4f7d-ac96-e27d28e54c20"
}
Response Information
Resource Description
BasketRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemId | globally unique identifier |
None. |
|
| ItemGroups | Collection of BasketItemGroupRequest |
None. |
|
| PackageId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"itemId": "90512be7-df41-49b8-ada1-cd480c265033",
"itemGroups": [
{
"concessionId": "94c70988-5a53-4b26-bc4e-43f2141ff1b8",
"productId": "c69343e3-b999-4c6f-876b-28d611106b97",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "94c70988-5a53-4b26-bc4e-43f2141ff1b8",
"productId": "c69343e3-b999-4c6f-876b-28d611106b97",
"quantity": 3,
"price": 4.0
}
],
"packageId": "ea953824-1d06-4127-8aaf-12159e7f3729"
}