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": "b6a4eda5-6824-40a5-b5f5-b9c8ad35789b",
"itemGroups": [
{
"concessionId": "7863bcc9-ad4a-4129-882a-aef7f20aab6f",
"productId": "a579388b-672f-447b-a198-3f9c48971850",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "7863bcc9-ad4a-4129-882a-aef7f20aab6f",
"productId": "a579388b-672f-447b-a198-3f9c48971850",
"quantity": 3,
"price": 4.0
}
],
"packageId": "636d0eaf-3de9-4067-b050-6af10465ef3f"
}
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": "eb1cf63d-31cf-4abd-9567-0f11fa467fd1",
"itemGroups": [
{
"concessionId": "6eda2ced-f1c5-472c-9cf8-ee6a843313e5",
"productId": "b9d22875-3970-422f-ae1e-9b10b0c3abfc",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "6eda2ced-f1c5-472c-9cf8-ee6a843313e5",
"productId": "b9d22875-3970-422f-ae1e-9b10b0c3abfc",
"quantity": 3,
"price": 4.0
}
],
"packageId": "bebce461-ef49-4f22-9afd-4efa474382d2"
}