PUT api/Basket
Makes a request to add items to the basket.
Request Information
URI Parameters
None.
Body Parameters
BasketRequestName | 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": "309181a4-93cb-4519-a676-0d448df3de78", "itemGroups": [ { "concessionId": "5d1f123d-73bb-46d2-857e-73170b9894ba", "productId": "87524be8-8ab1-455c-852b-f8f570ec5916", "quantity": 3, "price": 4.0 }, { "concessionId": "5d1f123d-73bb-46d2-857e-73170b9894ba", "productId": "87524be8-8ab1-455c-852b-f8f570ec5916", "quantity": 3, "price": 4.0 } ], "packageId": "09ed461c-40fd-4424-a6ed-3d4e89eaf1b9" }
Response Information
Resource Description
BasketRequestName | 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": "3d213878-29f0-4e93-93ec-34eb1d91768d", "itemGroups": [ { "concessionId": "0116d956-052c-4bfa-a950-e0f89dc6b7c3", "productId": "830294a9-b890-495d-b0a6-769e3a6223dd", "quantity": 3, "price": 4.0 }, { "concessionId": "0116d956-052c-4bfa-a950-e0f89dc6b7c3", "productId": "830294a9-b890-495d-b0a6-769e3a6223dd", "quantity": 3, "price": 4.0 } ], "packageId": "b70ad280-4eae-46aa-b012-43def7176157" }