---
title: "Client Credentials Connect"
method: POST
path: "/api/shopify/client-credentials-connect"
tags: ["Shopify OAuth"]
---

# Client Credentials Connect

`POST /api/shopify/client-credentials-connect`

## Request

- Base URL: `https://api.soeru.biz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.soeru.biz/api/shopify/client-credentials-connect`
- Auth: none declared. Required headers: `authorization`

Connect a Shopify store using Client Credentials Grant.

This is for apps created in the Shopify Dev Dashboard (new flow from 2025+).
Instead of a static access token, we exchange Client ID + Client Secret
for a temporary access token via Shopify's OAuth endpoint.

## Headers

- `x-shop-id` string, nullable: Optional shop ID
- `authorization` string, required: Bearer <token>

## Request body

- ClientCredentialsConnectRequest: Request to connect using Client ID + Client Secret (Dev Dashboard flow).
  - `store_domain` string, required
  - `client_id` string, required
  - `client_secret` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/soeru/apis/soeru-api.md) · [All operations](https://skmtc.dev/soeru/apis/soeru-api/llms.txt) · [OpenAPI document](https://skmtc.dev/soeru/apis/soeru-api/revisions/63f8d371abed?raw)
