Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Commit 526c4c3

Browse files
author
Jens Schulze
committed
fix(Product): correct type of sku in product variant
Closes #292
1 parent 18bfc72 commit 526c4c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/Product/ProductVariant.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function fieldDefinitions()
4747
{
4848
return [
4949
'id' => [static::TYPE => 'int'],
50-
'sku' => [static::TYPE => 'int'],
50+
'sku' => [static::TYPE => 'string'],
5151
'prices' => [static::TYPE => '\Commercetools\Core\Model\Common\PriceCollection'],
5252
'price' => [static::TYPE => '\Commercetools\Core\Model\Common\Price'],
5353
'attributes' => [static::TYPE => '\Commercetools\Core\Model\Common\AttributeCollection'],

0 commit comments

Comments
 (0)