younifyd
Menu

Create Script

Create a Script

POST/content/scripts

Use it in a workflow

  1. Add a step and choose the BigCommerce Content connector.
  2. Pick the Create Script action (under Scripts).
  3. Fill in the fields below, then reference the result from later steps as {{createScript.response.data}}.

Request

Headers

Acceptstringrequired

The [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the response body.

Default "application/json"

Content-Typestringrequired

The [MIME type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) of the request body.

Default "application/json"

Response

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

dataany
metaobject

Response metadata.

json
{
  "data": null,
  "meta": {}
}

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

Was this page helpful?