Cart API

Amar121
Tera Contributor

Hi All,

 

I am using cart API and submit order API to create REQ and RITMS using Java,

I am seeing one problem, If cart API is called or success and I stop the server and again call the cart API, all the items created in last API call are also included in new cart API call, How can I make sure that the previous cart API items are not added in current call.

 

Any suggestion to this problem that I am facing.

1 REPLY 1

Maik Skoddow
Tera Patron
Tera Patron

Please provide a code example on how you are using the Cart API. As you said, you are implementing in Java the only way I can imagine is using an REST API endpoint, right? 

Maik