世界の実業家をサポート

コマース の 世界を変えている1,000,000の企業のために開発してください。

驚くほどの成長ストーリーの一部になる

当社の開発者プラットフォームは、顧客ベースと同じくらいの速さで成長しています。

収益見込み

$27.2万

当社のアプリ開発者上位25%の平均的な1年ごとの収益

2013年から2017年までShopifyプラットフォームで開発者に支払われた総額を示すグラフ。各年の数字は、2013年の170万ドルから2017年の4720万ドルまで急速に増加しています。2018年4月現在、総額1億ドルが開発者に支払われました。

アプリ開発者への支払い

$2.8億 開発者への累積支払い

2019年1月

強力なAPIとツールを使用する

Shopifyのガイド、チュートリアル、徹底したドキュメントは、あらゆる段階で役立ちます。

Admin API

管理画面用のアプリを開発する。

カスタムストアフロント

ウェブ、スマホ、ゲーム内でユニークなショッピング体験を開発。

埋め込み式アプリ

拡張機能とライブラリでさらにシームレスなエクスペリエンスを実現。

Admin APIを使用して数分以内に開始する

50以上のエンドポイントを使用して、必要とするものを自由に開発できます。以下の例を参照してください。

目次 - APIコードサンプル

APIコード言語ナビゲーション

require 'shopify_api'

# Replace the following with your shop URL
shop_url = "https://#{API_KEY}:#{PASSWORD}@#{SHOP_NAME}.myshopify.com/admin"
ShopifyAPI::Base.site = shop_url

shop = ShopifyAPI::Shop.current

# Create a new product
new_product = ShopifyAPI::Product.new
new_product.title = "Burton Custom Freestyle 151"
new_product.product_type = "Snowboard"
new_product.vendor = "Burton"
new_product.save

# Update a product
new_product.title = "Burton Custom Freestyle 151 - Ruby Edition"
new_product.save
const Shopify = require('shopify-api-node')

// Replace the following with your shop credentials
const shopify = new Shopify({
  shopName: 'your-shop-name',
  apiKey: 'your-api-key',
  password: 'your-password'
})

// Create a new product
function create_a_product() {
  return shopify.product.create(
    {
      "title": "Burton Custom Freestlye 151",
      "product_type": "Snowboard",
      "vendor": "Burton"
    }
  )
}

// Update a product
function update_product_after_creation(product_id) {
  params = {
    "title": "Burton Custom Freestyle 151 - Node Edition"
  }
  return shopify.product.update(product_id, params)
}

create_a_product().then(
  response => update_product_after_creation(response.id)
).then(
  response => create_an_order(response.variants[0].id),
  err => console.error(err)
)
import shopify

# Replace the following with your shop URL
shop_url = "https://{API_KEY}:{PASSWORD}@{SHOP_NAME}.myshopify.com/admin"
shopify.ShopifyResource.set_site(shop_url)

# Create a new product
new_product = shopify.Product()
new_product.title = "Burton Custom Freestyle 151"
new_product.product_type = "Snowboard"
new_product.vendor = "Burton"
new_product.save()

# Update a product
new_product.title = "Burton Custom Freestyle 151 - Python Edition"
new_product.save()
# Create a new product
mutation {
  productCreate(
    input: {
      title: "Burton Custom Freestyle 151",
      productType: "Snowboard",
      vendor: "Burton"
    }
  ) {
    product {
      id
    }
    shop {
      id
    }
  }
}

# Update a product
mutation {
  productUpdate(
    input: {
      id: "gid://shopify/Product/629116370966",
      title: "Burton Custom Freestyle 151 - GraphQL Edition"
    }
  ) {
    product {
      id
    }
  }
}

APIコード言語ナビゲーション

require 'shopify_api'

# Replace the following with your shop URL
shop_url = "https://#{API_KEY}:#{PASSWORD}@#{SHOP_NAME}.myshopify.com/admin"
ShopifyAPI::Base.site = shop_url

shop = ShopifyAPI::Shop.current

# Create a new product
new_product = ShopifyAPI::Product.new
new_product.title = "Burton Custom Freestyle 151"
new_product.product_type = "Snowboard"
new_product.save

