Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
cart\_item\_id
Sys\_id of the item to delete from the current cart.Data type: String
Name
Description
None
Name
Description
None
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
None
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
204
Indicates that the request completed successfully and the specified item was deleted from the cart.
400
Indicates that either the specified cart_item_id is invalid or the user does not have access to the cart item.
401
Unauthorized. The user credentials are incorrect or have not been passed.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
sys\_id
Sys\_id of the cart to empty and delete.Data type: String
Name
Description
None
Name
Description
None
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
None
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
204
Request completed successfully and both empties and deletes the cart.
400
Indicates an error for one of the following reasons:- Invalid cartId. - User does not have admin/catalog\_admin role, or is trying to empty another user cart.
401
Unauthorized. The user credentials are incorrect or have not been passed.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
Name
Description
None
Name
Description
None
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
Accept
Data format of the response body. Supported types: application/json or application/xml. Default: application/json
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
200
Indicates that the request completed successfully. If there is no item in the cart, it returns basic cart information and pricing for user. If the cart contains any items, then the information about the items and their individual pricing is also included.
400
Indicates that the cart is empty and cannot check out.
401
Unauthorized. The user credentials are incorrect or have not been passed.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Response body parameters (JSON or XML)
Parameter
Description
cart\_id
Sys\_id of the cart.Data type: String
<recurring\_frequency>
List of items in the cart having a specific recurring frequency. Possible values include:- daily - monthly - yearly - none \(no recurring fees\) Data type: Object ``` "": { "frequency_label": "String", "items": [Array], "show_subtotal_price": "String", "subtotal_price": "String", "subtotal_recurring_frequency": "String", "subtotal_recurring_price": "String", "subtotal_title": "String", "total_title": "String"
</td></tr><tr><td>
<recurring\_frequency>.frequency\_label
</td><td>
Frequency of the associated recurring fee.Data type: String
Default: Null
</td></tr><tr><td>
<recurring\_frequency>.items
</td><td>
List of objects that contain details of each item associated with the specified recurring frequency category.Data type: Array
```
"items": [{
"cart_item_id": "String",
"catalog_item_id": "String",
"created.by": "String",
"created_on": "String",
"delivery_time": "String",
"item_id": "String",
"item_name": "String",
"localized_price": "String",
"localized_recurring_price": "String",
"name": "String",
"order_guide": "String",
"picture": "String",
"price": "String",
"quantity": "String",
"recurring_frequency": "String",
"recurring_price": "String",
"recurring_subtotal": Number,
"recurring_subtotal_price": "String",
"short_description": "String",
"show_price": Boolean,
"show_quantity": Boolean,
"show_recurring_price": Boolean,
"subtotal": Number,
"subtotal_price": "String",
"sys_class_name": "String",
"sys_id": "String",
"updated_by": "String",
"updated_on": "String",
"variables": {Object}
}]
<recurring\_frequency>.items.cart\_item\_id
Sys\_id of the item in this cart.Data type: String
<recurring\_frequency>.items.catalog\_item\_id
Sys\_id of catalog associated the item.Data type: String
<recurring\_frequency>.items.created.by
User that initially placed the item in the cart.Data type: String
<recurring\_frequency>.items.created\_on
Date on which the item was initially placed in the cart.Data type: String
<recurring\_frequency>.items.delivery\_time
Time that the specified item takes to be delivered.Data type: String
<recurring\_frequency>.items.item\_id
Catalog sys\_id of the item.Data type: String
<recurring\_frequency>.items.item\_name
Name of the specified item.Data type: String
<recurring\_frequency>.items.localized\_price
Price of the item in local currency.Data type: String
Subtotal of the recurring fees for the item.Data type: String
<recurring\_frequency>.items.short\_description
Short description of the item.Data type: String
<recurring\_frequency>.items.show\_price
Flag that indicates whether the price of the item is shown in the cart.Possible values: - true: Show the price of the item in the cart. - false: Do not show the price of the item in the cart. Data type: Boolean
<recurring\_frequency>.items.show\_quantity
Flag that indicates whether to show the item quantity in the cart.Possible values: - true: Show the item quantity in the cart. - false: Do not show the item quantity in the cart. Data type: Boolean
Flag that indicates whether the recurring fees should appear in the cart.Possible values: - true: Show the recurring fees in the cart. - false: Do not show the recurring fees in the cart. Data type: Boolean
<recurring\_frequency>.items.subtotal
Subtotal number of items.Data type: Number
<recurring\_frequency>.items.subtotal\_price
Subtotal for the item (price x quantity).Data type: String
<recurring\_frequency>.items.sys\_class\_name
System classification name of the item.Data type: String
<recurring\_frequency>.items.sys\_id
Sys\_id of the item record.Data type: String
<recurring\_frequency>.items.updated\_by
User that updated the item after it was initially placed in the cart.Data type: String
<recurring\_frequency>.items.updated\_on
Last date/time on which the item was either initially placed in the cart or updated.Data type: String
<recurring\_frequency>.items.variables
List of name/value pairs of the item variables.Data type: Object
<recurring\_frequency>.show\_subtotal\_price
Flag that indicates whether to show a subtotal for the associated recurring fee category.Possible values: - true: Show subtotals in the cart. - false: Do not show subtotals in the cart. Data type: Boolean
<recurring\_frequency>.subtotal\_price
Subtotal of the cost of all items for the associated recurring frequency category.Data type: String
Type of subtotal recurring frequency, such as daily, monthly, etc. Same as subtotal_recurring_frequency.Data type: String
<recurring\_frequency>.subtotal\_recurring\_price
Subtotal of the recurring fees of the items within the associated recurring frequency category.Data type: String
<recurring\_frequency>.subtotal\_title
If the show_subtotal_price is set to true, the text to display in the cart for the associated subtitle.Data type: String
<recurring\_frequency>.total\_title
Text to display for the total title for the associated recurring frequency category.Data type: String
show\_subtotal\_price
Flag that indicates whether to show the subtotal price in the cart.Possible values: - true: Show subtotals in the cart. - false: Do not show subtotals in the cart. Data type: String
subtotal\_price
Subtotal of all items in the cart in whole dollars.Data type: String
subtotal\_recurring\_frequency
Type of subtotal recurring frequency, such as daily, monthly, etc. Same as <recurring_frequency>.subtotal_recurring_frequency.Data type: String
subtotal\_recurring\_price
Subtotal of the recurring frequency fees for all items in the cart.Data type: String
subtotal\_title
Text to display in the cart for the subtotal field title.Data type: String
total\_title
Text to display in the cart for the total field title.Data type: String
Service Catalog - GET /sn_sc/servicecatalog/cart/delivery_address/{user_id}
Retrieves the shipping address of the specified user based on the glide.sc.req_for.roles property and the default behavior configured in the glide.sc.req_for.roles.defaultproperty.
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
user\_id
Sys\_id of the user whose shipping address to retrieve.Data type: String Table: User \[sys\_user\]
Name
Description
None
Name
Description
None
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
Accept
Data format of the response body. Supported types: application/json or application/xml. Default: application/json
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
200
Request completed successfully; returns the shipping address of the specified user.
400
User sys_id is invalid.
401
Unauthorized. The user credentials are incorrect or have not been passed.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
Name
Description
sysparm\_limit
Maximum number of records to return. For requests that exceed this number of records, use the sysparm_offset parameter to paginate record retrieval. This limit is applied before ACL evaluation. If no records return, including records you have access to, rearrange the record order so records you have access to return first.
Note: Unusually large sysparm_limit values can impact system performance.
Data type: Number
Default: 10000
sysparm\_text
Keyword to search for in the "title" field of the available service catalogs.Data type: String
sysparm\_view
Device on which the item can display: - desktop: On the desktop. - mobile: On a mobile device. - both: Both on a desktop and on a mobile device.
Data type: String
Name
Description
None
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
Accept
Data format of the response body. Supported types: application/json or application/xml. Default: application/json
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
200
Indicates that the request completed successfully. If a valid query returns no results, the response body only contains an empty result array.
401
Unauthorized. The user credentials are incorrect or have not been passed.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Response body parameters (JSON or XML)
Name
Description
description
Description of the catalog.Data type: String
desktop\_image
Image that appears on the desktop for this catalog.Data type: String
has\_categories
Flag that indicates whether the catalog contains categories.Possible values: - true: Catalog contains categories. - false: Catalog does not contain categories. Data type: Boolean
has\_items
Flag that indicates whether the catalog contains items.Possible values: - true: Catalog contains items. - false: Catalog does not contain items. Data type: Boolean
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
sys\_id
Sys\_id of the catalog whose categories are requested.Data type: String
Name
Description
sysparm\_limit
Maximum number of records to return. For requests that exceed this number of records, use the sysparm_offset parameter to paginate record retrieval. This limit is applied before ACL evaluation. If no records return, including records you have access to, rearrange the record order so records you have access to return first.
Note: Unusually large sysparm_limit values can impact system performance.
Data type: Number
Default: 10000
sysparm\_offset
Starting record index for which to begin retrieving records. Use this value to paginate record retrieval. This functionality enables the retrieval of all records, regardless of the number of records, in small manageable chunks. For example, the first time you call this endpoint, sysparm_offset is set to "0". To simply page through all available records, use sysparm_offset=sysparm_offset+sysparm_limit, until you reach the end of all records.
Don't pass a negative number in the sysparm_offset parameter.Data type: Number
Default: 0
sysparm\_top\_level\_only
Only return those categories whose parent is a catalog.Valid values: - true: Only return those categories whose parent is a catalog. - false: Return all categories. Data type: Boolean
sysparm\_view
UI view for which to render the data. Determines the fields returned in the response.Valid values:
desktop
mobile
both
If you also specify the sysparm_fields parameter, it takes precedent.
Data type: String
Name
Description
None
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
Accept
Data format of the response body. Supported types: application/json or application/xml. Default: application/json
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
200
Returns a list of categories in a catalog. If there are no query results, then an empty array is returned.
400
Indicates that the request or catalog sys_id is invalid.
401
Unauthorized. The user credentials are incorrect or have not been passed.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Response body parameters (JSON or XML)
Name
Description
count
Number of items within the category.Data type: Number
description
Brief category description.Data type: String
full \_description
Detailed category description.Data type: String
header\_icon
Icon used on category headers.Data type: String
homepage\_image
Image that appears for this category on the category's home page.Data type: String
icon
Icon to use to signify this category.Data type: String
subcategories
List of subcategories within the category.Data type: Array ``` "subcategories": [ "sys_id": "String", "title": "String ]
</td></tr><tr><td>
subcategories.sys\_id
</td><td>
Sys\_id of the subcategory.Data type: String
</td></tr><tr><td>
subcategories.title
</td><td>
Title of the subcategory.Data type: String
</td></tr><tr><td>
sys\_id
</td><td>
Sys\_id of the category.Data type: String
</td></tr><tr><td>
title
</td><td>
Category title.Data type: String
</td></tr></tbody>
</table>
### cURL request
{ "result": [ { "title": "Can We Help You?", "description": "Your IT gateway. Report issues and submit requests.\n\t\t", "full_description": null, "icon": "", "header_icon": "", "homepage_image": "29f8ffa9471211002ee987e8dee4905e.iix", "count": 14, "subcategories": [], "sys_id": "e15706fc0a0a0aa7007fc21e1ab70c2f" }, { "title": "Departmental Services", "description": "Services offered by different departments in the organization", "full_description": null, "icon": "", "header_icon": "", "homepage_image": "6fb4a1d95f2211001c9b2572f2b47748.iix", "count": 1, "subcategories": [], "sys_id": "95fc11615f1211001c9b2572f2b477c6" }, { "title": "Desktops", "description": "Desktop computers for your work area.", "full_description": null, "icon": "", "header_icon": "", "homepage_image": "1bface31475211002ee987e8dee49095.iix", "count": 1, "subcategories": [], "sys_id": "900682363731300054b6a3549dbe5d5f" } ] }
## Service Catalog - GET /sn\_sc/servicecatalog/catalogs/\{sys\_id\}
Retrieves the available information for a specified catalog.
### URL format
Versioned URL: `/api/sn_sc/{api_version}/servicecatalog/catalogs/{sys_id}`
Default URL: `/api/sn_sc/servicecatalog/catalogs/{sys_id}`
**Note:** Available versions are specified in the [REST API Explorer](../rest-api-explorer/use-REST-API-Explorer.md). For scripted REST APIs there is additional version information on the [Scripted REST Service form](../rest-api-explorer/c_CustomWebServices.md).
### Supported request parameters
<table class="rest_api_path_parameters"><thead><tr><th>
Name
</th><th>
Description
</th></tr></thead><tbody><tr><td>
api\_version
</td><td id="version-entry-RESTAPI">
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
</td></tr><tr><td>
sys\_id
</td><td>
Sys\_id of the catalog to retrieve.Data type: String
</td></tr></tbody>
</table>
<table class="rest_api_query_parameters"><thead><tr><th>
Name
</th><th>
Description
</th></tr></thead><tbody><tr><td>
sysparm\_view
</td><td><p>Device on which the item can display: - <strong>desktop</strong>: On the desktop.
- <strong>mobile</strong>: On a mobile device.
- <strong>both</strong>: Both on a desktop and on a mobile device.</p>
<p>Data type: String</p></td></tr></tbody>
</table>
|Name|Description|
|----|-----------|
|None| |
### Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see [Supported REST API headers](../rest-api-explorer/c_RESTAPI.md).
<table class="rest_api_request_headers"><thead><tr><th>
Header
</th><th>
Description
</th></tr></thead><tbody><tr><td>
Accept
</td><td id="accept-entry-RESTAPI">Data format of the response body. Supported types: <strong>application/json</strong> or <strong>application/xml</strong>. Default: <strong>application/json</strong></td></tr></tbody>
</table>
|Header|Description|
|------|-----------|
|None| |
### Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see [REST API HTTP response codes](../rest-api-explorer/c_RESTAPI.md).
<table><thead><tr><th>
Status code
</th><th>
Description
</th></tr></thead><tbody><tr><td>
200
</td><td>
Indicates that the request has completed successfully and returns the available information for the specified catalog.
</td></tr><tr><td>
400
</td><td>
Indicates that request is invalid for one of the following reasons:- User does not have access to the catalog.
- Invalid sys\_id.
</td></tr><tr><td>
401
</td><td id="entry-401-status-code">
Unauthorized. The user credentials are incorrect or have not been passed.
</td></tr><tr><td>
500
</td><td id="entry-500-status-code">
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
</td></tr></tbody>
</table>
### Response body parameters \(JSON or XML\)
<table><thead><tr><th>
Name
</th><th>
Description
</th></tr></thead><tbody><tr><td>
categories
</td><td>
List of objects that describe categories within the catalog.Data type: Array
```
"categories": [
"description": "String",
"header_image": "String",
"sys_id": "String",
"title": "String
]
Source of the image that displays with the catalog in the desktop view.Data type: String
has\_categories
Flag that indicates whether the catalog has categories.Possible values: - true: Catalog has categories. - false: Catalog does not have categories. Data type: Boolean
has\_items
Flag that indicates whether there are items within the category. Possible values: - true: Catalog has items associated with it. - false: Catalog does not have any items associated with it. Data type: Boolean
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
sys\_id
Sys\_id of the category for which to return information.Data type: String
Name
Description
sysparm\_view
UI view for which to render the data. Determines the fields returned in the response.Valid values:
desktop
mobile
both
If you also specify the sysparm_fields parameter, it takes precedent.
Data type: String
Name
Description
None
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
Accept
Data format of the response body. Supported types: application/json or application/xml. Default: application/json
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
200
Successful. The request was successfully processed.
400
Indicates that request is invalid for one of the following reasons:- User does not have access to the category. - Invalid sys\_id.
401
Unauthorized. The user credentials are incorrect or have not been passed.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Response body parameters (JSON or XML)
Name
Description
child\_categories
List of objects that describe the child categories that belong to this category. Data type: Array ``` "child_categories": [ "count": Number, "isParentCategory": "String", "parent": "String", "subcategories": [Array], "sys_id": "String", "title": "String" ]
</td></tr><tr><td>
child\_categories.count
</td><td>
Number of items in the child category.Data type: Number
</td></tr><tr><td>
child\_categories.isParentCategory
</td><td>
Flag that indicates if this is a parent category.Possible values:
- true: Parent category.
- false: Not the parent category.
Data type: Boolean
</td></tr><tr><td>
child\_categories.parent
</td><td>
Sys\_id of the child category's parent.Data type: String
</td></tr><tr><td>
child\_categories.subcategories
</td><td>
List of objects that describe the subcategories for this child category.Data type: Array
```
"subcategories": [
"sys_id": "String",
"title": "String"
]
child\_categories.subcategories.sys\_id
Sys\_id of the child subcategory.Data type: String
child\_categories.subcategories.title
Child subcategory title.Data type: String
child\_categories.sys\_id
Sys\_id of the child category.Data type: String
child\_categories.title
Child category title.Data type: String
description
Short category description.Data type: String
full\_description
Detailed category description.Data type: String
header\_icon
Source of the icon displayed beside the category header when the category is listed at the top-level category.Data type: String
homepage\_image
Source of the home page image for the category.Data type: String
icon
Source of the small icon displayed beside the category name when the category is listed as a subcategory.Data type: String
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
Name
Description
sysparm\_catalog
Catalog sys\_id of the item. Use this parameter to locate items in a specific catalog.Data type: String
sysparm\_category
Category sys\_id of the item. Use this parameter to locate catalog items in a specific category.Data type: String
sysparm\_limit
Maximum number of records to return. For requests that exceed this number of records, use the sysparm_offset parameter to paginate record retrieval. This limit is applied before ACL evaluation. If no records return, including records you have access to, rearrange the record order so records you have access to return first.
Note: Unusually large sysparm_limit values can impact system performance.
Data type: Number
Default: 10000
sysparm\_offset
Starting record index for which to begin retrieving records. Use this value to paginate record retrieval. This functionality enables the retrieval of all records, regardless of the number of records, in small manageable chunks. For example, the first time you call this endpoint, sysparm_offset is set to "0". To simply page through all available records, use sysparm_offset=sysparm_offset+sysparm_limit, until you reach the end of all records.
Don't pass a negative number in the sysparm_offset parameter.Data type: Number
Default: 0
sysparm\_text
Specific text for which to search for in the category items. For example, `sysparm_text="iPhone"` or `sysparm_text="Mobile devices"`.Data type: String
sysparm\_type
Type of item.Valid search values: - Record Producer - Order Guide If any other value is passed, the information is ignored.Data type: String
sysparm\_view
UI view for which to render the data. Determines the fields returned in the response.Valid values:
desktop
mobile
both
If you also specify the sysparm_fields parameter, it takes precedent.
Data type: String
Name
Description
None
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
Accept
Data format of the response body. Supported types: application/json or application/xml. Default: application/json
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
200
Returns a list of catalogs and items based on the specified parameters. If a valid query results in no items, then the response body contains only an empty result array.
401
Unauthorized. The user credentials are incorrect or have not been passed.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Response body parameters (JSON or XML)
Parameter
Description
catalogs
List of objects that describe the catalogs that contain this item.Data type: Array ``` "catalogs": [{ "sys_id": "String", "title": "String" }]
</td></tr><tr><td>
catalogs.sys\_id
</td><td>
Sys\_id of the catalog.Data type: String
</td></tr><tr><td>
catalogs.title
</td><td>
Catalog title.Data type: String
</td></tr><tr><td>
category
</td><td>
Describes the category that contains this item.Data type: Object
```
"catalogs": {
"sys_id": "String",
"title": "String"
}
category.sys\_id
Sys\_id of the category.Data type: String
category.title
Category titleData type: String
content\_type
Type of content.Data type: String
description
Detailed description of the item.Data type: String
icon
Source of the small icon displayed beside the item name.Data type: String
kb\_article
Knowledge based article associated with the item.Data type: String
local\_currency
Country currency code for the local currency.Data type: String
localized\_price
Price of the item expressed in the currency defined by local_currency.Data type: String
localized\_recurring\_price
Price of the recurring fee expressed in the currency defined by local_currency.Data type: String
name
Name of the item.Data type: String
order
Pre-defined order to which the item belongs.Data type: Number
picture
Path to the image to display for the item.Data type: String
price
Price of item expressed in the currency defined by price_currency.Data type: String
price\_currency
Country currency code for which the item price is expressed.Data type: String
recurring\_frequency
Frequency at which the recurring fees are applied, such as daily, monthly, or yearly; null if there are no fees for the item.Data type: String
recurring\_price
Amount of the recurring fee associated with the item.Data type: String
recurring\_price\_currency
Country currency code for which the recurring fees are expressed.Data type: String
short\_description
Brief description of the item.Data type: String
show\_price
Flag that indicates whether to show item pricing in the cart. Possible values: - true: Name-value pairs are returned in the response parameters. - false: Name-value pairs are not returned in the response parameters. Data type: Boolean
show\_quantity
Flag that indicates whether to display the item quantity in the cart.Possible values: - true: Display the item quantity in the cart. - false: Do not display the item quantity in the cart. Data type: Boolean
sys\_class\_name
Table to which the record belongs, such as sc\_cat\_item\_producer.Data type: String
{
"result": [
{
"short_description": null,
"kb_article": "",
"icon": "images/icons/catalog_item.gifx",
"description": "<p class=\"p1\"><font size=\"2\"><span class=\"s1\">Request an existing Standard Change Template is made unavailable when it is no longer required or no longer acceptable as a Standard Change. This will be confirmed by your Change Management team.</span></font></p>",
"show_price": false,
"type": "record_producer",
"show_quantity": true,
"sys_class_name": "sc_cat_item_producer",
"picture": "",
"url": "",
"sys_id": "011f117a9f3002002920bde8132e7020",
"content_type": "",
"catalogs": [
{
"sys_id": "e0d08b13c3330100c8b837659bba8fb4",
"title": "Service Catalog"
}
],
"name": "Retire a Standard Change Template",
"category": {
"sys_id": "00728916937002002dcef157b67ffb6d",
"title": "Template Management"
},
"order": 30
},
{
"short_description": null,
"kb_article": "",
"icon": "4cc3ec3d471211002ee987e8dee490d0.iix",
"description": "<p><font size=\"3\" color=\"#808080\" face=\"arial,helvetica,sans-serif\">A role delegator may delegate any role they have to any member of the specified group</font></p>",
"show_price": false,
"type": "record_producer",
"show_quantity": true,
"sys_class_name": "sc_cat_item_producer",
"picture": "ed44b5804f889200086eeed18110c7ca.iix",
"url": "",
"sys_id": "01205b180a0a0b3000b6efd641d24b75",
"content_type": "",
"catalogs": [
{
"sys_id": "e0d08b13c3330100c8b837659bba8fb4",
"title": "Service Catalog"
}
],
"name": "Grant role delegation rights within a group",
"category": {
"sys_id": "496a3a7e0a0a0bc00089b39df14eb56e",
"title": "Role Delegation"
},
"order": 100
}
]
}
Service Catalog - GET /sn_sc/servicecatalog/items/{item_sys_id}/delegation/{user_sys_id}
Verifies whether the specified delegated user has acquisition rights to the specified service catalog item.
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
item\_sys\_id
Sys\_id of the service catalog item to verify whether the specified user has acquisition rights.Data type: String Table: Service Catalog \[sc\_catalog\]
user\_sys\_id
Sys\_id of the user to check whether they have acquisition rights to the specified service catalog item.Data type: String Table: Users \[sys\_users\]
Name
Description
None
Name
Description
None
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
Accept
Data format of the response body. Supported types: application/json or application/xml. Default: application/json
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
200
Successful. The request was successfully processed.
401
Unauthorized. The user credentials are incorrect or have not been passed.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Response body parameters (JSON or XML)
Name
Description
result
Flag that indicates whether the specified user has acquisition rights to the specified service catalog item.Valid values: - true: User has acquisition rights. - false: User does not have acquisition rights.
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
sys\_id
Sys\_id of the catalog item to return.Data type: String
Name
Description
sysparm\_view
UI view for which to render the data. Determines the fields returned in the response.Valid values:
desktop
mobile
both
If you also specify the sysparm_fields parameter, it takes precedent.
Data type: String
Name
Description
None
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
Accept
Data format of the response body. Supported types: application/json or application/xml. Default: application/json
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
200
Indicates that the request has completed successfully and returns the details of the catalog item.
400
Indicates that request is invalid for one of the following reasons:- User does not have access to the catalog item. - Invalid sys\_id.
401
Unauthorized. The user credentials are incorrect or have not been passed.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Response body parameters (JSON or XML)
Name
Description
catalogs
List of objects that describe the catalogs that contain this item.Data type: Array ``` "catalogs": [{ "sys_id": "String", "title": "String" }]
</td></tr><tr><td>
catalogs.sys\_id
</td><td>
Sys\_id of the catalog.Data type: String
</td></tr><tr><td>
catalogs.title
</td><td>
Catalog title.Data type: String
</td></tr><tr><td>
categories
</td><td>
List of objects that describe the categories that contains this item.Data type: Array
```
"categories": [{
"active": Boolean,
"category": {Object},
"sys_id": "String",
"title": "String"
}]
categories.active
Flag that indicates whether the category is active.Possible values: - true: Category is active. - false: Category is inactive. Data type: Boolean
</td></tr><tr><td>
categories.category.active
</td><td>
Flag that indicates whether the category is active.Possible values:
- true: Category is active.
- false: Category is inactive.
Data type: Boolean
</td></tr><tr><td>
categories.category.sys\_id
</td><td>
Sys\_id of the category.Data type: String
</td></tr><tr><td>
categories.category.title
</td><td>
Category title.Data type: String
</td></tr><tr><td>
categories.sys\_id
</td><td>Parent category of the category specified in <strong>categories.category</strong>.Data type: String</td></tr><tr><td>
category
</td><td>
Primary category to which the item belongs.Data type: Object
```
"category": {
"sys_id": "String",
"title": "String"
}
category.sys\_id
Sys\_id of the primary category.Data type: String
category.title
Primary category's title.Data type: String
client\_script
List of all the catalog client scripts defined on the catalog item.Data type: Object ``` "client_script": { "onChange": [Array], "onLoad": [Array], "onSubmit": [Array] }
</td></tr><tr><td>
client\_script.onChange
</td><td>
List of onChange client scripts associated with the item.Data type: Array
</td></tr><tr><td>
client\_script.onSubmit
</td><td>
List of onSubmit client scripts associated with the item.Data type: Array
</td></tr><tr><td>
client\_script.onLoad
</td><td>
List of onLoad client scripts associated with the item.Data type: Array
</td></tr><tr><td>
content\_type
</td><td>
Type of content.Data type: String
</td></tr><tr><td>
data\_lookup
</td><td>
List of data lookups defined on the catalog item.Data type: Array
</td></tr><tr><td>
description
</td><td>
Detailed description of the item.Data type: String
</td></tr><tr><td>
icon
</td><td>
Source of the small icon displayed beside the item name.Data type: String
</td></tr><tr><td>
kb\_article
</td><td>
Knowledge based article associated with the item.Data type: String
</td></tr><tr><td>
local\_currency
</td><td>
Country currency code for the local currency.Data type: String
</td></tr><tr><td>
localized\_price
</td><td>Price of the item expressed in the currency defined by <strong>local_currency</strong>.Data type: String</td></tr><tr><td>
localized\_recurring\_price
</td><td>Price of the recurring fee expressed in the currency defined by <strong>local_currency</strong>.Data type: String</td></tr><tr><td>
name
</td><td>
Name of the item.Data type: String
</td></tr><tr><td>
order
</td><td>
Number of orders for the item.Data type: Number
</td></tr><tr><td>
picture
</td><td>
File name of the image to display for the item.Data type: String
</td></tr><tr><td>
price
</td><td>Price of item expressed in the currency defined by <strong>price_currency</strong>.Data type: String</td></tr><tr><td>
price\_currency
</td><td>
Country currency code for which the item price is expressed.Data type: String
</td></tr><tr><td>
recurring\_frequency
</td><td>
Frequency at which the recurring fees are applied, such as daily, monthly, or yearly.Data type: String
</td></tr><tr><td>
recurring\_price
</td><td>
Amount of the recurring fee associated with the itemData type: String
</td></tr><tr><td>
recurring\_price\_currency
</td><td>
Country currency code for which the recurring fees are expressed.Data type: String
</td></tr><tr><td>
short\_description
</td><td>
Brief description of the item.Data type: String
</td></tr><tr><td>
show\_price
</td><td>
Flag that indicates whether to show item pricing in the cart.Possible values:
- true: Pricing name/value pairs are returned in the response parameters.
- false: Pricing name/value pairs are not returned in the response parameters.
Data type: Boolean
</td></tr><tr><td>
show\_quantity
</td><td>
Flag that indicates whether to display the item quantity in the cart.Possible values:
- true: Display the item quantity in the cart.
- false: Do not display the item quantity in the cart.
Data type: Boolean
</td></tr><tr><td>
sys\_class\_name
</td><td>
Name of the table to which this record belongs.Data type: String
</td></tr><tr><td>
sys\_id
</td><td>
Sys\_id of the item.Data type: String
</td></tr><tr><td>
type
</td><td>
Type of item.Data type: String
</td></tr><tr><td>
ui\_policy
</td><td>
List of UI policies associated with the item.Data type: Array
</td></tr><tr><td>
url
</td><td>
URL of item image.Data type: String
</td></tr><tr><td>
variables
</td><td>
List of available variables associated with the item.Data type: Array
</td></tr></tbody>
</table>
### cURL request
## Service Catalog - GET /sn\_sc/servicecatalog/wishlist
Retrieves the list of items in the logged in user's wish list.
### URL format
Versioned URL: `/api/sn_sc/{api_version}/servicecatalog/wishlist`
Default URL: `/api/sn_sc/servicecatalog/wishlist`
**Note:** Available versions are specified in the [REST API Explorer](../rest-api-explorer/use-REST-API-Explorer.md). For scripted REST APIs there is additional version information on the [Scripted REST Service form](../rest-api-explorer/c_CustomWebServices.md).
### Supported request parameters
<table class="rest_api_path_parameters"><thead><tr><th>
Name
</th><th>
Description
</th></tr></thead><tbody><tr><td>
api\_version
</td><td id="version-entry-RESTAPI">
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
</td></tr></tbody>
</table>
|Name|Description|
|----|-----------|
|None| |
|Name|Description|
|----|-----------|
|None| |
### Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see [Supported REST API headers](../rest-api-explorer/c_RESTAPI.md).
<table class="rest_api_request_headers"><thead><tr><th>
Header
</th><th>
Description
</th></tr></thead><tbody><tr><td>
Accept
</td><td id="accept-entry-RESTAPI">Data format of the response body. Supported types: <strong>application/json</strong> or <strong>application/xml</strong>. Default: <strong>application/json</strong></td></tr></tbody>
</table>
|Header|Description|
|------|-----------|
|None| |
### Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see [REST API HTTP response codes](../rest-api-explorer/c_RESTAPI.md).
|Status code|Description|
|-----------|-----------|
|200|Successful. The request was successfully processed.|
|401|Unauthorized. The user credentials are incorrect or have not been passed.|
|500|Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.|
### Response body parameters \(JSON or XML\)
<table><thead><tr><th>
Name
</th><th>
Description
</th></tr></thead><tbody><tr><td>
cart\_id
</td><td>
Sys\_id of the wish list cart.Data type: String
</td></tr><tr><td>
items
</td><td>
List of objects that describe the items in the wish list cart.Data type: Array
```
"items": [{
"cart_item_id": "String",
"catalog_item_id": "String",
"created_by": "String",
"created_on": "String",
"delivery_time": "String",
"item_id": "String",
"item_name": "String",
"localized_price": "String",
"localized_recurring_price": "String",
"name": "String",
"order_guide": "String",
"picture": "String",
"price": "String",
"quantity": "String",
"recurring_frequency": "String",
"recurring_price": "String",
"recurring_subtotal": Number,
"recurring_subtotal_price": "String",
"short_descriptions": "String",
"show_price": Boolean,
"show_quantity": Boolean,
"show_recurring_price": Boolean,
"subtotal": Number,
"subtotal_price": "String",
"sys_class_name": "String",
"sys_id": "String",
"updated_by": "String",
"updated_on": "String",
"variables": {Object}
}]
items.cart\_item\_id
Sys_id of the item. Same as items.sys_id.Data type: String
items.catalog\_item\_id
Sys_id of the catalog identifier for this item in the wish list cart. Same as items.item_id.Data type: String
items.created\_by
User that initially put the item in the wish list cart.Data type: String
items.created\_on
Date and time that the item was initially placed in the wishlist cart.Data type: String
items.delivery\_time
Amount of time that it takes to deliver the item.Data type: String
items.item\_id
Unique catalog identifier for this item in the wish list cart \(sys\_id\). Same as items.catalog\_item\_id.Data type: String
items.item\_name
Name of the item.Data type: String
items.localized\_price
Price of the item expressed in the local currency.Data type: String
items.localized\_recurring\_price
Price of the recurring fee expressed in the local currency.Data type: String
items.name
Name of the item.Data type: String
items.order\_guide
Order guide to which the item is associated.Data type: String
items.picture
Path to the image to display for the item.Data type: String
items.price
Price of item.Data type: String
items.quantity
Number of this item in the wish list cart.Data type: String
items.recurring\_frequency
Frequency at which the recurring fees are applied, such as daily, monthly, or yearly. Null if no recurring fees for this item.Data type: String
items.recurring\_price
Amount of the recurring fee associated with the item.Data type: String
items.recurring\_subtotal
Subtotal for the recurring fees for this item \(recurring\_price x quantity\).Data type: Number
items.recurring\_subtotal\_price
Subtotal for the recurring fees for this item \(recurring\_price x quantity\).Data type: String
items.short\_description
Brief description of the item.Data type: String
items.show\_price
Flag that indicates whether to show item pricing in the cart. If this parameter is set to "false", pricing name/value pairs are not returned in the response parameters.Data type: Boolean
items.show\_quantity
Flag that indicates whether to display the item quantity in the cart.Data type: Boolean
items.show\_recurring\_price
Flag that indicates whether to display the recurring fees in the cart.Data type: Boolean
items.subtotal
Subtotal for this item - not including cents \(price x quantity\).Data type: Number
items.subtotal\_price
Subtotal for this item - including cents \(price x quantity\).Data type: String
items.sys\_class\_name
Child class to which the associated item record belongs.Data type: String
items.sys\_id
Unique identifier of the item \(sys\_id\). Same as items.cart\_item\_id.Data type: String
items.updated\_by
User that updated this item in the wish list cart.Data type: String
items.updated\_on
Date and time that the item was put on the wishlist.Data type: String
items.variables
Name-value pairs of variables associated with the item.Data type: Object
Sys\_id of the wish list cart item to retrieve.Data type: String
Name
Description
None
Name
Description
None
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
Accept
Data format of the response body. Supported types: application/json or application/xml. Default: application/json
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
200
Successful. The request was successfully processed.
401
Unauthorized. The user credentials are incorrect or have not been passed.
404
Indicates a failed request. Incorrect cart item id or the item does not exist in the wish list cart.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Response body parameters (JSON or XML)
Name
Description
cart\_item\_id
Sys\_id of the item.Data type: String
catalog\_item\_id
Sys\_id of the catalog identifier for this item in the wish list cart.Data type: String
delivery\_time
Amount of time that it takes to deliver the item.Data type: String
item\_name
Name of the item.Data type: String
localized\_price
Price of the item expressed in the local currency.Data type: String
localized\_recurring\_price
Price of the recurring fee expressed in the local currency.Data type: String
price
Price of item.Data type: String
quantity
Number of this item in the wish list cart.Data type: String
recurring\_frequency
Frequency at which the recurring fees are applied, such as daily, monthly, or yearly. Null if no recurring fees for this item.Data type: String
recurring\_price
Amount of the recurring fee associated with the item.Data type: String
variables
Name-value pairs of the variables associated with the item.Data type: Object
Service Catalog - POST /sn_sc/servicecatalog/cart/checkout
Retrieves and processes the checkout for the current cart based on whether the two-step checkout process is enabled.
If one-step checkout, the method checks out (saves) the cart and returns the request number and the request order ID. If two-step checkout, the method returns the cart order status and all the information required for two-step checkout.
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
Name
Description
None
Name
Description
None
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
Accept
Data format of the response body. Supported types: application/json or application/xml. Default: application/json
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
200
Indicates that the request completed successfully. Returns the total and subtotal information and information on the items in the cart. If one-step checkout, the method checks out \(saves\) the cart and returns the request number and the request order ID. If two-step checkout, the method returns the cart order status and all the information required for two-step checkout.
400
Indicates that the cart is empty and cannot check out.
401
Unauthorized. The user credentials are incorrect or have not been passed.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Response body parameters (JSON or XML)
Parameter
Description
cart\_id
Sys\_id of the cart.Data type: String
delivery\_address
Address to which to deliver the cart items.Data type: String
<recurring\_frequency>
List of items in the cart having a specific recurring frequency. Possible values include:- daily - monthly - yearly - none \(no recurring fees\) Data type: Object ``` "": { "frequency_label": "String", "items": [Array], "show_subtotal_price": "String", "subtotal_price": "String", "subtotal_recurring_frequency": "String", "subtotal_recurring_price": "String", "subtotal_title": "String", "total_title": "String" }
</td></tr><tr><td>
<recurring\_frequency>.frequency\_label
</td><td>
Frequency of the associated recurring fee. If there are no recurring fees for the item, this parameter contains "null".Data type: String
</td></tr><tr><td>
<recurring\_frequency>.items
</td><td>
Array of objects that contains details of each item associated with the specified recurring frequency category.Data type: Array
```
"items": [{
"cart_item_id": "String",
"catalog_item_id": "String",
"created.by": "String",
"created_on": "String",
"delivery_time": "String",
"item_id": "String",
"item_name": "String",
"localized_price": "String",
"localized_recurring_price": "String",
"name": "String",
"order_guide": "String",
"picture": "String",
"price": "String",
"quantity": "String",
"recurring_frequency": "String",
"recurring_price": "String",
"recurring_subtotal": Number,
"recurring_subtotal_price": "String",
"short_description": "String",
"show_price": Boolean,
"show_quantity": Boolean,
"show_recurring_price": Boolean,
"subtotal": Number,
"subtotal_price": "String",
"sys_class_name": "String",
"sys_id": "String",
"updated_by": "String",
"updated_on": "String",
"variables": {Object}
}]
<recurring\_frequency>.items.cart\_item\_id
Sys\_id of the item in this cart.Data type: String
<recurring\_frequency>.items.catalog\_item\_id
Catalog sys\_id of the item.Data type: String
<recurring\_frequency>.items.created.by
User that initially placed the item in the cart.Data type: String
<recurring\_frequency>.items.created\_on
Date on which the item was initially placed in the cart.Data type: String
<recurring\_frequency>.items.delivery\_time
Time that the specified item takes to be delivered.Data type: String
<recurring\_frequency>.items.item\_id
Sys\_id of the item. Data type: String
<recurring\_frequency>.items.item\_name
Name of the specified item.Data type: String
<recurring\_frequency>.items.localized\_price
Price of the item in local currency.Data type: String
Recurring fee for the specified item in local currency.Data type: String
<recurring\_frequency>.items.name
Item name.Data type: String
<recurring\_frequency>.items.order\_guide
Name of the order guide to which this item is associated. If this item is not associated with an order guide this parameter contains an empty string.Data type: String
<recurring\_frequency>.items.picture
File name of the picture of the item.Data type: String
<recurring\_frequency>.items.price
Price of the item.Data type: String
<recurring\_frequency>.items.quantity
Number of the specified item in the cart.Data type: String
<recurring\_frequency>.items.recurring\_frequency
How often the recurring fee is charged for the specified item. If there are no recurring fees for the item, this parameter contains "null".Data type: String
<recurring\_frequency>.items.recurring\_price
Recurring fee for the specified item.Data type: String
<recurring\_frequency>.items.recurring\_subtotal
Subtotal of the recurring fees for the item (recurring_price x quantity).Data type: Number
Subtotal of the recurring fees for the item.Data type: String
<recurring\_frequency>.items.short\_description
Short description of the item.Data type: String
<recurring\_frequency>.items.show\_price
Flag that indicates whether the price of the item is shown in the cart.Possible values: - true: Show the price of the item in the cart. - false: Do not show the price of the item in the cart. Data type: Boolean
<recurring\_frequency>.items.show\_quantity
Flag that indicates whether to show the item quantity in the cart.Possible values: - true: Show the item quantity in the cart. - false: Do not show the item quantity in the cart. Data type: Boolean
Flag that indicates whether the recurring fees should appear in the cart.Possible values: - true: Show the recurring fees in the cart. - false: Do not show the recurring fees in the cart. Data type: Boolean
<recurring\_frequency>.items.subtotal
Subtotal number of items.Data type: Number
<recurring\_frequency>.items.subtotal\_price
Subtotal for the item (price x quantity).Data type: String
<recurring\_frequency>.items.sys\_class\_name
System classification name of the item.Data type: String
<recurring\_frequency>.items.sys\_id
Sys\_id of the item record.Data type: String
<recurring\_frequency>.items.updated\_by
User that updated the item after it was initially placed in the cart.Data type: String
<recurring\_frequency>.items.updated\_on
Last date/time on which the item was either initially placed in the cart or updated.Data type: String
<recurring\_frequency>.items.variables
List of name-value pairs of the item variables.Data type: Object
<recurring\_frequency>.show\_subtotal\_price
Flag that indicates whether to show a subtotal for the associated recurring fee category.Possible values: - true: Show subtotals in the cart. - false: Do not show subtotals in the cart. Data type: Boolean
<recurring\_frequency>.subtotal\_price
Subtotal of the cost of all items for the associated recurring frequency category.Data type: String
Type of subtotal recurring frequency, such as daily, monthly, etc. Same as subtotal_recurring_frequency.Data type: String
<recurring\_frequency>.subtotal\_recurring\_price
Subtotal of the recurring fees of the items within the associated recurring frequency category.Data type: String
<recurring\_frequency>.subtotal\_title
If the show_subtotal_price is set to true, the text to display in the cart for the associated subtitle.Data type: String
<recurring\_frequency>.total\_title
Text to display for the total title for the associated recurring frequency category.Data type: String
requested\_for
Sys\_id of the user for whom the item was ordered.Data type: String
requested\_for\_user
User that requested the item on behalf of someone else.Data type: String
show\_subtotal\_price
Flag that indicates whether to show the subtotal price in the cart.Possible values: - true: Show subtotals in the cart. - false: Do not show subtotals in the cart. Data type: String
special\_instructions
Any instructions given by the customer on the item.Data type: String
subtotal\_price
Subtotal of all items in the cart in whole dollars.Data type: String
subtotal\_recurring\_frequency
Type of subtotal recurring frequency, such as daily, monthly, etc. Same as <recurring_frequency>.subtotal_recurring_frequency.Data type: String
subtotal\_recurring\_price
Subtotal of the recurring frequency fees for all items in the cart.Data type: String
subtotal\_title
Text to display in the cart for the subtotal field title.Data type: String
total\_title
Text to display in the cart for the total field title.Data type: String
Service Catalog - POST /sn_sc/servicecatalog/cart/submit_order
Checks out the user cart, based on the current check-out type (one-step or two-step).
If one-step checkout, the method checks out (saves) the cart and returns the request number and the request order ID. If two-step checkout, the method returns the cart order status and all the information required for two-step checkout.
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
Name
Description
None
Name
Description
None
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
Accept
Data format of the response body. Supported types: application/json or application/xml. Default: application/json
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
200
Indicates that the request completed successfully and the items in the cart are successfully checked out.If one-step checkout, the method checks out \(saves\) the cart and returns the request number and the request order ID. If two-step checkout, the method returns the cart order status and all the information required for two-step checkout.
400
Indicates that the user cart is empty.
401
Unauthorized. The user credentials are incorrect or have not been passed.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Response body parameters (JSON or XML)
Name
Description
parent\_id
If available, sys\_id of the parent record from which the request is created. For more information, see Configure a parent mapping for a request.Data type: String
parent\_table
Name of the parent table.Data type: String
request\_id
Sys\_id of the order request generated.Data type: String
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
sys\_id
Sys\_id of the item to add to the current cart.Data type: String
Name
Description
None
Name
Description
sysparm\_also\_request\_for
Comma-separated string of user sys_ids of other users for which to order the specified item.- You cannot specify more than 50 additional users to receive the item. - If any person in the list doesn't qualify for the item, the entire request is rejected. - If the associated item does not have the requested_for variable set, the request is rejected. - If the associated item has the requested_for variable set, but the Enable also Request for variable is not configured, or the calling user doesn’t have the proper roles, the request is rejected.
Table: User [sys_user]
sysparm\_quantity
Required. Quantity of the item. Cannot be a negative number.Data type: Number
sysparm\_requested\_for
Sys\_id of the user for whom to order the specified item.Data type: String Table: User \[sys\_user\]
variables
Name-value pairs of all mandatory cart item variables. Mandatory variables are defined on the associated form.Data type: String
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
None
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
200
Successful. The request was successfully processed.
400
The following errors can occur:- Invalid quantity value: Indicates that either the sysparm_quantity parameter is not provided or contains an invalid value. - Security constraints prevent ordering of Item: Indicates that either the cart item sys_id specified in the path parameters is invalid or the user does not have access to the item. - Mandatory Variables are required: Indicates that one or more of the mandatory variables is not provided in the request.
401
Unauthorized. The user credentials are incorrect or have not been passed.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Response body parameters (JSON or XML)
Name
Description
cart\_id
Cart sys\_id.Data type: String
items
Details of all of the items in the cart.Data type: Array ``` "items":[ { "cart_item_id":"String", "catalog_item_id":"String", "item_name":"String", "localized_recurring_price":"String", "localized_price":"String", "price":"String", "quantity":"String", "recurring_frequency":"String", "recurring_price":"String" } ]
</td></tr><tr><td>
items.cart\_item\_id
</td><td>
Sys\_id of the item.Data type: String
</td></tr><tr><td>
items.catalog\_item\_id
</td><td>
Catalog sys\_id of the item.Data type: String
</td></tr><tr><td>
items.item\_name
</td><td>
Name of the item.Data type: String
</td></tr><tr><td>
items.localized\_price
</td><td>
Price of the item, in the user's local currency.Data type: String
</td></tr><tr><td>
items.localized\_recurring\_price
</td><td>
Recurring price of the item, in the user's local currency.Data type: String
</td></tr><tr><td>
items.price
</td><td>
Base price.Data type: String
</td></tr><tr><td>
items.quantity
</td><td>
Quantity of the item in the cart.Data type: String
</td></tr><tr><td>
items.recurring\_frequency
</td><td>
Frequency at which the recurring price is applied.Data type: String
</td></tr><tr><td>
items.recurring\_price
</td><td>
Recurring price.Data type: String
</td></tr><tr><td>
subtotal
</td><td>
Subtotal of the items in the cart.Data type: String
</td></tr></tbody>
</table>
### Sample cURL request and response
## Service Catalog - POST /sn\_sc/servicecatalog/items/\{sys\_id\}/add\_to\_wishlist
Adds the specified item to the wish list cart.
### URL format
Versioned URL: `/api/sn_sc/{api_version}/servicecatalog/items/{sys_id}/add_to_wishlist`
Default URL: `/api/sn_sc/ servicecatalog/items/{sys_id}/add_to_wishlist`
**Note:** Available versions are specified in the [REST API Explorer](../rest-api-explorer/use-REST-API-Explorer.md). For scripted REST APIs there is additional version information on the [Scripted REST Service form](../rest-api-explorer/c_CustomWebServices.md).
### Supported request parameters
<table class="rest_api_path_parameters"><thead><tr><th>
Name
</th><th>
Description
</th></tr></thead><tbody><tr><td>
api\_version
</td><td id="version-entry-RESTAPI">
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
</td></tr><tr><td>
sys\_id
</td><td>
Sys\_id of the item to add to the wish list. Data type: String
</td></tr></tbody>
</table>
|Name|Description|
|----|-----------|
|None| |
|Name|Description|
|----|-----------|
|None| |
### Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see [Supported REST API headers](../rest-api-explorer/c_RESTAPI.md).
<table class="rest_api_request_headers"><thead><tr><th>
Header
</th><th>
Description
</th></tr></thead><tbody><tr><td>
Accept
</td><td id="accept-entry-RESTAPI">Data format of the response body. Supported types: <strong>application/json</strong> or <strong>application/xml</strong>. Default: <strong>application/json</strong></td></tr><tr><td>
Content-Type
</td><td id="content_type-entry-RESTAPI">Data format of the request body. Supported types: <strong>application/json</strong> or <strong>application/xml</strong>. Default: <strong>application/json</strong></td></tr></tbody>
</table>
|Header|Description|
|------|-----------|
|None| |
### Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see [REST API HTTP response codes](../rest-api-explorer/c_RESTAPI.md).
|Status code|Description|
|-----------|-----------|
|200|Successful. The request was successfully processed.|
|400|Indicates a failed request. Invalid request data or the user cannot add item to the wish list.|
|401|Unauthorized. The user credentials are incorrect or have not been passed.|
|500|Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.|
### Response body parameters \(JSON or XML\)
|Name|Description|
|----|-----------|
|None||
### cURL request
## Service Catalog - POST /sn\_sc/servicecatalog/items/\{sys\_id\}/checkout\_guide
Retrieves an array of contents requested for checkout.
### URL format
Versioned URL: `/api/sn_sc/{api_version}/servicecatalog/items/{sys_id}/checkout_guide`
Default URL: `/api/sn_sc/servicecatalog/items/{sys_id}/checkout_guide`
**Note:** Available versions are specified in the [REST API Explorer](../rest-api-explorer/use-REST-API-Explorer.md). For scripted REST APIs there is additional version information on the [Scripted REST Service form](../rest-api-explorer/c_CustomWebServices.md).
### Supported request parameters
<table class="rest_api_path_parameters"><thead><tr><th>
Name
</th><th>
Description
</th></tr></thead><tbody><tr><td>
api\_version
</td><td id="version-entry-RESTAPI">
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
</td></tr><tr><td>
sys\_id
</td><td>
Sys\_id of the checkout guide for which to return the information.Data type: String
</td></tr></tbody>
</table>
|Name|Description|
|----|-----------|
|None| |
<table class="rest_api_request_body"><thead><tr><th>
Name
</th><th>
Description
</th></tr></thead><tbody><tr><td>
items
</td><td>
List of object that describe the items requested for checkout. Data type: Array
</td></tr><tr><td>
items.sys\_id
</td><td>
Required. Sys\_id of the catalog item.Data type: String
</td></tr><tr><td>
items.sysparm\_quantity
</td><td>
Number of items.Data type: String
Default: 1
</td></tr><tr><td>
items.variables
</td><td>
Name-value pairs of variables associated with the item.Data type: Object
Default: No variables
</td></tr></tbody>
</table>
### Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see [Supported REST API headers](../rest-api-explorer/c_RESTAPI.md).
<table class="rest_api_request_headers"><thead><tr><th>
Header
</th><th>
Description
</th></tr></thead><tbody><tr><td>
Accept
</td><td id="accept-entry-RESTAPI">Data format of the response body. Supported types: <strong>application/json</strong> or <strong>application/xml</strong>. Default: <strong>application/json</strong></td></tr><tr><td>
Content-Type
</td><td id="content_type-entry-RESTAPI">Data format of the request body. Supported types: <strong>application/json</strong> or <strong>application/xml</strong>. Default: <strong>application/json</strong></td></tr></tbody>
</table>
|Header|Description|
|------|-----------|
|None| |
### Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see [REST API HTTP response codes](../rest-api-explorer/c_RESTAPI.md).
<table><thead><tr><th>
Status code
</th><th>
Description
</th></tr></thead><tbody><tr><td>
200
</td><td>
Indicates that the request has completed successfully.- Is not two-step: Items are added to the cart and the cart contents are returned.
- Is two-step: Returns the request number and request sys\_id after checkout.
</td></tr><tr><td>
400
</td><td>
Indicates that the request is invalid. Could be due to one of the following reasons:- One or more items sent do not exist.
- User does not have access to one or more of the items.
- Mandatory variables of one or more items have not been answered. \(Only variables defined as mandatory are honored.\)
- Quantity value is sent and is not a positive integer.
</td></tr><tr><td>
401
</td><td id="entry-401-status-code">
Unauthorized. The user credentials are incorrect or have not been passed.
</td></tr><tr><td>
500
</td><td id="entry-500-status-code">
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
</td></tr></tbody>
</table>
### Response body parameters \(JSON or XML\)
<table><thead><tr><th>
Name
</th><th>
Description
</th></tr></thead><tbody><tr><td>
cart\_id
</td><td>
Sys\_id of the cart.Data type: String
</td></tr><tr><td>
items
</td><td>
List of objects that contain details of all the items in the cart.Data type: Array
```
"items": [{
"cart_item_id": "String",
"catalog_item_id": "String",
"delivery_time": "String",
"item_name": "String",
"localized_price": "String",
"localized_recurring_price": "String",
"price": "String",
"quantity": "String",
"recurring_frequency": "String",
"recurring_price": "String",
"variables": {Object}
}]
items.cart\_item\_id
Sys\_id of the item in the cart.Data type: String
items.catalog\_item\_id
Sys\_id of the catalog item in the cart.Data type: String
items.delivery\_time
Amount of time it takes to deliver the item.Data type: String
items.item\_name
Name of the item in the cart.Data type: String
items.localized\_price
Price of the item in local currency.Data type: String
items.localized\_recurring\_price
Recurring price of the item in local currency.Data type: String
items.price
Price of the item.Data type: String
items.quantity
Number of the item in the cart.Data type: String
items.recurring\_frequency
Recurring frequency of the item.Data type: String
items.recurring\_price
Recurring price of the item.Data type: String
items.variables
Name-value pairs associated with the item in the cart.Data type: Object
parent\_id
If available, the sys\_id of the parent record from which the request is created. For more information, see Configure a parent mapping for a request.Data type: String
parent\_table
Name of the parent table \(case sensitive\).Data type: String
request\_number
Request record number.Data type: String
request\_id
Sys\_id of the request.Data type: String
subtotal\_price
Cart subtotal.Data type: String
subtotal\_price
Subtotal of the current frequency block.Data type: String
subtotal\_recurring\_frequency
Recurring frequency subtotal of the cart.Data type: String
subtotal\_recurring\_frequency
Recurring frequency subtotal of the current frequency block.Data type: String
subtotal\_recurring\_price
Recurring price subtotal of the cart.Data type: String
subtotal\_recurring\_price
Recurring price subtotal of the current frequency blockData type: String
total\_title
Title for total field on page.Data type: String
total\_title
Title for total field on the current frequency block.Data type: String
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
item\_sys\_id
Sys\_id of the service catalog item to verify whether the specified user has acquisition rights.Data type: String Table: Service Catalog \[sc\_catalog\]
Name
Description
None
Name
Description
sysparm\_also\_request\_for
Comma separated string of valid user sys\_ids. The endpoint verifies that these users have acquisition rights to the specified service catalog item.Data type: String Table: Users \[sys\_users\]
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
Accept
Data format of the response body. Supported types: application/json or application/xml. Default: application/json
Content-Type
Data format of the request body. Supported types: application/json or application/xml. Default: application/json
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
200
Successful. The request was successfully processed.
400
Request failed. Bad request given for processing. Refer to the message in the return results for additional information on the error.
401
Unauthorized. The user credentials are incorrect or have not been passed.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Response body parameters (JSON or XML)
Name
Description
errCode
Number associated with the error. Only returned if the endpoint fails.Data type: String
errMsg
Description of the error that the endpoint encountered when it failed.
invalidUsers
Names of the users that are not able to request the specified catalog item.Data type: Array
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
sys\_id
Sys\_id of the service catalog item.Data type: String Table: Catalog Item \[sc\_cat\_item\]
Name
Description
None
Name
Description
sysparm\_also\_request\_for
Comma-separated string of user sys_ids of other users for which to order the specified item.- You cannot specify more than 50 additional users to receive the item. - If any person in the list doesn't qualify for the item, the entire request is rejected. - If the associated item does not have the requested_for variable set, the request is rejected. - If the associated item has the requested_for variable set, but the Enable also Request for variable is not configured, or the calling user doesn’t have the proper roles, the request is rejected.
Table: User [sys_user]
sysparm\_quantity
Required. Quantity of the item. Cannot be a negative number.Data type: Number
sysparm\_requested\_for
Sys_id of the user for whom to order the specified item.The settings of the glide.sc.req_for.roles and glide.sc.req_for.roles.default properties determine the level at which a user can request items.
If a value is specified in the glide.sc.req_for.roles property, the system checks if the user has the specified role to request information of other users.
If the glide.sc.req_for.roles property value is empty and the glide.sc.req_for.roles.default property value is deny, no user can request items for other users.
If the glide.sc.req_for.roles property value is empty and the glide.sc.req_for.roles.default property value is allow, any user can request items for other users.
Data type: String
variables
Name-value pairs of all mandatory cart item variables. Mandatory variables are defined on the associated form.Data type: String
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
Accept
Data format of the response body. Supported types: application/json or application/xml. Default: application/json
Content-Type
Data format of the request body. Supported types: application/json or application/xml. Default: application/json
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
200
Successful. The request was successfully processed.
400
Indicates that the quantity value is invalid and the request is not placed.
401
Unauthorized. The user credentials are incorrect or have not been passed.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Response body parameters (JSON or XML)
Name
Description
number
Number of the generated request.Data type: String
parent\_id
If available, the sys\_id of the parent record from which the request is created. For more information, see Configure a parent mapping for a request.Data type: String
parent\_table
If available, the name of the parent table from which the request is created.Data type: String
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
sys\_id
Sys\_id of the table in which to create the record producer.Data type: String
Name
Description
sysparm\_view
UI view for which to render the data. Determines the fields returned in the response.Valid values:
desktop
mobile
both
If you also specify the sysparm_fields parameter, it takes precedent.
Data type: String
Name
Description
variables
Name-value pairs of the variables of the producer record to define.
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
Accept
Data format of the response body. Supported types: application/json or application/xml. Default: application/json
Content-Type
Data format of the request body. Supported types: application/json or application/xml. Default: application/json
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
200
Indicates successful request and returns the response object consisting of Table API and URL to access the created record.
400
Request is not processed due to incorrect request message.
401
Unauthorized. The user credentials are incorrect or have not been passed.
404
Requested resource cannot be found.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Response body parameters (JSON or XML)
Name
Description
number
Number of the ticket associated with the record producer.Data type: String
parent\_id
If available, sys\_id of the parent record from which the request is created. For more information, see Configure a parent mapping for a request.Data type: String
parent\_table
Name of the parent table.Data type: String
record
Table API relative path of the newly created record producer.Data type: String
redirect\_portal\_url
URL to which to redirect the Service Portal.Data type: String
redirect\_to
Redirect value.Data type: String
redirect\_url
Redirect URL to access the created record producer.Data type: String
sys\_id
Sys\_id of the record created.Data type: String
table
Name of the table on which the request was made.Data type: String
cURL request
curl "https://instance.servicenow.com/api/sn_sc/servicecatalog/items/3f1dd0320a0a0b99000a53f7604a2ef9/submit_producer" \
--request POST \
--header "Accept:application/json" \
--header "Content-Type:application/json" \
--data "{'variables':{'urgency':'2','comments':'This is sample incident'}}" \
--user "username":"password"
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
sys\_id
Sys\_id of the variable for which to return the display value.Data type: String
Name
Description
None
Name
Description
sysparm\_value
Sys\_id of the record that contains the display value to return.Data type: String
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
Accept
Data format of the response body. Supported types: application/json or application/xml. Default: application/json
Content-Type
Data format of the request body. Supported types: application/json or application/xml. Default: application/json
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
200
Successful. The request was successfully processed.
401
Unauthorized. The user credentials are incorrect or have not been passed.
404
Not found. The requested item wasn't found.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
cart\_item\_id
Sys\_id of the cart item to update.Data type: String
Name
Description
None
Name
Description
sysparm\_quantity
Required. Quantity of the item to update the cart.Data type: String
variables
Required if there are mandatory variables specified for the item. Object consisting of all mandatory variable names-value pairs.Data type: Object
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
Accept
Data format of the response body. Supported types: application/json or application/xml. Default: application/json
Content-Type
Data format of the request body. Supported types: application/json or application/xml. Default: application/json
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
201
Indicates that the request completed successfully and that the item is added to the cart.
400
Following three errors can occur:- Invalid quantity value:Indicates that either the sysparm\_quantity parameter is not provided or contains invalid value. - Security constraints prevent ordering of Item:Indicates that either the item ID specified in the path parameters is either invalid or the user does not have access to the item. - Mandatory Variables are required:Indicates that one or more of the mandatory variable values is not provided in the request.
401
Unauthorized. The user credentials are incorrect or have not been passed.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Response body parameters (JSON or XML)
Name
Description
cart\_id
Sys\_id of the cart.Data type: String
<recurring\_frequency>
Describes an items in the cart having a specific recurring frequency. Possible values include: - daily - monthly - yearly - none \(no recurring fees\) Data type: Object ``` "": { "frequency_label": "String", "items": [Array], "show_subtotal_price": "String", "subtotal_price": "String", "subtotal_recurring_frequency": "String", "subtotal_recurring_price": "String", "subtotal_title": "String", "total_title": "String" }
</td></tr><tr><td>
<recurring\_frequency>.frequency\_label
</td><td>
Frequency of the associated recurring fee. If there are no recurring fees for the item, this parameter contains "null".Data type: String
</td></tr><tr><td>
<recurring\_frequency>.items
</td><td>
List of objects that describe each item associated with the specified recurring frequency category.Data type: Array
```
"items": [{
"cart_item_id": "String",
"catalog_item_id": "String",
"created.by": "String",
"created_on": "String",
"delivery_time": "String",
"item_id": "String",
"item_name": "String",
"localized_price": "String",
"localized_recurring_price": "String",
"name": "String",
"order_guide": "String",
"picture": "String",
"price": "String",
"quantity": "String",
"recurring_frequency": "String",
"recurring_price": "String",
"recurring_subtotal": Number,
"recurring_subtotal_price": "String",
"short_description": "String",
"show_price": Boolean,
"show_quantity": Boolean,
"show_recurring_price": Boolean,
"subtotal": Number,
"subtotal_price": "String",
"sys_class_name": "String",
"sys_id": "String",
"updated_by": "String",
"updated_on": "String",
"variables": {Object}
}]
<recurring\_frequency>.items.cart\_item\_id
Sys\_id of the item in this cart.Data type: String
<recurring\_frequency>.items.catalog\_item\_id
Catalog sys\_id of the item.Data type: String
<recurring\_frequency>.items.created.by
User that initially placed the item in the cart.Data type: String
<recurring\_frequency>.items.created\_on
Date on which the item was initially placed in the cart.Data type: String
<recurring\_frequency>.items.delivery\_time
Time that the specified item takes to be delivered.Data type: String
<recurring\_frequency>.items.item\_id
Item sys\_id.Data type: String
<recurring\_frequency>.items.item\_name
Name of the specified item.Data type: String
<recurring\_frequency>.items.localized\_price
Price of the item \(in local currency\).Data type: String
Recurring fee for the specified item \(in local currency\).Data type: String
<recurring\_frequency>.items.name
Item name.Data type: String
<recurring\_frequency>.items.order\_guide
Name of the order guide to which this item is associated. If this item is not associated with an order guide this parameter contains an empty string.Data type: String
<recurring\_frequency>.items.picture
File name of the picture of the item.Data type: String
<recurring\_frequency>.items.price
Price of the item.Data type: String
<recurring\_frequency>.items.quantity
Number of the specified item in the cart.Data type: String
<recurring\_frequency>.items.recurring\_frequency
How often the recurring fee is charged for the specified item.Data type: String Default: Null
<recurring\_frequency>.items.recurring\_price
Recurring fee for the specified item.Data type: String
<recurring\_frequency>.items.recurring\_subtotal
Subtotal of the recurring fees for the item (recurring_price x quantity).Data type: Number
Subtotal of the recurring fees for the item.Data type: String
<recurring\_frequency>.items.short\_description
Short description of the item.Data type: String
<recurring\_frequency>.items.show\_price
Flag that indicates whether the price of the item is shown in the cart.Possible values: - true: Show the price of the item in the cart. - false: Do not show the price of the item in the cart. Data type: Boolean
<recurring\_frequency>.items.show.quantity
Flag that indicates whether to show the item quantity in the cart.Possible values: - true: Show the item quantity in the cart. - false: Do not show the item quantity in the cart. Data type: Boolean
Flag that indicates whether the recurring fees should appear in the cart.Possible values: - true: Show the recurring fees in the cart. - false: Do not show the recurring fees in the cart. Data type: Boolean
<recurring\_frequency>.items.subtotal
Subtotal of the number of items.Data type: Number
<recurring\_frequency>.items.subtotal\_price
Subtotal for the item (price x quantity).Data type: String
<recurring\_frequency>.items.sys\_class\_name
System classification name of the item.Data type: String
<recurring\_frequency>.items.sys\_id
Sys\_id of the item.Data type: String
<recurring\_frequency>.items.updated\_by
User that updated the item after it was initially placed in the cart.Data type: String
<recurring\_frequency>.items.updated\_on
Last date/time on which the item was either initially placed in the cart or updated.Data type: String
<recurring\_frequency>.items.variables
Name-value pairs of the item variables.Data type: Object
<recurring\_frequency>.show\_subtotal\_price
Flag that indicates whether to show a subtotal for the associated recurring fee category.Data type: String
<recurring\_frequency>.subtotal\_price
Subtotal of the cost of all items for the associated recurring frequency category.Data type: String
Type of subtotal recurring frequency, such as daily, monthly, etc.Data type: String
<recurring\_frequency>.subtotal\_recurring\_price
Subtotal of the recurring fees of the items within the associated recurring frequency category.Data type: String
<recurring\_frequency>.subtotal\_title
If the show_subtotal_price is set to true, the text to display in the cart for the associated subtitle.Data type: String
<recurring\_frequency>.total\_title
Text to display for the total title for the associated recurring frequency category.Data type: String
show\_subtotal\_price
Flag that indicates whether to show the subtotal price in the cart.Possible values: - true: Show subtotals in the cart. - false: Do not show subtotals in the cart. Data type: String
subtotal\_price
Subtotal of all items in the cart.Data type: String
subtotal\_recurring\_frequency
Type of subtotal recurring frequency, such as daily, monthly, etc. Same as <recurring_frequency>.subtotal_recurring_frequency.Data type: String
subtotal\_recurring\_price
Subtotal of the recurring frequency fees for all items in the cart.Data type: String
subtotal\_title
Text to display in the cart for the subtotal field title.Data type: String
total\_title
Text to display in the cart for the total field title.Data type: String
Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String
sys\_id
Sys\_id of the order guide whose items are to be retrieved.Data type: String Table: Order guide \[sc\_cat\_item\_guide\]
Name
Description
None
Name
Description
variables
Variables requested for an item. Each variable is a JSON object consisting of name-value pairs. Data type: Array
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header
Description
Accept
Data format of the response body. Supported types: application/json or application/xml. Default: application/json
Content-Type
Data format of the request body. Supported types: application/json or application/xml. Default: application/json
Header
Description
None
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Status code
Description
200
Indicates that the request has completed successfully. Returns a list of items based on the passed-in variable list. If the result set does not contain any items, then an empty array is returned.
400
Indicates that the request is invalid. Could be due to one of the following reasons:- User does not have access to the item. - Mandatory variables of one or more items have not been answered. \(Only variables defined as mandatory are honored.\)
401
Unauthorized. The user credentials are incorrect or have not been passed.
500
Internal error while calculating items depending on options chosen.
Response body parameters (JSON or XML)
Name
Description
catalogs
List of objects to which the item belongs and each catalog title and sys\_id of the catalog.Data type: Array of Objects
List of onChange client scripts associated with the item.Data type: Array
client\_script.onLoad
List of onLoad client scripts associated with the item.Data type: Array
client\_script.onSubmit
List of onSubmit client scripts associated with the item.Data type: Array
data\_lookup
Data lookups defined on the catalog item.Data type: Array
description
Full description of catalog item.Data type: String
icon
Path of the image that appears as an icon beside the catalog item.Data type: String
name
Name of the catalog item.Data type: String
short\_description
Text on the service catalog homepage or search results page, or the title on the order form of the catalog item.Data type: String
show\_price
Flag that indicates whether to show the price details. If true, returns the following details. - local\_currency - localized\_price - localized\_recurring\_price - price - price\_currency - recurring\_frequency - recurring\_price - recurring\_price\_currency Data type: Boolean
sys\_id
Sys\_id of the catalog item.Data type: String
type
Item type. Possible values: - catalog item - order guide - record producer item Data type: String
variables
Name-value pairs of all the variables associated with the catalog item.Data type: Array
ui\_policy
List of all catalog UI policies defined on the catalog item.Data type: Array