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
  • The variable name of the main document, the first letter must be capitalized
  • The variable name of the Commerce process, the first letter must be capitalized
  • Current unique user-side ID. This is the internal identifier for a transaction within a CPQ site.
Body ()
Root Schema : Drop Cache Request
Type: object
Title: Drop Cache Request
Show Source
  • 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.
Back to Top

Response

Default Response

Body ()
Root Schema : commerceTransaction-_dropCacheResponse
Type: object
Show Source
  • 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.
Back to Top