Update user checkout profile
The following example shows how to update user checkout profile.
Request
PUT /wcs/resources/store/10101/person/@self/checkoutProfile HTTPS/1.1
Host: wcstestserver.raleigh.ibm.com
Content-Type: application/json
{
"shipping_addressLine": [
"123 Main Street",
"Suite 101",
"Some Bldng"
],
"shipping_modeId": "10153",
"pay_payMethodId": "VISA",
"pay_cc_brand": "VISA",
"pay_payment_method": "VISA",
"pay_account": "4111111111111111",
"pay_expire_month": "10",
"pay_expire_year": "2015",
"billing_country": "IN",
"shipping_country": "IN",
"billing_addressLine": [
"123 Main Street",
"Suite 101",
""
]
}
Response
HTTPS/1.1 200 OK
Content-Type: application/json
{
"userId": "9004"
}