Feature Pack 4Feature Pack 5Feature Pack 6

Checkout shopping cart

The following example shows how to checkout shopping cart.

Request


POST /wcs/resources/store/10101/cart/@self/checkout HTTPS/1.1
Host: testserver.mycompany.com
Content-Type: application/json

{
   "orderId" : "14501",
	"x_field1": "1",
	"x_field2": "2.0",
	"x_field3": "Field3"
}

Response


HTTPS/1.1 201 Created
Content-Type: application/json

{
	"orderId": "14501"
}