> ## Documentation Index
> Fetch the complete documentation index at: https://docs.contactswing.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Shopify Action

> Create Shopify integration actions for product lookup, order status, and e-commerce automation.

### Authorizations

<ParamField header="Authorization" type="string" required>
  Enter your ContactSwing JWT Bearer token.
</ParamField>

### Request Body

<ParamField body="name" type="string" required>
  Action display name. Example: `My Shopify Action`
</ParamField>

<ParamField body="description" type="string">
  Action purpose. Example: `Test`
</ParamField>

<ParamField body="action_timing" type="string" required>
  When to trigger: `"DURING"`
</ParamField>

<ParamField body="type" type="string" required>
  Action type: `"SHOPIFY"`
</ParamField>

<ParamField body="webhook" type="object" required>
  Shopify webhook configuration

  <ParamField body="type" type="string" required>
    Shopify operation type. Example: `"contactswing_shopify_search"`
  </ParamField>

  <ParamField body="mandatory" type="boolean">
    Require Shopify response before proceeding
  </ParamField>

  <ParamField body="url" type="string">
    Shopify store URL or endpoint
  </ParamField>
</ParamField>

### Response

**201 Created** - Shopify action created successfully

<ResponseField name="ctx_id" type="string">Request context ID</ResponseField>

<ResponseField name="data" type="object">
  <ResponseField name="action_id" type="string">New Shopify action ID</ResponseField>
  <ResponseField name="name" type="string">Action name</ResponseField>
  <ResponseField name="type" type="string">"SHOPIFY"</ResponseField>
</ResponseField>

**400 Bad Request** - Invalid Shopify webhook configuration

**401 Unauthorized** - Invalid token
