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": "74063702-1861-4cb6-996d-332a36a0c70e",
"itemGroups": [
{
"concessionId": "a4a80164-34c6-4db6-91c7-26020fb11bf6",
"productId": "e51ec0a0-fd3f-4bab-8a2d-ac182a034bf8",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "a4a80164-34c6-4db6-91c7-26020fb11bf6",
"productId": "e51ec0a0-fd3f-4bab-8a2d-ac182a034bf8",
"quantity": 3,
"price": 4.0
}
],
"packageId": "c09db180-c280-4b3d-a1f2-b2850153f0c1"
}
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": "4cffeac5-f346-4bcd-b617-0afb7dfdf146",
"itemGroups": [
{
"concessionId": "f37878d5-622a-47c1-8c65-5512d6cc9d9a",
"productId": "b0a62e0d-8a14-4ad9-83fd-2f9afc4af8c3",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "f37878d5-622a-47c1-8c65-5512d6cc9d9a",
"productId": "b0a62e0d-8a14-4ad9-83fd-2f9afc4af8c3",
"quantity": 3,
"price": 4.0
}
],
"packageId": "921dee5e-7f69-4ef4-855a-b80bdad78815"
}