# Create a new order
new_order = ShopifyAPI::Order.new
new_order.line_items = [
  ShopifyAPI::LineItem.new(
    :quantity => 1,
    :variant_id => new_product.variants.first.id
  )
]
new_order.save
const Shopify = require('shopify-api-node')

// Replace the following with your shop credentials
const shopify = new Shopify({
  shopName: 'your-shop-name',
  apiKey: 'your-api-key',
  password: 'your-password'
})

// Create a new product
function create_a_product() {
  return shopify.product.create(
    {
      "title": "Burton Custom Freestlye 151",
      "product_type": "Snowboard",
    }
  )
}

// Create a new order
function create_an_order(variant_id) {
  return shopify.order.create(
    {
      "line_items": [
        {
          "quantity": 1,
          "variant_id": variant_id
        }
      ]
    }
  )
}

create_a_product().then(
  response => update_product_after_creation(response.id)
).then(
  response => create_an_order(response.variants[0].id),
  err => console.error(err)
)
import shopify

# Replace the following with your shop URL
shop_url = "https://{API_KEY}:{PASSWORD}@{SHOP_NAME}.myshopify.com/admin"
shopify.ShopifyResource.set_site(shop_url)

# Create a new product
new_product = shopify.Product()
new_product.title = "Burton Custom Freestyle 151"
new_product.product_type = "Snowboard"
new_product.save()

# Create a new order
new_order = shopify.Order()
new_order.line_items = [{
        "quantity": 1,
        "variant_id": new_product.variants[0].id
    }]
new_order.save()
# Create a new order
mutation {
  draftOrderCreate(
    input: {
      lineItems: {
        variantId: "gid://shopify/ProductVariant/40534704150",
        quantity: 1
      }
    }
  ) {
    draftOrder {
      id
    }
  }
}

APIコード言語ナビゲーション

require 'shopify_api'

# Replace the following with your shop URL
shop_url = "https://#{API_KEY}:#{PASSWORD}@#{SHOP_NAME}.myshopify.com/admin"
ShopifyAPI::Base.site = shop_url

shop = ShopifyAPI::Shop.current

# Create new customer
new_customer = ShopifyAPI::Customer.new
new_customer.email = "sample.coder.ruby@shopify.com"
new_customer.first_name = "Sample"
new_customer.last_name = "Coder"
new_customer.save

# Update customer details
new_customer.first_name = "Supersample Ruby"
new_customer.save
const Shopify = require('shopify-api-node')

// Replace the following with your shop credentials
const shopify = new Shopify({
  shopName: 'your-shop-name',
  apiKey: 'your-api-key',
  password: 'your-password'
})

// Create a new customer
function create_a_customer() {
  return shopify.customer.create(
    {
      "email": "sample.coder.node@shopify.com",
      "first_name": "Sample",
      "last_name": "Coder"
    }
  );
}

// Update a customer
function update_customer_after_creation(customer_id) {
  params = {
    "first_name": "Supersample Node"
  }
  return shopify.customer.update(customer_id, params)
}

create_a_customer().then(
  response => update_customer_after_creation(response.id),
  err => console.error(err)
)
import shopify

# Replace the following with your shop URL
shop_url = "https://{API_KEY}:{PASSWORD}@{SHOP_NAME}.myshopify.com/admin"
shopify.ShopifyResource.set_site(shop_url)

# Create new customer
new_customer = shopify.Customer()
new_customer.email = "sample.coder.python@shopify.com"
new_customer.first_name = "Sample"
new_customer.last_name = "Coder"
new_customer.save()

# Update customer details
new_customer.first_name = "Supersample Python"
new_customer.save()
# Create a new customer
mutation {
  customerCreate(
    input: {
      email: "sample.coder.graphql@shopify.com",
      firstName: "Sample",
      lastName: "Coder"
    }
  ) {
    userErrors {
      field
      message
    }
    customer {
      id
    }
  }
}

# Update customer details
mutation {
  customerUpdate(
    input: {
      id: "gid://shopify/Customer/491279155222",
      firstName: "Supersample GraphQL"
    }
  ) {
    userErrors {
      field
      message
    }
    customer {
      id
    }
  }
}

当社のAPIとツールについて詳しくはこちら

ドキュメントを参照する