How to place an order from REST Api
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2019 04:57 AM
Dear all,
I have a need to place an order from REST Api through an external application in ServiceNow
For that I have seen we need to use the service catalog Api and undertand that we need to :
- collect items from a given category
- place item in a cart using dedicated api
All those steps are ok and clear.
Now at some point there is the need to validate the order based on given cart items collection.
For that I have seen there are different API where I am confused on which to use :
- Check out Cart
- Submit Order
Which one to use in order that ServiceNOw generate in background the ServiceCatalog Task and Request Item ?
How to handle order if it is need to go through a Record Producer instead of getting individual items ?
Thanks for help
regards
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2019 05:08 AM
HI,
Checkout is used when we use 2 step checkout which give you order summary and will not create request.
Submit order will submit your order and create REQ and RITM. Checkout should be perform simultaneously with Submit order.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2019 05:34 AM
Thnaks for your reply.
So if I understand , if I do not want to get the confirmation process before placing the order I can call directly, I can simply call the Submit API correct ?
To clarify some point :
By doing this way we provide items one by one to an cart. Now if my customer would like to go through an existing Record producer, how can I handle the API call in order to use that Record producer order ?
regards

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2019 12:02 AM
HI,
If you want to create Record on table then don't use CartJS then use table API or import set API.
As RP usually works on task based tables.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2019 12:52 AM
Sorry I miss explain , make confusion.
I was meaning processing Order Guide not Record Producer
How to process order through Order Guide suing REST API ?
regards