Drop Cache
post
/rest/v7/commerceDocuments{ProcessVarName}{MainDocVarName}/{_id}/actions/_dropCache
This operation elimates the cache created through rest services. Drop Cache can improve site performance by removing cached objects that would otherwise remain in memory for the duration of the timeout specified in administration.
Request
Path Parameters
-
MainDocVarName: string
The variable name of the main document, the first letter must be capitalized
-
ProcessVarName: string
The variable name of the Commerce process, the first letter must be capitalized
-
_id: integer
Current unique user-side ID. This is the internal identifier for a transaction within a CPQ site.
Root Schema : Drop Cache Request
Type:
object
Title:
Show Source
Drop Cache Request
-
cacheInstanceId(optional):
string
Title:
Cache Instance Id
The unique identifier for the entry of transaction data stored in the cache. This typically is obtained from first createTransaction or OpenTransaction action and passed along in subsequent Modify/Interact action to avoid reload transaction data from db.
Response
Default Response
Root Schema : commerceTransaction-_dropCacheResponse
Type:
Show Source
object
-
cacheInstanceId(optional):
string
Title:
Cache Instance Id
The unique identifier for the entry of transaction data stored in the cache. This typically is obtained from first createTransaction or OpenTransaction action and passed along in subsequent Modify/Interact action to avoid reload transaction data from db.