Skip to main content

CustomerProductVariantImage

顧客向け商品バリエーションの画像

type CustomerProductVariantImage {
id: String!
width: Int!
height: Int!
originalSrc: String!
transformedSrc: String!
}

Fields

CustomerProductVariantImage.id ● String! non-null scalar

画像ID

  • 説明: 画像の globally-unique ID
  • 例: "gid://shopify/ProductImage/123456789"

CustomerProductVariantImage.width ● Int! non-null scalar

画像の幅

  • 例: 100

CustomerProductVariantImage.height ● Int! non-null scalar

画像の高さ

  • 例: 100

CustomerProductVariantImage.originalSrc ● String! non-null scalar

画像の元のURL

  • 例: https://www.example.com

CustomerProductVariantImage.transformedSrc ● String! non-null scalar

画像の変換後のURL

  • 例: https://www.example.com

Example

{
"id": "gid://shopify/ProductImage/123456789",
"width": 100,
"height": 100,
"originalSrc": "https://www.example.com",
"transformedSrc": "https://www.example.com"
}

Member Of

CustomerProduct object ● CustomerProductVariant object