younifyd
Menu

Patch Content Items

Update Multiple Content Items

PATCH/content-items

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the Patch Content Items action (under Content Items).
  3. Fill in the fields below, then reference the result from later steps as {{patchContentItems.response.data}}.

Fields

baseUrlstring

The API host this action calls. Override to point at a different environment.

Default "https://api.amplience.net/v2/content"

bodystring

The request body content (for POST, PUT, PATCH requests).

forwardAllHeadersboolean

If enabled, all headers from the incoming request will be forwarded. Additional headers below will override forwarded ones.

Default false

headerskeyvalue

Extra HTTP headers to include, beyond what this action already declares. These override forwarded or declared headers with the same name.

queryParamskeyvalue

Extra URL query parameters to include, beyond what this action already declares. These override declared query parameters with the same name.

Response

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

resultsarray<object>
idstring

ID

statusnumber

HTTP Status Code

codestring

Status

levelstring

Level

One ofINFOWARNINGERRORFATAL

messagestring

Message

json
{
  "results": [
    {
      "id": "00112233-4455-6677-8899-aabbccddeeff",
      "status": 200,
      "code": "SUCCESS",
      "level": "INFO",
      "message": null
    }
  ]
}

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