---
title: "Create a Shopify shop"
method: POST
path: "/v1/dpp/shopify/shops"
tags: ["Integrations"]
---

# Create a Shopify shop

`POST /v1/dpp/shopify/shops`

## Request

- Base URL: `https://api.prod.keyban.io`
- URL: `https://api.prod.keyban.io/v1/dpp/shopify/shops`
- Auth: `X-Api-Key` (a scheme the document does not define)

Register a Shopify shop for an application. The domain must be unique across all applications.

## Request body

- CreateShopifyShopDto
  - `domain` string, required: Canonical Shopify domain of the shop (e.g. your-shop.myshopify.com), not a custom storefront domain
  - `network` 'EthereumAnvil' | 'BaseSepolia' | 'BaseMainnet' | 'XdcApothem' | 'XdcMainnet' | 'StellarQuickstart' | 'StellarTestnet' | 'StellarMainnet', required: Network of the Shopify shop
  - `appId` string, uuid, required: Application to link the shop to

## Response `201`

- ShopifyShopDto
  - `id` string, uuid, required: Entity UUID
  - `createdAt` string, date-time, required: Creation date (ISO 8601)
  - `updatedAt` string, date-time, required: Last update date (ISO 8601)
  - `application` string, uuid, required: UUID reference to the Keyban application linked to this shopify shop
  - `network` 'EthereumAnvil' | 'BaseSepolia' | 'BaseMainnet' | 'XdcApothem' | 'XdcMainnet' | 'StellarQuickstart' | 'StellarTestnet' | 'StellarMainnet', required
  - `name` string, required: Display name of the shopify shop
  - `domain` string, required: Display domain of the shopify shop
  - `hasSession` boolean, required

## Other responses

- `400`: Invalid Shopify shop domain
- `409`: Shop domain is already linked to another application

---

[API](https://skmtc.dev/keyban/apis/keyban-rest-apis.md) · [All operations](https://skmtc.dev/keyban/apis/keyban-rest-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/keyban/apis/keyban-rest-apis/revisions/0bb79a1da961?raw)
