---
id: object/table/30129
type: object
title: Table 30129 "Shpfy Variant"
summary: Table 30129 "Shpfy Variant" in Shopify (Microsoft.Integration.Shopify). 35 fields. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - shopify
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 35f7a1719c0289148753281a9c26269a39bdb16d5fe8d50d01a99a6b2d4e83fd
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Shopify/app/src/Products/Tables/ShpfyVariant.Table.al
    title: src/Apps/W1/Shopify/app/src/Products/Tables/ShpfyVariant.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/shopify/synchronize-inventory
    - https://learn.microsoft.com/dynamics365/business-central/shopify/synchronize-items
    - https://learn.microsoft.com/dynamics365/business-central/shopify/synchronize-prices
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/online-store-with-shopify
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9253
object_type: table
object_id: 30129
name: Shpfy Variant
caption: Shopify Variant
namespace: Microsoft.Integration.Shopify
app: Shopify
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 35
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 2
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 30129 "Shpfy Variant"

> Table 30129 "Shpfy Variant" in Shopify (Microsoft.Integration.Shopify). 35 fields. Introduced in BC29, still in BC30.

Shopify · Microsoft.Integration.Shopify · captioned "Shopify Variant" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Shopify/app/src/Products/Tables/ShpfyVariant.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 30127 "Shpfy Variants"](../page/30127.md) (3 Learn pages).

## Properties

| Property | Value |
|---|---|
| Caption | Shopify Variant |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Id | BigInteger | Specifies the unique numeric identifier for the product variant. Each product has always one variant. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> |  |
| 2 | Product Id | BigInteger | ProductId <small>caption</small> |  |
| 3 | Created At | DateTime | Specifies the date and time when the product variant was created in Shopify. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> |  |
| 4 | Updated At | DateTime | Specifies the date and time when the product variant was last modified in Shopify. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> |  |
| 5 | Available For Sales | Boolean | Specifies if the variants is available for sales. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> |  |
| 6 | Barcode | Text[50] | Specifies the barcode, UPC, or ISBN number for the product. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> |  |
| 7 | Compare at Price | Decimal | Specifies the original price of the product variant in Shopify before a discount. Shopify displays it alongside the current price to show the price reduction. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> |  |
| 8 | Display Name | Text[250] | — |  |
| 9 | Inventory Policy | Enum "Shpfy Inventory Policy" | Specifies whether customers are allowed to place an order for the product variant when it is out of stock. Valid values are: deny, continue. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> | enum [Enum 30125 "Shpfy Inventory Policy"](../enum/30125.md) |
| 10 | Position | Integer | — |  |
| 11 | Price | Decimal | Specifies the price of a product variant. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> |  |
| 12 | SKU | Text[50] | Specifies the unique identifier for the product variant in the shop. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> |  |
| 13 | Tax Code | Code[20] | Specifies the Avalara tax code for the product variant. This parameter applies only to the stores that have the Avalara AvaTax app installed. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> | obsolete Pending 28.0; #if not CLEANSCHEMA31 |
| 14 | Taxable | Boolean | Specifies whether a tax is charged when the product variant is sold. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> |  |
| 15 | Title | Text[100] | Specifies the title of the product variant. The title field is a concatenation of the option1, option2, and option3 fields. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> |  |
| 16 | Weight | Decimal | Specifies the weight of the product variant. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> |  |
| 17 | Option 1 Name | Text[50] | Specifies the custom properties that a shop owner uses to define product variants. You can define three options for a product variant. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> |  |
| 18 | Option 1 Value | Text[50] | Specifies the value of the first option. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> |  |
| 19 | Option 2 Name | Text[50] | Specifies the custom properties that a shop owner uses to define product variants. You can define three options for a product variant. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> |  |
| 20 | Option 2 Value | Text[50] | Specifies the value of the second option. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> |  |
| 21 | Option 3 Name | Text[50] | Specifies the custom properties that a shop owner uses to define product variants. You can define three options for a product variant. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> |  |
| 22 | Option 3 Value | Text[50] | Specifies the value of the third option. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> |  |
| 23 | Unit Cost | Decimal | Specifies the cost of one unit for the variant. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> |  |
| 24 | Image Id | BigInteger | — |  |
| 100 | Shop Code | Code[20] | — | TableRelation [Table 30102 "Shpfy Shop"](../table/30102.md) (Shpfy Shop) |
| 101 | Item SystemId | Guid | — | DataClassification SystemMetadata |
| 102 | Item Variant SystemId | Guid | — | DataClassification SystemMetadata |
| 103 | Last Updated by BC | DateTime | — | DataClassification SystemMetadata |
| 104 | Item No. | Code[20] | Specifies the item number. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> | FlowField: lookup(Item."No." where(SystemId = field("Item SystemId"))) |
| 105 | Variant Code | Code[10] | Specifies the code of the item variant. <small>via [Page 30127 "Shpfy Variants"](../page/30127.md)</small> | FlowField: lookup("Item Variant".Code where(SystemId = field("Item Variant SystemId"))) |
| 106 | UoM Option Id | Integer | — | DataClassification SystemMetadata |
| 107 | Mapped By Item | Boolean | — | DataClassification SystemMetadata |
| 108 | Image Hash | Integer | — | DataClassification SystemMetadata |
| 109 | Tariff No. | Code[20] | — |  |
| 110 | Country/Region of Origin Code | Code[10] | — |  |

## Keys

- PK: Id (clustered)

## Triggers

OnDelete

## Relations

- Shop Code: TableRelation [Table 30102 "Shpfy Shop"](../table/30102.md)
- Variant Code: CalcFormula [Table 5401 "Item Variant"](../table/5401.md)

## Pages and codeunits on this table

- [Page 30127 "Shpfy Variants"](../page/30127.md) (source table)
- [Codeunit 30171 "Shpfy Create Item"](../codeunit/30171.md) (codeunit runs on it)
- [Codeunit 30188 "Shpfy Update Item"](../codeunit/30188.md) (codeunit runs on it)
- [Codeunit 30456 "Shpfy Variant Image Export"](../codeunit/30456.md) (codeunit runs on it)

## Recent changes

- 2026-07-09 [#9253 [Shopify] Disambiguate Shopify timestamp field captions and tooltips](../../changes/bcapps/9253.md) (main, BC30, fix)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

## Deprecations

- field Tax Code: Pending 28.0 (#if not CLEANSCHEMA31), "Shopify API 2025-10 deprecated taxCode on ProductVariant. This field is no longer available in the API."

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Shpfy Variant")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
