Cart API or CartJS API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2021 01:47 PM
Hi,
I have created a transform script that creates a request using Cart API. I have that working except it is not adding the Requested For user, so I looked to find more details on Cart API but I can't find anything.
I did find CartJS API, is this the new way that we should use to create a request from within a transform script?
If not, can anyone tell me how to add requested for using Cart API?
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2021 02:00 PM
If memory serves you have to use the new CartJS api if you would like any "Requested for" var types to work properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2021 03:57 PM
My request is global and not scoped. Does that make a difference?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2021 07:40 AM
Not that I remember. I just remember having the same issue and support told me to use the new CartJS api and that they would probably not be updating the old one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2021 08:59 AM
Thank you!