younifyd
Menu

Update Speed Settings

Update the speed settings for a zone.

PATCH/organizations/{organizationId}/zones/{zoneId}/speed-settings

Use it in a workflow

  1. Add a step and choose the Salesforce Commerce Cloud connector.
  2. Pick the Update Speed Settings action (under Zones (Data API)).
  3. Fill in the fields below, then reference the result from later steps as {{updateSpeedSettings.response.data}}.

Request

Path parameters

zoneIdstringrequired
organizationIdstringrequired

An identifier for the organization the request is being made by

Request body

Enter the body as JSON in the step's Body field.

brotliCompressionstring

Brotli compression setting of a zone.

One ofonoffDefault "off"

http2Prioritizationstring

Http2 prioritization setting for a zone.

One ofonoffDefault "off"

webpstring

Support for the WebP image format when using image modification for a zone. The WebP image format can be used with supported clients for added performance benefits. Setting this property to `on` will return an error when the `polish` property is set to `off`.

One ofonoffDefault "off"

polishstring

The level of polish (image quality) used for image modification. The value `lossless` corresponds to **Polish Level Basic** in the UI, and the value `lossy` corresponds to **Polish Level Basic+JPEG.** To disable image modification, set this property to `off`. Setting this property to `off` will prevent you from setting the `webp` property to `on`.

One ofofflosslesslossyDefault "off"

earlyHintsstring

Early Hints for a zone.

One ofonoffDefault "off"

http3string

Http3 for a zone.

One ofonoffDefault "off"

http2ToOriginstring

Http2 to Origin for a zone.

One ofonoffDefault "off"

json
{
  "brotliCompression": "off",
  "http2Prioritization": "off",
  "webp": "off",
  "polish": "off",
  "earlyHints": "off",
  "http3": "off",
  "http2ToOrigin": "off"
}

Response

Returns 200 with an object. Read it in later steps with {{updateSpeedSettings.response.data.<field>}}.

dataobject
brotliCompressionstring

Brotli compression setting of a zone.

One ofonoffDefault "off"

http2Prioritizationstring

Http2 prioritization setting for a zone.

One ofonoffDefault "off"

webpstring

Support for the WebP image format when using image modification for a zone. The WebP image format can be used with supported clients for added performance benefits. Setting this property to `on` will return an error when the `polish` property is set to `off`.

One ofonoffDefault "off"

polishstring

The level of polish (image quality) used for image modification. The value `lossless` corresponds to **Polish Level Basic** in the UI, and the value `lossy` corresponds to **Polish Level Basic+JPEG.** To disable image modification, set this property to `off`. Setting this property to `off` will prevent you from setting the `webp` property to `on`.

One ofofflosslesslossyDefault "off"

earlyHintsstring

Early Hints for a zone.

One ofonoffDefault "off"

http3string

Http3 for a zone.

One ofonoffDefault "off"

http2ToOriginstring

Http2 to Origin for a zone.

One ofonoffDefault "off"

json
{
  "data": {
    "brotliCompression": "off"
  }
}

Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.

Update Speed Settings — Salesforce Commerce Cloud — Documentation