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": "48565267-7360-4b91-b661-14dc098f281d",
"itemGroups": [
{
"concessionId": "f5a19b4a-f03d-46ae-99d4-c14f1652345f",
"productId": "acc34578-d603-4c1d-a807-18491663fd72",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "f5a19b4a-f03d-46ae-99d4-c14f1652345f",
"productId": "acc34578-d603-4c1d-a807-18491663fd72",
"quantity": 3,
"price": 4.0
}
],
"packageId": "c08b28aa-f1ef-4e34-893f-9f52983d8b0e"
}
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": "7d1700c0-69d6-41b7-b5b0-f296c0e4f3db",
"itemGroups": [
{
"concessionId": "17b3c4f5-b885-4b27-b1da-727915ef4dcc",
"productId": "63aa9c15-83c5-448d-8117-9247c3dba827",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "17b3c4f5-b885-4b27-b1da-727915ef4dcc",
"productId": "63aa9c15-83c5-448d-8117-9247c3dba827",
"quantity": 3,
"price": 4.0
}
],
"packageId": "09263ad7-c140-4917-8d4e-5bf23838c975"
}