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": "6f02265d-7ea5-4f41-a977-7b5a74cbf924",
"itemGroups": [
{
"concessionId": "e95224e6-14f6-4913-83cf-6961c0ef4370",
"productId": "c395f41e-80c7-45a0-a0b6-81778c72770a",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "e95224e6-14f6-4913-83cf-6961c0ef4370",
"productId": "c395f41e-80c7-45a0-a0b6-81778c72770a",
"quantity": 3,
"price": 4.0
}
],
"packageId": "4c51e610-333a-49ca-9248-04db7b46deeb"
}
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": "94732d4a-a31c-4d55-9838-7c013d550631",
"itemGroups": [
{
"concessionId": "a06c7776-5243-41c8-8041-aac3bac661b9",
"productId": "eb14b71e-f8f6-4666-91f8-558db28719f1",
"quantity": 3,
"price": 4.0
},
{
"concessionId": "a06c7776-5243-41c8-8041-aac3bac661b9",
"productId": "eb14b71e-f8f6-4666-91f8-558db28719f1",
"quantity": 3,
"price": 4.0
}
],
"packageId": "a16b6598-d3af-47c0-a17e-09fdaa3cbe07"
}