Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

HomeDev GuideRecipesAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsGitHubNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference
Legal TermsGitHubNuGetDev CommunityOptimizely AcademySubmit a ticket

Optimizely developer documentation

How can we help you?

Try our conversational search powered by Generative AI!

AI OnAI Off

Updates an existing cart or creates new cart as per provided model.

New Requests
timestatususer agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The cart id.

Body Params

The cart model.

string

The cart id.

string
required

The cart name.

string

The customer the cart belongs to.

string
required

The market in which the cart is valid.

string
required

The currency of the market in which the cart is valid.

date-time

The last updated timestamp.

array of objects

The shipments.

Shipments
array of strings

The coupon codes.

CouponCodes
Responses

400

Bad Request

403

Forbidden

Language
Select from the Examples drop-down list. Or choose an example:
Select from the Examples drop-down list.