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": "900c8fa2-5622-4652-8014-a50722f1a3e1",
"itemGroups": [
{
"concessionId": "3cc3c6e6-94da-4353-b458-b814adc0958b",
"productId": "614ba365-312d-4e8d-8a29-ad2f7bb2c24f",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "3cc3c6e6-94da-4353-b458-b814adc0958b",
"productId": "614ba365-312d-4e8d-8a29-ad2f7bb2c24f",
"quantity": 3,
"price": 4.0
}
],
"packageId": "890f03e1-f976-4794-9103-d694b0c88e26"
}
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": "fd8114bd-8574-4733-9411-1c39b2bb3336",
"itemGroups": [
{
"concessionId": "7384c597-3caa-48a4-ad17-461fe9f56a5d",
"productId": "195074f8-4a42-4f70-81ab-49b61682a01d",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "7384c597-3caa-48a4-ad17-461fe9f56a5d",
"productId": "195074f8-4a42-4f70-81ab-49b61682a01d",
"quantity": 3,
"price": 4.0
}
],
"packageId": "13993248-40af-4955-888b-9b96a20ea0b1"
}