Skip to content

Commit 9fd9cd3

Browse files
authored
Merge pull request #1 from utip/order-sync-products
Adding syncVariantId property to OrderItemCreationParameters class
2 parents b223d51 + d3dcf64 commit 9fd9cd3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Structures/Order/OrderItemCreationParameters.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ class OrderItemCreationParameters
1616
*/
1717
public $variantId;
1818

19+
/**
20+
* @var int - Sync Variant ID of the item ordered
21+
*/
22+
public $syncVariantId;
23+
1924
/**
2025
* @var int
2126
*/
@@ -105,6 +110,7 @@ public function toArray()
105110
return [
106111
'external_id' => $this->externalId,
107112
'variant_id' => $this->variantId,
113+
'sync_variant_id' => $this->syncVariantId,
108114
'quantity' => $this->quantity,
109115
'retail_price' => $this->retailPrice,
110116
'name' => $this->name,

0 commit comments

Comments
 (0)