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": "c6be8fbc-3eb4-4ff7-bb12-553d742a62d3",
"itemGroups": [
{
"concessionId": "db54412f-07b3-44cf-93a4-a7d746cf08d2",
"productId": "3cf5e3af-3311-4207-a23d-ad7b45e6aa55",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "db54412f-07b3-44cf-93a4-a7d746cf08d2",
"productId": "3cf5e3af-3311-4207-a23d-ad7b45e6aa55",
"quantity": 3,
"price": 4.0
}
],
"packageId": "1bc8f963-d007-4fc3-81c9-6114e9f2ba88"
}
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": "f6cfed5c-2774-4310-a9c2-5a61dcb73e6e",
"itemGroups": [
{
"concessionId": "2565cb4c-ebed-4d9b-a7ec-ffe4f442b895",
"productId": "148ca0b0-d79f-429e-a08a-4e484bf28509",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "2565cb4c-ebed-4d9b-a7ec-ffe4f442b895",
"productId": "148ca0b0-d79f-429e-a08a-4e484bf28509",
"quantity": 3,
"price": 4.0
}
],
"packageId": "a4d28b84-178d-4fce-9b8d-8a24e5d83485"
}