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": "a8f7aafe-dd57-4272-9523-794b0f535875",
"itemGroups": [
{
"concessionId": "9fa3af66-fab9-461a-8b90-5df943e53e1e",
"productId": "47a4f317-202b-4024-90d5-5f2cf30579b0",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "9fa3af66-fab9-461a-8b90-5df943e53e1e",
"productId": "47a4f317-202b-4024-90d5-5f2cf30579b0",
"quantity": 3,
"price": 4.0
}
],
"packageId": "34c158ae-ef6c-433b-ac9a-1a2481bce944"
}
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": "b20630e4-761b-4b0c-9b11-8991d15fca2d",
"itemGroups": [
{
"concessionId": "4a6b5733-d8c0-4486-98c9-7f683099a1bf",
"productId": "71e8f07a-3bd9-459e-9ddc-7658fc359649",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "4a6b5733-d8c0-4486-98c9-7f683099a1bf",
"productId": "71e8f07a-3bd9-459e-9ddc-7658fc359649",
"quantity": 3,
"price": 4.0
}
],
"packageId": "79525c94-f7f3-422f-af53-2e81c421908c"
}