How to update catalog variable through REST API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 03:44 PM
we are integrating SNOW with some internal tools.
We are avoiding writing scripted API.
Is there a way we can update catalog variable value directly through an API?
I am trying but it is not working.
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2020 03:50 PM
Hi Varun,
Catalog variables are store in another table. That said, I recommend using catalog item related APIs. Reference:
- Pradeep Sharma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2020 09:34 PM
are you saying threre is not direct REST API to do this?I need to write scripted API.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2020 10:05 PM
Hi Varun,
Catalog variable values are stores in the table Variable Ownership [sc_item_option_mtom]
please check below thread where I have mentioned the approach which is using scripted REST API
https://community.servicenow.com/community?id=community_question&sys_id=366fb6a9db58dbc01dcaf3231f961947
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2020 10:18 PM
Yes, you are right. The best practice is to use catalog specific Scoped API's. Please refer my response here for script reference https://community.servicenow.com/swp?id=community_question&sys_id=d0787f04db171f001cd8a345ca96195d&v...
- Pradeep Sharma