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": "896ee26d-d4c3-4e24-b308-9da5170081cc",
"itemGroups": [
{
"concessionId": "9163fa71-7415-4cdd-a0ea-0d2fd848b5af",
"productId": "91702e10-2b0a-48f7-bdc4-8cf6621bded3",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "9163fa71-7415-4cdd-a0ea-0d2fd848b5af",
"productId": "91702e10-2b0a-48f7-bdc4-8cf6621bded3",
"quantity": 3,
"price": 4.0
}
],
"packageId": "46e52387-2c45-4d15-af55-49a35e6a99bb"
}
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": "406541e8-bf75-493d-bb47-6ef9469c19c8",
"itemGroups": [
{
"concessionId": "0f1b37a7-b253-40b2-8fba-57b5f1ef2f5d",
"productId": "a024196d-b5b2-49d8-bc1c-7f41e00ac7ab",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "0f1b37a7-b253-40b2-8fba-57b5f1ef2f5d",
"productId": "a024196d-b5b2-49d8-bc1c-7f41e00ac7ab",
"quantity": 3,
"price": 4.0
}
],
"packageId": "d7e31aa8-bf46-4030-9c88-017ae8f06342"
}