Feature Pack 4Feature Pack 5Feature Pack 6

Prepare order for checkout

The following example shows how to prepare order for checkout.

Request


PUT /wcs/resources/store/10101/cart/@self/precheckout HTTPS/1.1
Host: wcstestserver.raleigh.ibm.com
Content-Type: application/json

{
   "orderId" : "14501"
}

Response


HTTPS/1.1 200 OK
Content-Type: application/json

{
	"orderId": "14501"
}