Skip to content

Commit f1e71a7

Browse files
Merge pull request #272 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents b1f34c9 + 0ead0be commit f1e71a7

File tree

5 files changed

+13
-4
lines changed

5 files changed

+13
-4
lines changed

lib/commercetools-import/docs/RequestBuilder.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,9 @@ $request = $builder
278278
```
279279
## `withProjectKeyValue("projectKey")->productVariantPatches()->importContainers()->withImportContainerKeyValue("importContainerKey")->post(null)`
280280

281-
Creates a new import request for product variant patches
281+
Creates a new import request for Product Variant Patches.
282+
Returns an [InvalidField](/error#invalidfielderror) error if the [ProductVariantPatchRequest](ctp:import:type:ProductVariantPatchRequest) contains patches with and without the `product` field set.
283+
282284

283285
### Example
284286
```php

lib/commercetools-import/src/Models/Productvariants/ProductVariantPatch.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ public function getAttributes();
5252
public function getStaged();
5353

5454
/**
55-
* <p>Reference to the <a href="/../api/projects/products#product">Product</a> which contains the ProductVariant. Setting a value will batch process the import operations to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the <a href="ctp:import:type:ProductVariantPatchRequest">ProductVariantPatchRequest</a>.</p>
55+
* <p>Reference to the <a href="/../api/projects/products#product">Product</a> that contains the ProductVariant.</p>
56+
* <p>We recommend to set this value to minimize concurrency errors.
57+
* If set, this field is required for every ProductVariantPatch in the <a href="ctp:import:type:ProductVariantPatchRequest">ProductVariantPatchRequest</a>.</p>
5658
*
5759
5860
* @return null|ProductKeyReference

lib/commercetools-import/src/Models/Productvariants/ProductVariantPatchBuilder.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ public function getStaged()
8989
}
9090

9191
/**
92-
* <p>Reference to the <a href="/../api/projects/products#product">Product</a> which contains the ProductVariant. Setting a value will batch process the import operations to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the <a href="ctp:import:type:ProductVariantPatchRequest">ProductVariantPatchRequest</a>.</p>
92+
* <p>Reference to the <a href="/../api/projects/products#product">Product</a> that contains the ProductVariant.</p>
93+
* <p>We recommend to set this value to minimize concurrency errors.
94+
* If set, this field is required for every ProductVariantPatch in the <a href="ctp:import:type:ProductVariantPatchRequest">ProductVariantPatchRequest</a>.</p>
9395
*
9496
9597
* @return null|ProductKeyReference

lib/commercetools-import/src/Models/Productvariants/ProductVariantPatchModel.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,9 @@ public function getStaged()
133133
}
134134

135135
/**
136-
* <p>Reference to the <a href="/../api/projects/products#product">Product</a> which contains the ProductVariant. Setting a value will batch process the import operations to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the <a href="ctp:import:type:ProductVariantPatchRequest">ProductVariantPatchRequest</a>.</p>
136+
* <p>Reference to the <a href="/../api/projects/products#product">Product</a> that contains the ProductVariant.</p>
137+
* <p>We recommend to set this value to minimize concurrency errors.
138+
* If set, this field is required for every ProductVariantPatch in the <a href="ctp:import:type:ProductVariantPatchRequest">ProductVariantPatchRequest</a>.</p>
137139
*
138140
*
139141
* @return null|ProductKeyReference

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,3 +327,4 @@ f254d17f05343dcc4299fc53ff9b335b5ef63d69
327327
6892be230f1ad73f1150dd544c9fa7fee0e6b123
328328
971c1b4ce06c29fcb8c2402dc2ca523b2907352c
329329
b747e1fa4f246b748a89bccbfd8a43f5b6f51175
330+
505b3af56b4452b22dfb595f93e010b3e2fccc53

0 commit comments

Comments
 (0)