CartUpdate resource

Methods

  • put - Update a cart

Resource

{
    "endUser": {
        "city": "string",
        "country": "string",
        "email": "string",
        "firstName": "string",
        "id": "string",
        "ip": "string",
        "lastName": "string",
        "locale": "string",
        "storeId": "string",
        "streetAddress": "string",
        "zipCode": "string"
    }
}

Properties

Name Type Description Additional
endUser object EndUser Optional
endUser.city string

Address book city

Optional
endUser.country string

This is the country end user.

endUser.email string

This is the email end user.

endUser.firstName string

This is the first name end user.

Optional
endUser.id string

This is the reference id of the end user service.

Optional
endUser.ip string

This is the ip from the enduser (only IPv4 is supported)

Optional
endUser.lastName string

This is the last name end user.

Optional
endUser.locale string

Locale to the cart

endUser.storeId string

Store id

Optional
endUser.streetAddress string

Address book street address

endUser.zipCode string

Address book zipCode

Example

{
    "endUser": {
        "city": "San Francisco",
        "country": "FR",
        "email": "nexway@nexway.com",
        "firstName": "endUserFirstName",
        "id": "82fc0517-358a-49a8-b5fb-8be1a0ced674",
        "ip": "37.128.127.255",
        "lastName": "endUseLastName",
        "locale": "fr-FR",
        "storeId": "a0253398-b0c5-4c2d-a15f-bd97ea4be608",
        "streetAddress": "236 8th street",
        "zipCode": "94103"
    },
    "status": "VALIDATED",
    "updateDate": "1479225750482"
}