Elastic Path Commerce Development

Query Parameters

Query Parameters

Cortex supports setting these custom query parameters:

Parameter Usage
Zoom Retrieves linked data.
FollowLocation Retrieves a resource referenced in the location header. Supports the following formats: FollowLocation and FollowLocation=true. Setting any other arbitrary value will be interpreted as FollowLocation=True.
format Provides the following options:
  • format=standardlinks — Returns standard and slimmer links without uri and rev. Use this query parameter to get smaller zoom responses.
  • format=zoom.noself — Omits self in zoomed resources.
  • format=zoom.nodatalinks— Omits data links in a zoomed resource. Use this query parameter to return only the entity and the action links in zoomed resources. Action link is a link that accepts POST requests, such as, addtodefaultcartaction.
You can also use format=standardlinks,zoom.noself,zoom.nodatalinks to combine the options.